public void Calibration_100ms(MetricCollector collector) { using (collector.StartCollection()) { Thread.Sleep(100); } }
public void ColdStartSandbox_100ms(MetricCollector collector) { using (var sandbox = new ColdStartSandbox()) { var testClass = sandbox.CreateInstance<ColdStartEnabledTests>(); testClass.Sleep100ms(collector); } }
public Scope(MetricCollector collector) { _collector = collector; }
public void Aggregate(RunSummary other, MetricCollector collector) { Aggregate(other); TimeElapsed = collector.TimeElapsed; MemoryDelta = collector.MemoryDelta; }