aboutsummaryrefslogtreecommitdiff
path: root/src/bench/prevector_destructor.cpp
diff options
context:
space:
mode:
authorMartin Ankerl <Martin.Ankerl@gmail.com>2017-10-17 16:48:02 +0200
committerMartin Ankerl <Martin.Ankerl@gmail.com>2017-12-23 11:03:17 +0100
commit00721e69f8280f8bc59bede43b335ecc347d4fdf (patch)
tree950b08aebdfa195a4f166664dd9934164d2edf59 /src/bench/prevector_destructor.cpp
parent604e08c83cf58ca7e7cda2ab284c1ace7bb12977 (diff)
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
Diffstat (limited to 'src/bench/prevector_destructor.cpp')
-rw-r--r--src/bench/prevector_destructor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bench/prevector_destructor.cpp b/src/bench/prevector_destructor.cpp
index de7ecab737..39d0ee5eb1 100644
--- a/src/bench/prevector_destructor.cpp
+++ b/src/bench/prevector_destructor.cpp
@@ -32,5 +32,5 @@ static void PrevectorClear(benchmark::State& state)
}
}
-BENCHMARK(PrevectorDestructor);
-BENCHMARK(PrevectorClear);
+BENCHMARK(PrevectorDestructor, 5700);
+BENCHMARK(PrevectorClear, 5600);