Skip to content

Commit 66e0d18

Browse files
committed
wip: disable warmup for now due to additional start/stop benchmark call which adds additional markers
1 parent 1b97510 commit 66e0d18

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

google_benchmark/src/benchmark_api_internal.cc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,11 @@ State BenchmarkInstance::RunSimulation(
100100
// Do one repetition to avoid flakiness due to inconcistencies in CPU cache
101101
// from execution order
102102

103-
internal::ThreadTimer warmup_timer = internal::ThreadTimer::Create();
104-
State warmup_state(name_.function_name, 1, args_, 0, 1, &warmup_timer,
105-
manager, perf_counters_measurement, profiler_manager,
106-
NULL);
107-
benchmark_.Run(warmup_state);
103+
// internal::ThreadTimer warmup_timer = internal::ThreadTimer::Create();
104+
// State warmup_state(name_.function_name, 1, args_, 0, 1, &warmup_timer,
105+
// manager, perf_counters_measurement, profiler_manager,
106+
// NULL);
107+
// benchmark_.Run(warmup_state);
108108

109109
State st(name().str(), 1, args_, 0, 1, timer, manager,
110110
perf_counters_measurement, profiler_manager, codspeed);

0 commit comments

Comments
 (0)