diff options
| author | baidashkin <[email protected]> | 2022-09-08 13:02:46 +0300 | 
|---|---|---|
| committer | baidashkin <[email protected]> | 2022-09-08 13:02:46 +0300 | 
| commit | 1e2781d41b8073e19248305f6d51888dfa6d469d (patch) | |
| tree | dd8ea70e8c660b0f7e87d700ee0e1b6317640430 /library/cpp/testing/benchmark/bench.cpp | |
| parent | 5c79f4555d1f786b56008cdc1075ec5a176b3723 (diff) | |
Add iterations to y_benchmark JSON
Diffstat (limited to 'library/cpp/testing/benchmark/bench.cpp')
| -rw-r--r-- | library/cpp/testing/benchmark/bench.cpp | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/library/cpp/testing/benchmark/bench.cpp b/library/cpp/testing/benchmark/bench.cpp index 08d8708005a..885f9e0d9fa 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; | 
