From c7d5bf17a854e04627f2655e908f371f0e1a2a31 Mon Sep 17 00:00:00 2001 From: Zhaodong Tian Date: Mon, 29 Aug 2022 19:16:35 -0700 Subject: [PATCH] Rename project name --- .../tests/Benchmarks/Perf/WCFCorePerf.sln | 31 -- .../Perf/WCFCorePerfClient/ISayHello.cs | 12 - .../Perf/WCFCorePerfClient/Program.cs | 200 -------- .../WCFCorePerfClient.csproj | 16 - .../Perf/WCFCorePerfService/ISayHello.cs | 12 - .../WCFCorePerfService/MyCustomValidator.cs | 18 - .../Perf/WCFCorePerfService/Program.cs | 126 ----- .../Perf/WCFCorePerfService/SayHello.cs | 61 --- .../WCFCorePerfService.csproj | 15 - .../Perf/benchmarks.wcfcore.Perf.yml | 474 ------------------ 10 files changed, 965 deletions(-) delete mode 100644 src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerf.sln delete mode 100644 src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfClient/ISayHello.cs delete mode 100644 src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfClient/Program.cs delete mode 100644 src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfClient/WCFCorePerfClient.csproj delete mode 100644 src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfService/ISayHello.cs delete mode 100644 src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfService/MyCustomValidator.cs delete mode 100644 src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfService/Program.cs delete mode 100644 src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfService/SayHello.cs delete mode 100644 src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfService/WCFCorePerfService.csproj delete mode 100644 src/System.Private.ServiceModel/tests/Benchmarks/Perf/benchmarks.wcfcore.Perf.yml diff --git a/src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerf.sln b/src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerf.sln deleted file mode 100644 index 3d9c7eece2e..00000000000 --- a/src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerf.sln +++ /dev/null @@ -1,31 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.3.32714.290 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WCFCorePerfService", "WCFCorePerfService\WCFCorePerfService.csproj", "{35B05C6A-9FF0-4A9C-9BBE-E88963416022}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WCFCorePerfClient", "WCFCorePerfClient\WCFCorePerfClient.csproj", "{D9001454-F77C-4053-B4AE-34342351FD49}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {35B05C6A-9FF0-4A9C-9BBE-E88963416022}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {35B05C6A-9FF0-4A9C-9BBE-E88963416022}.Debug|Any CPU.Build.0 = Debug|Any CPU - {35B05C6A-9FF0-4A9C-9BBE-E88963416022}.Release|Any CPU.ActiveCfg = Release|Any CPU - {35B05C6A-9FF0-4A9C-9BBE-E88963416022}.Release|Any CPU.Build.0 = Release|Any CPU - {D9001454-F77C-4053-B4AE-34342351FD49}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D9001454-F77C-4053-B4AE-34342351FD49}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D9001454-F77C-4053-B4AE-34342351FD49}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D9001454-F77C-4053-B4AE-34342351FD49}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {BD5D3AEC-A9AB-412C-A41B-A410030B454A} - EndGlobalSection -EndGlobal diff --git a/src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfClient/ISayHello.cs b/src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfClient/ISayHello.cs deleted file mode 100644 index 65e880231fe..00000000000 --- a/src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfClient/ISayHello.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.ServiceModel; -using System.Threading.Tasks; - -namespace WCFCorePerfClient -{ - [ServiceContract] - public interface ISayHello - { - [OperationContract] - Task HelloAsync(string name); - } -} diff --git a/src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfClient/Program.cs b/src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfClient/Program.cs deleted file mode 100644 index 09b7de9cb5d..00000000000 --- a/src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfClient/Program.cs +++ /dev/null @@ -1,200 +0,0 @@ -using Microsoft.Crank.EventSources; -using System; -using System.Diagnostics; -using System.Security.Cryptography.X509Certificates; -using System.ServiceModel; -using System.ServiceModel.Security; - -namespace WCFCorePerfClient -{ - public class Parameters - { - public const string Binding = "binding"; - public const string ServiceUrl = "serviceurl"; - public const string TransferMode = "transfermode"; - public const string ReportingUrl = "reportingurl"; - public const string PerfMeasurementDuration = "perfmeasurementduration"; - } - - public enum TestBinding { BasicHttp, WSHttp, NetTcp } - - class Program - { - private TestBinding _paramBinding = TestBinding.BasicHttp; - private TimeSpan _paramPerfMeasurementDuration = s_defaultPerfMeasurementDuration; - private string _paramServiceUrl = ""; - private readonly static TimeSpan s_defaultPerfMeasurementDuration = TimeSpan.FromSeconds(10); - private string _paramTransferMode = "Buffered"; - - static void Main(string[] args) - { - Console.WriteLine("WCFCorePerf Client."); - - Program test = new Program(); - - if (test.ProcessRunOptions(args)) - { - var startTime = DateTime.Now; - int request = 0; - - BenchmarksEventSource.Register("wcfcoreperf/channelopen", Operations.Max, Operations.Max, "Channel Open Time (ms)", "Time to Open Channel in ms", "n0"); - BenchmarksEventSource.Register("wcfcoreperf/firstrequest", Operations.Max, Operations.Max, "First Request (ms)", "Time to first request in ms", "n0"); - BenchmarksEventSource.Register("wcfcoreperf/requests", Operations.Max, Operations.Sum, "Requests (" + test._paramPerfMeasurementDuration.TotalMilliseconds + " ms)", "Total number of requests", "n0"); - BenchmarksEventSource.Register("wcfcoreperf/rps/max", Operations.Max, Operations.Sum, "Requests/sec (max)", "Max requests per second", "n0"); - - switch (test._paramBinding) - { - case TestBinding.BasicHttp: - BasicHttpBinding binding = new BasicHttpBinding(); - switch (test._paramTransferMode.ToLower()) - { - case "buffered": - binding.TransferMode = TransferMode.Buffered; - break; - case "streamed": - binding.TransferMode = TransferMode.Streamed; - break; - case "streamedrequest": - binding.TransferMode = TransferMode.StreamedRequest; - break; - case "streamedresponse": - binding.TransferMode = TransferMode.StreamedResponse; - break; - default: - break; - } - - Console.WriteLine($"Testing TransferMode: {binding.TransferMode}"); - ChannelFactory factory = new ChannelFactory(binding, new EndpointAddress(test._paramServiceUrl)); - var stopwatchChannelOpen = new Stopwatch(); - stopwatchChannelOpen.Start(); - factory.Open(); - BenchmarksEventSource.Measure("wcfcoreperf/channelopen", stopwatchChannelOpen.ElapsedMilliseconds); - - var client = factory.CreateChannel(); - var stopwatchFirstReq = new Stopwatch(); - stopwatchFirstReq.Start(); - var result = client.HelloAsync("helloworld").Result; - BenchmarksEventSource.Measure("wcfcoreperf/firstrequest", stopwatchFirstReq.ElapsedMilliseconds); - - while (DateTime.Now <= startTime.Add(test._paramPerfMeasurementDuration)) - { - var rtnResult = client.HelloAsync("helloworld").Result; - request++; - } - - BenchmarksEventSource.Measure("wcfcoreperf/requests", request); - BenchmarksEventSource.Measure("wcfcoreperf/rps/max", request / test._paramPerfMeasurementDuration.TotalSeconds); - break; - case TestBinding.WSHttp: - WSHttpBinding wsHttpBinding = new WSHttpBinding(SecurityMode.TransportWithMessageCredential); - wsHttpBinding.Security.Message.ClientCredentialType = MessageCredentialType.UserName; - ChannelFactory wsHttpFactory = new ChannelFactory(wsHttpBinding, new EndpointAddress(test._paramServiceUrl)); - wsHttpFactory.Credentials.ServiceCertificate.SslCertificateAuthentication = new X509ServiceCertificateAuthentication - { - CertificateValidationMode = X509CertificateValidationMode.None, - RevocationMode = X509RevocationMode.NoCheck - }; - wsHttpFactory.Credentials.UserName.UserName = "abc"; - wsHttpFactory.Credentials.UserName.Password = "[PLACEHOLDER]"; - - var stopwatchWSHttpChannelOpen = new Stopwatch(); - stopwatchWSHttpChannelOpen.Start(); - wsHttpFactory.Open(); - BenchmarksEventSource.Measure("wcfcoreperf/channelopen", stopwatchWSHttpChannelOpen.ElapsedMilliseconds); - - var clientWSHttp = wsHttpFactory.CreateChannel(); - var stopwatchWSHttpFirstReq = new Stopwatch(); - stopwatchWSHttpFirstReq.Start(); - Console.WriteLine(clientWSHttp.HelloAsync("helloworld").Result); - BenchmarksEventSource.Measure("wcfcoreperf/firstrequest", stopwatchWSHttpFirstReq.ElapsedMilliseconds); - - while (DateTime.Now <= startTime.Add(test._paramPerfMeasurementDuration)) - { - var rtnResult = clientWSHttp.HelloAsync("helloworld").Result; - request++; - } - - BenchmarksEventSource.Measure("wcfcoreperf/requests", request); - BenchmarksEventSource.Measure("wcfcoreperf/rps/max", request / test._paramPerfMeasurementDuration.TotalSeconds); - break; - case TestBinding.NetTcp: - NetTcpBinding netTcpBinding = new NetTcpBinding(SecurityMode.None); - ChannelFactory netTcpFactory = new ChannelFactory(netTcpBinding, new EndpointAddress(test._paramServiceUrl)); - - var stopwatchNetTcpChannelOpen = new Stopwatch(); - stopwatchNetTcpChannelOpen.Start(); - netTcpFactory.Open(); - BenchmarksEventSource.Measure("wcfcoreperf/channelopen", stopwatchNetTcpChannelOpen.ElapsedMilliseconds); - - var clientNetTcp = netTcpFactory.CreateChannel(); - var stopwatchNetTcpFirstReq = new Stopwatch(); - stopwatchNetTcpFirstReq.Start(); - var netTcpResult = clientNetTcp.HelloAsync("helloworld").Result; - BenchmarksEventSource.Measure("wcfcoreperf/firstrequest", stopwatchNetTcpFirstReq.ElapsedMilliseconds); - - while (DateTime.Now <= startTime.Add(test._paramPerfMeasurementDuration)) - { - var rtnResult = clientNetTcp.HelloAsync("helloworld").Result; - request++; - } - - BenchmarksEventSource.Measure("wcfcoreperf/requests", request); - BenchmarksEventSource.Measure("wcfcoreperf/rps/max", request / test._paramPerfMeasurementDuration.TotalSeconds); - break; - } - } - } - - private bool ProcessRunOptions(string[] args) - { - foreach (string s in args) - { - Console.WriteLine(s); - string[] p = s.Split(new char[] { ':' }, count: 2); - if (p.Length != 2) - { - continue; - } - - switch (p[0].ToLower()) - { - case Parameters.Binding: - if (!Enum.TryParse(p[1], ignoreCase: true, result: out _paramBinding)) - { - return ReportWrongArgument(s); - } - break; - - case Parameters.PerfMeasurementDuration: - int perfPerfMeasurementDurationSeconds = 0; - if (!Int32.TryParse(p[1], out perfPerfMeasurementDurationSeconds)) - { - return ReportWrongArgument(s); - } - _paramPerfMeasurementDuration = TimeSpan.FromSeconds(perfPerfMeasurementDurationSeconds); - break; - - case Parameters.ServiceUrl: - _paramServiceUrl = p[1]; - break; - - case Parameters.TransferMode: - _paramTransferMode = p[1]; - break; - default: - Console.WriteLine("unknown argument: " + s); - continue; - } - } - - return true; - } - - private bool ReportWrongArgument(string arg) - { - Console.WriteLine("Wrong parameter: " + arg); - return false; - } - } -} diff --git a/src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfClient/WCFCorePerfClient.csproj b/src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfClient/WCFCorePerfClient.csproj deleted file mode 100644 index d23feb18d98..00000000000 --- a/src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfClient/WCFCorePerfClient.csproj +++ /dev/null @@ -1,16 +0,0 @@ - - - - Exe - net7.0 - - - - - - - - - - - diff --git a/src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfService/ISayHello.cs b/src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfService/ISayHello.cs deleted file mode 100644 index 683a76e1dc3..00000000000 --- a/src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfService/ISayHello.cs +++ /dev/null @@ -1,12 +0,0 @@ -using CoreWCF; -using System.Threading.Tasks; - -namespace WCFCorePerfService -{ - [ServiceContract] - public interface ISayHello - { - [OperationContract] - Task HelloAsync(string name); - } -} diff --git a/src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfService/MyCustomValidator.cs b/src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfService/MyCustomValidator.cs deleted file mode 100644 index d1f37c97500..00000000000 --- a/src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfService/MyCustomValidator.cs +++ /dev/null @@ -1,18 +0,0 @@ -using CoreWCF.IdentityModel.Selectors; -using System; -using System.Threading.Tasks; - -namespace WCFCorePerfService -{ - public class MyCustomValidator : UserNamePasswordValidator - { - public override ValueTask ValidateAsync(string userName, string password) - { - if (!string.IsNullOrEmpty(userName) && !string.IsNullOrEmpty(password)) - { - return new ValueTask(Task.CompletedTask); - } - return new ValueTask(Task.FromException(new Exception("username and password cannot be empty"))); - } - } -} diff --git a/src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfService/Program.cs b/src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfService/Program.cs deleted file mode 100644 index de8fb9d14da..00000000000 --- a/src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfService/Program.cs +++ /dev/null @@ -1,126 +0,0 @@ -using CoreWCF; -using CoreWCF.Configuration; -using Microsoft.AspNetCore; -using Microsoft.AspNetCore.Builder; -using Microsoft.AspNetCore.Hosting; -using Microsoft.Extensions.DependencyInjection; -using System; -using System.Diagnostics; -using System.IO; -using System.Net; - -namespace WCFCorePerfService -{ - public class Program - { - static void Main(string[] args) - { - string filePath = Path.Combine(Environment.CurrentDirectory, "WCFCorePerfService.exe"); - Console.WriteLine(filePath); - string command = $" advfirewall firewall add rule name=\"WCFCorePerfService\" dir=in protocol=any action=allow program=\"{filePath}\" enable=yes"; - ExecuteCommand(command, Environment.CurrentDirectory, TimeSpan.FromSeconds(20)); - Console.WriteLine("Application start."); - - using (var host = CreateWebHostBuilder(args).Build()) - { - host.Start(); - - Console.WriteLine("Service is Ready"); - Console.WriteLine("Press Any Key to Terminate..."); - Console.ReadLine(); - } - - command = $" advfirewall firewall delete rule name=\"WCFCorePerfService\" program=\"{filePath}\""; - ExecuteCommand(command, Environment.CurrentDirectory, TimeSpan.FromSeconds(20)); - Console.WriteLine("Clean up the firewall rule."); - } - - public static IWebHostBuilder CreateWebHostBuilder(string[] args) => - WebHost.CreateDefaultBuilder(args) - .UseKestrel(options => - { - options.ListenLocalhost(8080); - options.Listen(IPAddress.Loopback, 8443, listenOptions => - { - listenOptions.UseHttps(); - } - ); - }) - .UseNetTcp(8808) - .UseStartup(); - - public class Startup - { - public void ConfigureServices(IServiceCollection services) - { - services.AddServiceModelServices(); - } - - public void Configure(IApplicationBuilder app) - { - WSHttpBinding serverBinding = new WSHttpBinding(SecurityMode.TransportWithMessageCredential); - serverBinding.Security.Message.ClientCredentialType = MessageCredentialType.UserName; - app.UseServiceModel(builder => - { - builder.AddService(); - builder.AddServiceEndpoint(new BasicHttpBinding(), "/WCFCorePerf/TestService.svc/BasicHttp"); - builder.AddServiceEndpoint(new NetTcpBinding(SecurityMode.None), "/WCFCorePerf/TestService.svc/NetTcp"); - builder.AddServiceEndpoint(serverBinding, "/WCFCorePerf/TestService.svc/WSHttp"); - Action serviceHost = host => ChangeHostBehavior(host); - builder.ConfigureServiceHostBase(serviceHost); - }); - } - - public void ChangeHostBehavior(ServiceHostBase host) - { - var srvCredentials = new CoreWCF.Description.ServiceCredentials(); - srvCredentials.UserNameAuthentication.UserNamePasswordValidationMode - = CoreWCF.Security.UserNamePasswordValidationMode.Custom; - srvCredentials.UserNameAuthentication.CustomUserNamePasswordValidator - = new MyCustomValidator(); - host.Description.Behaviors.Add(srvCredentials); - } - } - - private static int ExecuteCommand(string command, string workingDirectory, TimeSpan timeout) - { - Process process = new Process(); - process.StartInfo.FileName = "netsh"; - process.StartInfo.Arguments = command; - - if (workingDirectory != null) - { - process.StartInfo.WorkingDirectory = workingDirectory; - } - - process.StartInfo.UseShellExecute = false; - process.Start(); - - bool flag; - if (timeout.TotalMilliseconds >= Int32.MaxValue) - { - flag = process.WaitForExit(Int32.MaxValue); - } - else - { - flag = process.WaitForExit((int)timeout.TotalMilliseconds); - } - - if (!flag) - { - process.Kill(); - } - - if (!flag) - { - throw new TimeoutException(string.Format("Command '{0}' was killed by timeout {1}.", new object[] - { - command, - timeout.ToString() - })); - } - - return process.ExitCode; - } - } -} diff --git a/src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfService/SayHello.cs b/src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfService/SayHello.cs deleted file mode 100644 index a37b597c8dc..00000000000 --- a/src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfService/SayHello.cs +++ /dev/null @@ -1,61 +0,0 @@ -using System; -using System.Diagnostics; -using System.Threading.Tasks; - -namespace WCFCorePerfService -{ - public class SayHello : ISayHello - { - public Task HelloAsync(string name) - { - return Task.Factory.StartNew(() => { return name; }); - } - - public bool Cleanup(string name) - { - string command = $" advfirewall firewall delete rule name=\"{name}\""; - bool flag = false; - int code = ExecuteCommand(command, Environment.CurrentDirectory, TimeSpan.FromSeconds(20)); - if (code == 0) - flag = true; - - return flag; - } - - private int ExecuteCommand(string command, string workingDirectory, TimeSpan timeout) - { - Process process = new Process(); - process.StartInfo.FileName = "netsh"; - process.StartInfo.Arguments = command; - if (workingDirectory != null) - { - process.StartInfo.WorkingDirectory = workingDirectory; - } - process.StartInfo.UseShellExecute = false; - process.Start(); - bool flag; - if (timeout.TotalMilliseconds >= Int32.MaxValue) - { - flag = process.WaitForExit(Int32.MaxValue); - } - else - { - flag = process.WaitForExit((int)timeout.TotalMilliseconds); - } - if (!flag) - { - process.Kill(); - } - - if (!flag) - { - throw new TimeoutException(string.Format("Command '{0}' was killed by timeout {1}.", new object[] - { - command, - timeout.ToString() - })); - } - return process.ExitCode; - } - } -} diff --git a/src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfService/WCFCorePerfService.csproj b/src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfService/WCFCorePerfService.csproj deleted file mode 100644 index a3c3830341a..00000000000 --- a/src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfService/WCFCorePerfService.csproj +++ /dev/null @@ -1,15 +0,0 @@ - - - - Exe - net7.0 - - - - - - - - - - diff --git a/src/System.Private.ServiceModel/tests/Benchmarks/Perf/benchmarks.wcfcore.Perf.yml b/src/System.Private.ServiceModel/tests/Benchmarks/Perf/benchmarks.wcfcore.Perf.yml deleted file mode 100644 index a45604c30ac..00000000000 --- a/src/System.Private.ServiceModel/tests/Benchmarks/Perf/benchmarks.wcfcore.Perf.yml +++ /dev/null @@ -1,474 +0,0 @@ -jobs: - WCFCorePerf: - source: - repository: https://github.com/dotnet/wcf.git - branchOrCommit: main - project: src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfClient/WCFCorePerfClient.csproj - isConsoleApp: true - waitForExit: true - variables: - Duration: 300 - arguments: " binding:{{Binding}} serviceurl:{{Protocol}}://{{serverAddress}}{% if Binding == 'WSHttp' %}:{{serverPort}}{% endif %}/WCFCorePerf/TestService.svc/{{EndpointAddress}} transfermode:{{TransferMode}} perfmeasurementduration:{{Duration}} " - WCFCorePerfService: - source: - repository: https://github.com/dotnet/wcf.git - branchOrCommit: main - project: src/System.Private.ServiceModel/tests/Benchmarks/Perf/WCFCorePerfService/WCFCorePerfService.csproj - isConsoleApp: true - - -scenarios: - BasicHttpWithBuffered: - application: - job: WCFCorePerfService - load: - job: WCFCorePerf - variables: - Protocol: Http - EndpointAddress: BasicHttp - Binding: BasicHttp - TransferMode: Buffered - serverPort: 8080 - BasicHttpWithDefault: - application: - job: WCFCorePerfService - load: - job: WCFCorePerf - variables: - Protocol: Http - EndpointAddress: BasicHttp - Binding: BasicHttp - TransferMode: Default - serverPort: 8080 - WSHttp: - application: - job: WCFCorePerfService - load: - job: WCFCorePerf - variables: - Protocol: Https - EndpointAddress: WSHttp - Binding: WSHttp - serverPort: 8443 - NetTcp: - application: - job: WCFCorePerfService - load: - job: WCFCorePerf - variables: - Protocol: net.tcp - EndpointAddress: NetTcp - Binding: NetTcp - serverPort: 8808 - -profiles: - short: - variables: - warmup: 3 - duration: 7 - - pgo: - jobs: - application: - environmentVariables: - - DOTNET_TieredPGO: 1 - - DOTNET_TC_QuickJitForLoops: 1 - - DOTNET_ReadyToRun: 0 - - local: - variables: - serverAddress: localhost - jobs: - db: - endpoints: - - http://localhost:5010 - aliases: - - downstream - application: - endpoints: - - http://localhost:5010 - variables: - databaseServer: localhost - load: - endpoints: - - http://localhost:5010 - aliases: - - warmup - - aspnet-citrine-lin: - variables: - serverAddress: 10.0.0.102 - cores: 28 - jobs: - db: - endpoints: - - http://asp-citrine-db:5001 - aliases: - - downstream - application: - endpoints: - - http://asp-citrine-lin:5001 - variables: - databaseServer: 10.0.0.103 - load: - endpoints: - - http://asp-citrine-load:5001 - aliases: - - warmup - - aspnet-citrine-lin-relay: - variables: - serverAddress: 10.0.0.102 - cores: 28 - jobs: - db: - endpoints: - - https://aspnetperf.servicebus.windows.net/citrinedb - aliases: - - downstream - application: - endpoints: - - https://aspnetperf.servicebus.windows.net/citrinelin - variables: - databaseServer: 10.0.0.103 - load: - endpoints: - - https://aspnetperf.servicebus.windows.net/citrineload - aliases: - - warmup - - aspnet-citrine-win: - variables: - serverAddress: 10.0.0.104 - cores: 28 - jobs: - db: - endpoints: - - http://asp-citrine-load:5001 - aliases: - - downstream - application: - endpoints: - - http://asp-citrine-win:5001 - variables: - databaseServer: 10.0.0.105 - load: - endpoints: - - http://asp-citrine-db:5001 - aliases: - - warmup - - aspnet-citrine-win-relay: - variables: - serverAddress: 10.0.0.104 - cores: 28 - jobs: - db: - endpoints: - - https://aspnetperf.servicebus.windows.net/citrineload - aliases: - - downstream - application: - endpoints: - - https://aspnetperf.servicebus.windows.net/citrinewin - variables: - databaseServer: 10.0.0.105 - load: - endpoints: - - https://aspnetperf.servicebus.windows.net/citrinedb - aliases: - - warmup - - aspnet-citrine-win2: - variables: - serverAddress: 10.0.0.101 - cores: 28 - jobs: - db: - endpoints: - - http://asp-citrine-db:5001 - aliases: - - downstream - application: - endpoints: - - http://asp-citrine-win2:5001 - variables: - databaseServer: 10.0.0.103 - load: - endpoints: - - http://asp-citrine-amd:5001 - aliases: - - warmup - - aspnet-citrine-win-relay: - variables: - serverAddress: 10.0.0.101 - cores: 28 - jobs: - db: - endpoints: - - https://aspnetperf.servicebus.windows.net/citrinedb - aliases: - - downstream - application: - endpoints: - - https://aspnetperf.servicebus.windows.net/citrinewin2 - variables: - databaseServer: 10.0.0.103 - load: - endpoints: - - https://aspnetperf.servicebus.windows.net/citrineload - aliases: - - warmup - - aspnet-citrine-arm: - variables: - serverAddress: 10.0.0.107 - cores: 32 - jobs: - db: - endpoints: - - http://asp-citrine-db:5001 - aliases: - - downstream - application: - endpoints: - - http://asp-citrine-arm:5001 - variables: - databaseServer: 10.0.0.103 - load: - endpoints: - - http://asp-citrine-load:5001 - aliases: - - warmup - - aspnet-citrine-arm-relay: - variables: - serverAddress: 10.0.0.107 - cores: 32 - jobs: - db: - endpoints: - - https://aspnetperf.servicebus.windows.net/citrinedb - aliases: - - downstream - application: - endpoints: - - https://aspnetperf.servicebus.windows.net/citrinearm - variables: - databaseServer: 10.0.0.103 - load: - endpoints: - - https://aspnetperf.servicebus.windows.net/citrineload - aliases: - - warmup - - aspnet-citrine-ampere: - variables: - serverAddress: 10.0.0.108 - cores: 80 - jobs: - db: - endpoints: - - http://asp-citrine-amd2:5001 - aliases: - - downstream - application: - endpoints: - - http://asp-citrine-ampere:5001 - variables: - databaseServer: 10.0.0.109 - load: - endpoints: - - http://asp-citrine-amd2:5001 - aliases: - - warmup - - aspnet-citrine-arm-lin: - variables: - serverAddress: 10.0.0.108 - cores: 80 - jobs: - db: - endpoints: - - http://asp-citrine-amd2:5001 - aliases: - - downstream - application: - endpoints: - - http://asp-citrine-ampere:5001 - variables: - databaseServer: 10.0.0.109 - load: - endpoints: - - http://asp-citrine-amd2:5001 - aliases: - - warmup - - aspnet-citrine-arm-win: - variables: - serverAddress: 10.0.0.110 - cores: 80 - jobs: - db: - endpoints: - - http://asp-citrine-amd2:5001 - aliases: - - downstream - application: - endpoints: - - http://10.240.177.200:5001 - variables: - databaseServer: 10.0.0.109 - load: - endpoints: - - http://asp-citrine-amd:5001 - aliases: - - warmup - - aspnet-citrine-amd2: - variables: - serverAddress: 10.0.0.109 - cores: 48 - jobs: - db: - endpoints: - - http://asp-citrine-ampere:5001 - aliases: - - downstream - application: - endpoints: - - http://asp-citrine-amd2:5001 - variables: - databaseServer: 10.0.0.108 - load: - endpoints: - - http://asp-citrine-ampere:5001 - aliases: - - warmup - - aspnet-citrine-amd: - variables: - serverAddress: 10.0.0.106 - cores: 48 - jobs: - db: - endpoints: - - http://asp-citrine-load:5001 - aliases: - - downstream - application: - endpoints: - - http://asp-citrine-amd:5001 - variables: - databaseServer: 10.0.0.105 - load: - endpoints: - - http://asp-citrine-db:5001 - aliases: - - warmup - - aspnet-citrine-amd-relay: - variables: - serverAddress: 10.0.0.106 - cores: 48 - jobs: - db: - endpoints: - - https://aspnetperf.servicebus.windows.net/citrineload - aliases: - - downstream - application: - endpoints: - - https://aspnetperf.servicebus.windows.net/citrineamd - variables: - databaseServer: 10.0.0.105 - load: - endpoints: - - https://aspnetperf.servicebus.windows.net/citrinedb - aliases: - - warmup - - aspnet-perf-lin: - variables: - serverAddress: 10.0.0.102 - cores: 12 - jobs: - db: - endpoints: - - http://asp-perf-db:5001 - aliases: - - downstream - application: - endpoints: - - http://asp-perf-lin:5001 - variables: - databaseServer: 10.0.0.103 - load: - endpoints: - - http://asp-perf-load:5001 - aliases: - - warmup - - aspnet-perf-lin-relay: - variables: - serverAddress: 10.0.0.102 - cores: 12 - jobs: - db: - endpoints: - - https://aspnetperf.servicebus.windows.net/perfdb - aliases: - - downstream - application: - endpoints: - - https://aspnetperf.servicebus.windows.net/perflin - variables: - databaseServer: 10.0.0.103 - load: - endpoints: - - https://aspnetperf.servicebus.windows.net/perfload - aliases: - - warmup - - aspnet-perf-win: - variables: - serverAddress: 10.0.0.110 - cores: 12 - jobs: - db: - endpoints: - - http://asp-perf-load:5001 - aliases: - - downstream - application: - endpoints: - - http://asp-perf-win:5001 - variables: - databaseServer: 10.0.0.104 - load: - endpoints: - - http://asp-perf-db:5001 - aliases: - - warmup - - aspnet-perf-win-relay: - variables: - serverAddress: 10.0.0.110 - cores: 12 - jobs: - db: - endpoints: - - https://aspnetperf.servicebus.windows.net/perfload - aliases: - - downstream - application: - endpoints: - - https://aspnetperf.servicebus.windows.net/perfwin - variables: - databaseServer: 10.0.0.104 - load: - endpoints: - - https://aspnetperf.servicebus.windows.net/perfsb - aliases: - - warmup