Skip to content

Commit

Permalink
[benchmark] default to low repetition counts for practicality (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancoisCarouge committed Jun 10, 2023
1 parent 9ee3a1a commit 1db79e2
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion benchmark/baseline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ BENCHMARK(bench)
return std::ranges::max(results);
}) -> UseManualTime()
-> Complexity(::benchmark::oAuto) -> DisplayAggregatesOnly(true)
-> Repetitions(100);
-> Repetitions(3);
} // namespace
} // namespace fcarouge::benchmark
2 changes: 1 addition & 1 deletion benchmark/predict_1x1x0.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,6 @@ BENCHMARK(bench)
return std::ranges::max(results);
}) -> UseManualTime()
-> Complexity(::benchmark::oAuto) -> DisplayAggregatesOnly(true)
-> Repetitions(100);
-> Repetitions(3);
} // namespace
} // namespace fcarouge::benchmark
2 changes: 1 addition & 1 deletion benchmark/predict_1x1x1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ BENCHMARK(bench)
return std::ranges::max(results);
}) -> UseManualTime()
-> Complexity(::benchmark::oAuto) -> DisplayAggregatesOnly(true)
-> Repetitions(100);
-> Repetitions(3);
} // namespace
} // namespace fcarouge::benchmark
2 changes: 1 addition & 1 deletion benchmark/predict_linalg_x1x.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,6 @@ BENCHMARK(bench<${STATE_SIZE}, ${INPUT_SIZE}>)
return std::ranges::max(results);
}) -> UseManualTime()
-> Complexity(::benchmark::oAuto) -> DisplayAggregatesOnly(true)
-> Repetitions(100);
-> Repetitions(3);
} // namespace
} // namespace fcarouge::benchmark
2 changes: 1 addition & 1 deletion benchmark/update_1x1x0.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ BENCHMARK(bench)
return std::ranges::max(results);
}) -> UseManualTime()
-> Complexity(::benchmark::oAuto) -> DisplayAggregatesOnly(true)
-> Repetitions(100);
-> Repetitions(3);
} // namespace
} // namespace fcarouge::benchmark
2 changes: 1 addition & 1 deletion benchmark/update_1x1x1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ BENCHMARK(bench)
return std::ranges::max(results);
}) -> UseManualTime()
-> Complexity(::benchmark::oAuto) -> DisplayAggregatesOnly(true)
-> Repetitions(100);
-> Repetitions(3);
} // namespace
} // namespace fcarouge::benchmark
2 changes: 1 addition & 1 deletion benchmark/update_linalg_xx0.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,6 @@ BENCHMARK(bench<${STATE_SIZE}, ${OUTPUT_SIZE}>)
return std::ranges::max(results);
}) -> UseManualTime()
-> Complexity(::benchmark::oAuto) -> DisplayAggregatesOnly(true)
-> Repetitions(100);
-> Repetitions(3);
} // namespace
} // namespace fcarouge::benchmark

0 comments on commit 1db79e2

Please sign in to comment.