Nanobench Versions Save

Simple, fast, accurate single-header microbenchmarking functionality for C++11/14/17/20

v4.3.1

3 years ago

Direct download: nanobench.h

  • Minor cmake improvements when integrationg as a third-party library: add alias nanobench::nanobench, default to C++17

What's Changed

New Contributors

Full Changelog: https://github.com/martinus/nanobench/compare/v4.3.0...v4.3.1

v4.3.0

3 years ago

Direct download: nanobench.h

  • ankerl::nanobench::Rng can now return the state with std::vector<uint64_t> Rng::state(), and this can also be used to initialize the Rng.

v4.2.0

3 years ago

Direct download: nanobench.h

As of now, there is no open issue!

v4.1.0

3 years ago

Direct download: nanobench.h

v4.0.2

3 years ago

Direct download: nanobench.h

  • Changed doNotOptimizeAway to what google benchmark is doing. The old code did not work on some machines.
  • fix #37: display correct "total" value
  • minor Documentation updates

v4.0.0

3 years ago

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 of ankerl::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

v3.1.0

4 years ago
  • Added asymptotic complexity calculation feature
  • fixed division by zero
  • improved doNotOptimizeAway handling
  • better overhead estimation for more accurate instructions/op
  • fixed when to show headers when Config isn't reused

v3.0.0

4 years ago
  • Lots of stabilizing of performance counters
  • Improved markdown output
  • better default configuration for epochs, runtime
  • Better warnings & recommendations
  • CSV fixes

v3.0.0-alpha

4 years ago

This is an alpha release with Linux' Performance Counters support.

v2.0.0

4 years ago

Where do I begin? Practically everything has changed

  • Now with mustache template support
  • better output
  • g++4.8 support
  • Compiles without warning for very strict compile settings