-
Notifications
You must be signed in to change notification settings - Fork 99
Some benchmarks are very noisy #332
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
Comments
I started having a go at #17 and got distracted by this. I don't have conclusive evidence but I suspect that a lot of this noise is due to stalled backend cycles in the CPU. This is observable with Here I run the benchmarks just for lookups
So I wonder if some The same signal exists for
|
@sjakobi yes, for accessibility purposes, please use text rather than images of text. Images should only be used if they add substantial value (e.g., diagrams or graphs). |
@treeowl Alright. I've updated the issue description. Luckily, |
Thanks! |
I have updated the issue description again to include benchmark results from |
@doyougnu That's a very interesting lead! An array-related underlying problem would explain why the benchmarks for It would be great if you could take a stab at fixing this! I've got to admit that this is the first time I hear of |
For reference:
EDIT: I've requested better haddocks for these operations in https://gitlab.haskell.org/ghc/ghc/-/issues/20856. |
@sjakobi I've got an MR up for |
Here's a sequence of benchmark runs on the same code (bd165b0) using
tasty-bench
's--fail-faster
and--fail-slower
flags to highlight differing results:Benchmarks for
containers
andhashmap
were included by uncommenting this line:unordered-containers/unordered-containers.cabal
Line 217 in bd165b0
I did try to make my machine pretty quiet for these runs. I don't know why these benchmarks are still so very noisy, but I note that most of these are on the slower end of our benchmark suite.
It also seems noteworthy that hardly any of the
containers
andhashmap
benchmarks are included, apparently more than would be explained by their smaller share of the suite.Maybe implementing #293 would help?!
The text was updated successfully, but these errors were encountered: