You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I probably won't get around to adding this right away, but I agree that these are useful metrics to have, and this is a use case I'd like to support eventually. I think it would take some internal refactoring work before something like this could be easily added, though.
It would be nice to get the X-axis of the graphs for multiple-data benchmarks separated by value, rather than equally spaced, too 😀.
I've learnt that you can do a special case of this with the built-in bencher by setting b.bytes in the #[bench]...
There are a lot of algorithms for which seconds/iteration can be easily transformed into a more useful metric.
For example, I'm writing a delta-compressor, and so MB/sec would be a more graspable metric.
API-wise, it seems that this could be done by adding a mapping function to the Criterion pipeline. Something like:
The text was updated successfully, but these errors were encountered: