-
-
Notifications
You must be signed in to change notification settings - Fork 412
Description
There have been previous issues about hover performance in big projects but so far no substantial progress has been made.
I tried again today on ghc/Main.hs with the wip/multi-rebased branch which is based on haskell/ghcide#457 and things seemed very bad still.
- With
optThreads = 1- Hover time was 2.2s - With
optThreads = 0- Hover time was 6.5s
I tried on the command line and in the editor and could reproduce similar numbers in both, so it's not entirely to do with the FileExists logic which previously closed haskell/ghcide#101.
Here is the profile of performing a single hover request.
https://gist.github.com/mpickering/c12db7d1b9c0724024259f8411189ca6
Load the JSON into speedscope.app in order to view it.
I can't believe that I am the only person who observes this or wants this fixed! But it seems like I am so far the only person to complain about it.
Also see haskell/ghcide#101 and haskell/ghcide#485