Skip to content

Commit fc06504

Browse files
committed
try wrk2?
1 parent a1424ab commit fc06504

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

scenarios/rejection.benchmarks.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ imports:
66
- https://raw.githubusercontent.com/dotnet/crank/main/src/Microsoft.Crank.Jobs.Bombardier/bombardier.yml
77
- https://raw.githubusercontent.com/dotnet/crank/main/src/Microsoft.Crank.Jobs.HttpClient/httpclient.yml
88
- https://raw.githubusercontent.com/dotnet/crank/main/src/Microsoft.Crank.Jobs.Wrk/wrk.yml
9+
- https://raw.githubusercontent.com/dotnet/crank/main/src/Microsoft.Crank.Jobs.Wrk2/wrk2.yml
910
- https://github.com/aspnet/Benchmarks/blob/main/scenarios/aspnet.profiles.yml?raw=true
1011

1112
variables:
@@ -83,7 +84,7 @@ scenarios:
8384
variables:
8485
httpSysUrlPrefix: "https://testserver:{{serverPort}}"
8586
load:
86-
job: wrk
87+
job: wrk2
8788
variables:
8889
path: /hello-world
8990
connections: 32
@@ -122,7 +123,7 @@ scenarios:
122123
variables:
123124
enableHostHeaderValidation: true
124125
load:
125-
job: wrk
126+
job: wrk2
126127
variables:
127128
path: /hello-world
128129
connections: 32

src/BenchmarksApps/TLS/Kestrel/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
Console.WriteLine("Configured HostFilteringOptions. Hosts: " + string.Join(';', allowedHosts));
5454
options.AllowedHosts = allowedHosts.ToArray();
55-
options.IncludeFailureMessage = true; // Suppress the failure message in response body
55+
options.IncludeFailureMessage = true; // Suppresses the failure message in response body. It should be `true` to match http.sys behavior.
5656
options.AllowEmptyHosts = true;
5757
});
5858
}

0 commit comments

Comments
 (0)