aspnetcore/test/Microsoft.AspNetCore.Server...
Geoff Kizer efa0a48fb1 Add initial Socket transport for Kestrel (#1659)
- This change adds the initial socket transport for Kestrel, all of the tests pass but there are still
a couple of things that aren't done yet.
- The functional tests support running both on both transports but tests aren't running for sockets right now. We need to parameterize these. 
- TimeoutServerTests hard code the libuv transport, this needs to support any transport.
- There is no handling of connection stopping on application shutdown. This is being implemented in kestrel core so transports don't need to handle it. Sockets won't be the default transport until that is the case.
- Performance needs to be looked at, today the SocketTransport doesn't dispatch by default and we're not buffering in kestrel.core, this can hurt as the number of kernel calls map 1:1 with application writes.
2017-04-13 23:10:06 -07:00
..
Mocks Add initial Socket transport for Kestrel (#1659) 2017-04-13 23:10:06 -07:00
configs
DotSegmentRemovalBenchmark.cs Rename namespaces/directories/classes in Kestrel.Core and Transport.Libuv (#1582). 2017-04-04 13:45:02 -07:00
ErrorUtilities.cs
FrameFeatureCollection.cs Specialized struct generics rather than interface (#1640) 2017-04-10 19:30:18 -07:00
FrameParsingOverheadBenchmark.cs Specialized struct generics rather than interface (#1640) 2017-04-10 19:30:18 -07:00
FrameWritingBenchmark.cs Specialized struct generics rather than interface (#1640) 2017-04-10 19:30:18 -07:00
KestrelHttpParserBenchmark.cs Specialized struct generics rather than interface (#1640) 2017-04-10 19:30:18 -07:00
KnownStringsBenchmark.cs Use corefxlab and corefx by source (#1612) 2017-04-05 15:37:45 -07:00
Microsoft.AspNetCore.Server.Kestrel.Performance.csproj Split transport-specific tests and general tests into distinct test projects (#1588). 2017-04-06 19:09:40 -07:00
PipeThroughputBenchmark.cs Use corefxlab and corefx by source (#1612) 2017-04-05 15:37:45 -07:00
Program.cs Transport agnostic kestrel refactoring (#1551) 2017-03-29 16:06:05 -07:00
Readme.md
RequestParsingBenchmark.cs Specialized struct generics rather than interface (#1640) 2017-04-10 19:30:18 -07:00
RequestParsingData.cs
ResponseHeaderCollectionBenchmark.cs Specialized struct generics rather than interface (#1640) 2017-04-10 19:30:18 -07:00
ResponseHeadersWritingBenchmark.cs Specialized struct generics rather than interface (#1640) 2017-04-10 19:30:18 -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 -c Release RequestParsing

To run all use All as parameter

dotnet run -c Release All

Using no parameter will list all available benchmarks