mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 20:03:34 -03:00
bench: Allow skip benchmark
Co-authored-by: Martin Ankerl <Martin.Ankerl@gmail.com>
This commit is contained in:
parent
b4d0366b47
commit
ce3e6a7cb2
1 changed files with 4 additions and 1 deletions
|
@ -70,7 +70,10 @@ void benchmark::BenchRunner::RunAll(const Args& args)
|
|||
}
|
||||
std::cout << bench.complexityBigO() << std::endl;
|
||||
}
|
||||
benchmarkResults.push_back(bench.results().back());
|
||||
|
||||
if (!bench.results().empty()) {
|
||||
benchmarkResults.push_back(bench.results().back());
|
||||
}
|
||||
}
|
||||
|
||||
GenerateTemplateResults(benchmarkResults, args.output_csv, "# Benchmark, evals, iterations, total, min, max, median\n"
|
||||
|
|
Loading…
Reference in a new issue