-
Notifications
You must be signed in to change notification settings - Fork 1
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
Consider using Bencher::bench_refs
#1
Comments
… benchmark accuracy As mentioned in #1, this change removes time spent deallocating inputs from the benchmark measurements. This should lead to more accurate time and memory statistics.
Good point! I've updated the benchmark code and results. Also, thanks for your work on Divan—it's a great library and I look forward to using it in future projects. |
Thanks for the kind words! Also, you don't need to |
Divan is a great library! Thank you for giving me the pre-release demo at RustConf! Two questions for you: What is the diffence between Is there a way to get the output in a format that would make it simply to plot results with matplotlib? |
|
@nvzqz Thank you for the prompt reply! Does it matter whether I use |
They behave the same in single-threaded benchmarks. I would stick to |
Thanks for the cool benchmark! Glad to see how folks are using Divan.
I think it might be an improvement to use
Bencher::bench_refs
instead ofBencher::bench_values
because it would:The text was updated successfully, but these errors were encountered: