nonius
nonius copied to clipboard
A C++ micro-benchmarking framework
It will be nice to have output generator for markdown tables. (esp with sorting options).
MSVC should be added to the build system for automatic testing.
The current release (1.1.0) will bring up again compiler warnings for VSx64. ``` // line 1541, the 'n' variable is std::size_t double outlier_variance = detail::outlier_variance(mean_estimate, stddev_estimate, n); ``` To avoid...
I wanted to compare to ways of checking whether a boost variant is empty - http://stackoverflow.com/questions/31320857/how-to-determine-if-a-boostvariant-variable-is-empty/31322574#31322574 However, the `which()==0` variant consistently eludes the benchmark algorithm by taking too much time...
This is a typical benchmark code I use with nonius: ``` nonius::benchmark my_benchmark() { return nonius::benchmark("title", [](nonius::chronometer meter) { // here I do some heavy setup; before actually running the...
The benchmark authoring guide needs to explain that the user is still responsible for certain characteristics of the environment that nonius cannot control nor account for, and also explain the...
Apparently, the original nonius.io owners [lost their domain](https://github.com/libnonius/nonius/issues/106), some blockchain scumbag acquired it, restored the original content and included some disinformation for search engine rank boosting: ``` The library depends...
concept/requires are new keyword in c++20. in benchmark_function.h++ it would help to replace struct concept with something like struct concept_layer or which ever makes sense.