bitshifter / mathbench-rs

Comparing performance of Rust math libraries for common 3D game and graphics tasks
Other
197 stars 16 forks source link

Update benchmarks to use new Criterion 0.3.0 BenchmarkGroup #14

Closed bitshifter closed 4 years ago

bitshifter commented 4 years ago

Criterion 0.3.0 has silently deprecated Benchmark which mathbench was using and replaced it with BenchmarkGroup. This will require updating all the benchmarks. It should be a good change though, can now add throughput for benchmarks and it might make it easier to wrap benchmarks in #[cfg] blocks.

bitshifter commented 4 years ago

Fixed