public void Calibration_100ms(MetricCollector collector)
 {
     using (collector.StartCollection())
     {
         Thread.Sleep(100);
     }
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 5
0
 public Scope(MetricCollector collector)
 {
     _collector = collector;
 }
Ejemplo n.º 6
0
 public void Aggregate(RunSummary other, MetricCollector collector)
 {
     Aggregate(other);
     TimeElapsed = collector.TimeElapsed;
     MemoryDelta = collector.MemoryDelta;
 }