public void WarmUp() { var histogram = CreateHistogram(); ThroughputTestResult.Capture( Label, WarmupLoopLength, () => RecordLoop(histogram, WarmupLoopLength)); }
public ThroughputTestResult MeasureRawRecordingSpeed(int messages) { var histogram = CreateHistogram(); var result = ThroughputTestResult.Capture( Label, messages, () => RecordLoop(histogram, messages)); return(result); }