-
Notifications
You must be signed in to change notification settings - Fork 43
[nexus] Refactor test-utilities to helper crate, add test benchmarks #492
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
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.
Neat. Is there an easy way to get on-CPU time vs. blocked time? I wonder how much of this latency is hidden by the parallelism.
Oh, one question before you land this: should we not add this crate to the workspace? |
Output from my test machine (lots of noise trimmed out):
This is quite a bit faster than you saw. This is ivanova, which is a Matisse with 16 threads and 64 GiB of DRAM. |
Certainly would be possible to add profiling, but that doesn't seem to exist out-of-the-box with criterion. They do provide hooks if we have a profiler we wanna use.
Sure, added. I don't really have a clear idea when this is necessary at the top-level, vs just being an implicit dependency -- regardless of status in the top-level workspace file, this crate gets built when
I'm running on a Linux laptop with 16 threads, but 32 GB DRAM. TBH, I don't think absolute performance matters as much as relative performance. But you bring up a good point regarding parallelism. |
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.
whatever enables #493 is good
Results are visible by running:
This implies: