v4.0.0
New major release! Direct download: nanobench.h
- API has been revised to be simpler and more intuitive. This is unfortunately not downward compatible, but the changes should be easy to fix. Most importantly, use now
ankerl::nanobench::Bench
instead ofankerl::nanobench::Config
. - Clock is now always the fastest available steady clock.
- Lots, and lots of documentation updates! See https://nanobench.ankerl.com. The documentation is now generated with the examples in the code, thus it will stay up to date much easier.
- Faster Rng
- Faster compile time, thanks to analysis with ClangBuildAnalyzer
- Improved mustache templates for JSON, CSV, and HTML templates
- Lots new templating features, with ability to calculate stuff
- Ability to specify exactly the number of iterations you want
- Lots of small & larger bugfixes