-
-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Benchmark improvements #1178
Benchmark improvements #1178
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I wonder if we can have some sort of bot to automatically copy benchmark results to the PR.
Also, now that HLS is the user facing tool, I think we should look into benchmarking that too, and seeing the impact of all the plugins on performance.
Kind of alarming to see that "completions after edit" and "documentSymbols after edit" allocate 10x more than everything else. There is something funky going on with the measurements for document symbols on GHC 8.8:
|
Hmm, similar weirdness with allocations going on for document symbols across all GHC versions. Any idea what this is? |
It's the first experiment to run, and it finds a cold cache |
I have it in my backlog to benchmark HLS instead of (or in addition to) ghcide. It shouldn't be too hard. |
Ah, can we warm the cache up before running any experiments? |
Or better yet, run all the experiments with warm and cold cache? |
That would be too expensive though. Why do we care about the cold cache scenario? |
It would definitely make sense to warm the cache before running the benchmarks |
Couple of changes:
shake-bench
package