aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp
diff options
context:
space:
mode:
authorbaidashkin <baidashkin@yandex-team.com>2022-09-08 13:02:46 +0300
committerbaidashkin <baidashkin@yandex-team.com>2022-09-08 13:02:46 +0300
commit1e2781d41b8073e19248305f6d51888dfa6d469d (patch)
treedd8ea70e8c660b0f7e87d700ee0e1b6317640430 /library/cpp
parent5c79f4555d1f786b56008cdc1075ec5a176b3723 (diff)
downloadydb-1e2781d41b8073e19248305f6d51888dfa6d469d.tar.gz
Add iterations to y_benchmark JSON
Diffstat (limited to 'library/cpp')
-rw-r--r--library/cpp/testing/benchmark/bench.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/cpp/testing/benchmark/bench.cpp b/library/cpp/testing/benchmark/bench.cpp
index 08d8708005..885f9e0d9f 100644
--- a/library/cpp/testing/benchmark/bench.cpp
+++ b/library/cpp/testing/benchmark/bench.cpp
@@ -367,6 +367,7 @@ namespace {
benchReport["name"] = result.TestName;
benchReport["samples"] = result.Samples;
benchReport["run_time"] = result.RunTime;
+ benchReport["iterations"] = result.Iterations;
if (result.CyclesPerIteration) {
benchReport["per_iteration_cycles"] = *result.CyclesPerIteration;