Skip to content

Releases: martinus/nanobench

v4.3.1

22 Feb 14:05
Compare
Choose a tag to compare

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

  • Fix build with Visual Studio 16.8.2 by @pr8x in #48

New Contributors

  • @pr8x made their first contribution in #48

Full Changelog: v4.3.0...v4.3.1

v4.3.0

28 Sep 13:25
Compare
Choose a tag to compare

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

26 Aug 16:24
Compare
Choose a tag to compare

Direct download: nanobench.h

As of now, there is no open issue!

v4.1.0

15 Aug 10:25
Compare
Choose a tag to compare

Direct download: nanobench.h

v4.0.2

01 Aug 17:00
Compare
Choose a tag to compare

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

13 Jun 10:44
Compare
Choose a tag to compare

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

20 Nov 14:57
Compare
Choose a tag to compare
  • 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

11 Nov 18:41
Compare
Choose a tag to compare
  • Lots of stabilizing of performance counters
  • Improved markdown output
  • better default configuration for epochs, runtime
  • Better warnings & recommendations
  • CSV fixes

v3.0.0-alpha

28 Oct 17:50
4cb1099
Compare
Choose a tag to compare
v3.0.0-alpha Pre-release
Pre-release

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

v2.0.0

19 Oct 19:43
Compare
Choose a tag to compare

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