aspnetcore/benchmarks/Kestrel.Performance
Stephen Halter d50c0c13b9
Measure the rate of all HTTP/2 output (#3067)
Prior to this, only the response body counted toward the HTTP/2 response data rate. This PR aligns the HTTP/2 logic closer to the HTTP/1.x logic and measures the rate for all HTTP/2 response data.

This PR also accounts for all response bytes written, not just those that immediately induced backpressure.
2018-10-31 15:34:17 -07:00
..
Mocks Add HTTP/2 keep-alive and request header timeouts (#2992) 2018-10-08 17:06:15 -07:00
AssemblyInfo.cs
BinaryPrimitivesBenchmark.cs
BytesToStringBenchmark.cs
DotSegmentRemovalBenchmark.cs
ErrorUtilities.cs
Http1ConnectionBenchmark.cs Add HTTP/2 keep-alive and request header timeouts (#2992) 2018-10-08 17:06:15 -07:00
Http1ConnectionParsingOverheadBenchmark.cs Add HTTP/2 keep-alive and request header timeouts (#2992) 2018-10-08 17:06:15 -07:00
Http1WritingBenchmark.cs Measure the rate of all HTTP/2 output (#3067) 2018-10-31 15:34:17 -07:00
HttpParserBenchmark.cs
HttpProtocolFeatureCollection.cs
InMemoryTransportBenchmark.cs
IntegerDecoderBenchmark.cs
Kestrel.Performance.csproj Change TargetFramework for micro benchmarks 2018-10-25 17:58:23 -07:00
KnownStringsBenchmark.cs
PipeThroughputBenchmark.cs
README.md Use dev certs 2018-10-15 11:29:55 -07:00
RequestParsingBenchmark.cs Add HTTP/2 keep-alive and request header timeouts (#2992) 2018-10-08 17:06:15 -07:00
RequestParsingData.cs
ResponseHeaderCollectionBenchmark.cs
ResponseHeadersWritingBenchmark.cs Add HTTP/2 keep-alive and request header timeouts (#2992) 2018-10-08 17:06:15 -07:00
StringUtilitiesBenchmark.cs

README.md

Compile the solution in Release mode (so Kestrel is available in release)

build /t:compile /p:Configuration=Release

To run a specific benchmark add it as parameter

dotnet run -f netcoreapp2.1 -c Release RequestParsing

To run all use All as parameter

dotnet run -f netcoreapp2.1 -c Release All

Using no parameter will list all available benchmarks