mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 10:43:19 -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;
|
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"
|
GenerateTemplateResults(benchmarkResults, args.output_csv, "# Benchmark, evals, iterations, total, min, max, median\n"
|
||||||
|
|
Loading…
Add table
Reference in a new issue