Closed nnmm closed 4 years ago
ptal @feuerste
... and of course formatting needs to be fixed first :)
True, it's heavy, but at least it's a dev-dependency. So if you do cargo build
in any of the crates including point_cloud_test
, it won't get built, only when doing cargo test/bench
in that crate (or all crates via --workspace
). Do you agree it's worth it?
It's fine with me.
With bencher, it was hard to get meaningful results:
Criterion can be used like bencher (
cargo bench
) but has much nicer reporting. Sample output:As you can see, if you've run it before, it will compare the durations. It also does warmup runs, which helps decrease variance from disk caches.