private static void WarmUpService(string endpointConfigurationName) { Console.WriteLine("Running test for configuration '{0}'", endpointConfigurationName); var meter = new PerformanceMeter(endpointConfigurationName); var testResult = meter.Run(1, meter.RunAllCallsInSeparateContext); Console.WriteLine(testResult.ToString()); Console.WriteLine(); }
private static void RunTestForOneEndpoint(string endpointConfigurationName) { Console.WriteLine("Running test for configuration '{0}'", endpointConfigurationName); var meter = new PerformanceMeter(endpointConfigurationName); var testResult = meter.Run(runCount, meter.RunAllCallsInOneContext); Console.WriteLine(testResult.ToString()); testResult = meter.Run(runCount, meter.RunAllCallsInSeparateContext); Console.WriteLine(testResult.ToString()); Console.WriteLine(); }