Skip to content

Commit

Permalink
Added an intruction in bench.cpp to run benchmarks for more repetitions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wei Dai committed Feb 12, 2021
1 parent 1171815 commit bd0685b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions native/bench/bench.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ namespace sealbench
{
/**
Wraps benchmark::RegisterBenchmark to use microsecond and accepts std::string name.
Each benchmark runs for 10 rather than a dynamically chosen amount of iterations.
If more runs are needed for more accurate measurements, either remove line 26, or run benchmarks in repetition.
*/
#define SEAL_BENCHMARK_REGISTER(category, n, log_q, name, func, ...) \
RegisterBenchmark( \
Expand Down

0 comments on commit bd0685b

Please sign in to comment.