mirror of
https://github.com/itzmeanjan/ml-kem.git
synced 2026-01-09 15:47:55 -05:00
increase number of benchmark repetitions
Signed-off-by: Anjan Roy <hello@itzmeanjan.in>
This commit is contained in:
4
Makefile
4
Makefile
@@ -55,14 +55,14 @@ $(BENCHMARK_BINARY): $(BENCHMARK_OBJECTS)
|
||||
|
||||
benchmark: $(BENCHMARK_BINARY)
|
||||
# Must *not* build google-benchmark with libPFM
|
||||
./$< --benchmark_time_unit=us --benchmark_min_warmup_time=.5 --benchmark_enable_random_interleaving=true --benchmark_repetitions=8 --benchmark_min_time=0.1s --benchmark_display_aggregates_only=true --benchmark_counters_tabular=true
|
||||
./$< --benchmark_time_unit=us --benchmark_min_warmup_time=.5 --benchmark_enable_random_interleaving=true --benchmark_repetitions=10 --benchmark_min_time=0.1s --benchmark_display_aggregates_only=true --benchmark_counters_tabular=true
|
||||
|
||||
$(PERF_BINARY): $(BENCHMARK_OBJECTS)
|
||||
$(CXX) $(OPT_FLAGS) $(LINK_FLAGS) $^ $(PERF_LINK_FLAGS) -o $@
|
||||
|
||||
perf: $(PERF_BINARY)
|
||||
# Must build google-benchmark with libPFM, follow https://gist.github.com/itzmeanjan/05dc3e946f635d00c5e0b21aae6203a7
|
||||
./$< --benchmark_time_unit=us --benchmark_min_warmup_time=.5 --benchmark_enable_random_interleaving=true --benchmark_repetitions=8 --benchmark_min_time=0.1s --benchmark_display_aggregates_only=true --benchmark_counters_tabular=true --benchmark_perf_counters=CYCLES
|
||||
./$< --benchmark_time_unit=us --benchmark_min_warmup_time=.5 --benchmark_enable_random_interleaving=true --benchmark_repetitions=10 --benchmark_min_time=0.1s --benchmark_display_aggregates_only=true --benchmark_counters_tabular=true --benchmark_perf_counters=CYCLES
|
||||
|
||||
.PHONY: format clean
|
||||
|
||||
|
||||
Reference in New Issue
Block a user