aspnetcore/benchmarks/Kestrel.Performance
Cesar Blum Silveira a31d1e024c Merge code paths duplicated between HTTP/1.x and HTTP/2 implementations (#2017).
- Most of the shared code is in the HttpProtocol class (former Frame)
- Virtual calls handle protocol-specific things
- Move the ProcessRequestsAsync loop to HttpProtocol
- Implement HTTP/1.x request processing in Http1Connection and HTTP/2
  in Http2Stream, with Http1Connection<T> and Http2Stream<T> subclassing
  those classes in order to handle the generic HttpContext parameter
- Split MessageBody into Http1MessageBody and Http2MessageBody,
  with MessageBody containing shared member variables and methods
2017-09-14 17:35:57 -07:00
..
Mocks Merge code paths duplicated between HTTP/1.x and HTTP/2 implementations (#2017). 2017-09-14 17:35:57 -07:00
configs Use PackageLineup 2017-08-16 14:10:43 -07:00
DotSegmentRemovalBenchmark.cs Use PackageLineup 2017-08-16 14:10:43 -07:00
ErrorUtilities.cs Use PackageLineup 2017-08-16 14:10:43 -07:00
Http1ConnectionParsingOverheadBenchmark.cs Merge code paths duplicated between HTTP/1.x and HTTP/2 implementations (#2017). 2017-09-14 17:35:57 -07:00
Http1WritingBenchmark.cs Merge code paths duplicated between HTTP/1.x and HTTP/2 implementations (#2017). 2017-09-14 17:35:57 -07:00
HttpParserBenchmark.cs Merge code paths duplicated between HTTP/1.x and HTTP/2 implementations (#2017). 2017-09-14 17:35:57 -07:00
HttpProtocolFeatureCollection.cs Merge code paths duplicated between HTTP/1.x and HTTP/2 implementations (#2017). 2017-09-14 17:35:57 -07:00
Kestrel.Performance.csproj Merge code paths duplicated between HTTP/1.x and HTTP/2 implementations (#2017). 2017-09-14 17:35:57 -07:00
KnownStringsBenchmark.cs Use PackageLineup 2017-08-16 14:10:43 -07:00
PipeThroughputBenchmark.cs React to changes in BenchmarkDotNet 0.10.9 (#2006) 2017-08-18 10:57:48 -07:00
Program.cs Use PackageLineup 2017-08-16 14:10:43 -07:00
README.md Get Kestrel.Performance working again 2017-08-17 17:00:46 -07:00
RequestParsingBenchmark.cs Merge code paths duplicated between HTTP/1.x and HTTP/2 implementations (#2017). 2017-09-14 17:35:57 -07:00
RequestParsingData.cs Use PackageLineup 2017-08-16 14:10:43 -07:00
ResponseHeaderCollectionBenchmark.cs Merge code paths duplicated between HTTP/1.x and HTTP/2 implementations (#2017). 2017-09-14 17:35:57 -07:00
ResponseHeadersWritingBenchmark.cs Merge code paths duplicated between HTTP/1.x and HTTP/2 implementations (#2017). 2017-09-14 17:35:57 -07:00
StringUtilitiesBenchmark.cs Use PackageLineup 2017-08-16 14:10:43 -07:00

README.md

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

To run a specific benchmark add it as parameter

dotnet run -f netcoreapp2.0 -c Release RequestParsing

To run all use All as parameter

dotnet run -f netcoreapp2.0 -c Release All

Using no parameter will list all available benchmarks