diff --git a/src/NBench/Sdk/Benchmark.cs b/src/NBench/Sdk/Benchmark.cs index 00dccd65..a3d2d47e 100644 --- a/src/NBench/Sdk/Benchmark.cs +++ b/src/NBench/Sdk/Benchmark.cs @@ -258,9 +258,9 @@ protected void PreRun() { if (RunMode == RunMode.Throughput) { - // Need to pass in the # of estimated runs per second in order to compile + // Need to pass in the total amount of runs in order to compile // the invoker with an inlined loop - Invoker.InvokePerfSetup(WarmupData.EstimatedRunsPerSecond, _currentRun.Context); + Invoker.InvokePerfSetup(WarmupData.ActualRunsMeasured, _currentRun.Context); } else {