Improved microbenchmarking with multiple features.
commit00721e69f8280f8bc59bede43b335ecc347d4fdf
authorMartin Ankerl <Martin.Ankerl@gmail.com>
Tue, 17 Oct 2017 14:48:02 +0000 (17 16:48 +0200)
committerMartin Ankerl <Martin.Ankerl@gmail.com>
Sat, 23 Dec 2017 10:03:17 +0000 (23 11:03 +0100)
tree950b08aebdfa195a4f166664dd9934164d2edf59
parent604e08c83cf58ca7e7cda2ab284c1ace7bb12977
Improved microbenchmarking with multiple features.

* inline performance critical code
* Average runtime is specified and used to calculate iterations.
* Console: show median of multiple runs
* plot: show box plot
* filter benchmarks
* specify scaling factor
* ignore src/test and src/bench in command line check script
* number of iterations instead of time
* Replaced runtime in BENCHMARK makro number of iterations.
* Added -? to bench_bitcoin
* Benchmark plotly.js URL, width, height can be customized
* Fixed incorrect precision warning
15 files changed:
src/bench/Examples.cpp
src/bench/base58.cpp
src/bench/bench.cpp
src/bench/bench.h
src/bench/bench_bitcoin.cpp
src/bench/ccoins_caching.cpp
src/bench/checkblock.cpp
src/bench/checkqueue.cpp
src/bench/coin_selection.cpp
src/bench/crypto_hash.cpp
src/bench/lockedpool.cpp
src/bench/mempool_eviction.cpp
src/bench/prevector_destructor.cpp
src/bench/rollingbloom.cpp
src/bench/verify_script.cpp