HttpArena
Frameworks

aspnet-minimal

Flagship · C# · engine: kestrel · standard configuration · completeness 4/4

Minimal ASP.NET Core server using .NET 10 with Kestrel and minimal API routing.

Achievements

🥇 1 Gold · 🥉 1 Bronze. Top three of a field, taken in this entry's own league: the family composite, the same composite among entries written in the same language, and each test profile it is scored on. Every field is the one the badges publish, so a medal and a badge always say the same thing. How medals are awarded.

MedalAwardFieldRank
🥇 GoldTest profileEfficiency · Latency-10K1 of 85
🥉 BronzeWithin its languageC# · HTTP/23 of 5

Composite rank

Each profile of a family is worth 1,000 to the entry that leads it, and the composite is the sum over the family, less 2.5% for each of routing, middleware, request and response the entry does not do for you - its completeness factor, which the WebSocket and gRPC families do not carry. The field is this entry's own league: engines and reverse proxies are scored apart from frameworks. How it works.

FamilyRankComposite
HTTP/1.138 of 852872
HTTP/217 of 31757
HTTP/312 of 16316
gRPC7 of 10680
WebSocket22 of 30805

Protocol compliance

The conformance suites this entry subscribes to, run against it on the benchmark machine: Http11Probe on HTTP/1.1, h2spec on HTTP/2, h3spec on HTTP/3 and Autobahn on WebSocket. A score, not part of the composite. How it works.

SuiteToolPassedFailed
HTTP/1.1http11probe d50d818133 of 159 (83.6%)26
HTTP/2h2spec 2.6.0146 of 146 (100%)0
HTTP/3h3spec v0.1.1543 of 85 (50.6%)42
WebSocket (aspnet-websocket)autobahn-testsuite 25.10.1244 of 244 (100%)0

HTTP/1.1: what failed

TestExpectedGot
RFC9112-5-INVALID-HEADER-NAME Header name with invalid characters (brackets) must be rejected (RFC 9112 §5, MUST)400 or close200, connection left open
RFC9112-6.1-CL-PLUS-SIGN Content-Length with plus sign must be rejected (RFC 9112 §6.1, MUST)400 or close200, connection left open
COMP-ASTERISK-WITH-GET Asterisk-form (*) request-target with GET must be rejected (RFC 9112 §3.2.4, MUST)400, close, or timeout = warn405, connection closed
COMP-OPTIONS-STAR OPTIONS * is the only valid asterisk-form request (RFC 9112 §3.2.4, MUST)2xx or 405; close/timeout = warn404, connection left open
COMP-METHOD-CONNECT CONNECT to an origin server must be rejected (RFC 9110 §9.3.6, SHOULD)400/405/501 or close404, connection left open
COMP-HOST-EMPTY-VALUE Empty Host header value must be rejected (RFC 9112 §3.2, MUST)400 or close200, connection left open
COMP-VERSION-CASE HTTP version is case-sensitive — lowercase 'http' must be rejected (RFC 9112 §2.3, MUST)400, close, or timeout = warn505, connection closed
SMUG-CHUNK-BARE-SEMICOLON Chunk size with bare semicolon and no extension name must be rejected (RFC 9112 §7.1.1, MUST)400 or close200, connection left open
SMUG-CHUNK-EXT-INVALID-TOKEN Chunk extension with invalid token character must be rejected (RFC 9112 §7.1.1, MUST)400 or close200, connection left open
SMUG-CHUNK-EXT-CTRL NUL byte in chunk extension must be rejected (RFC 9112 §7.1.1, MUST)400 or close200, connection left open
SMUG-CHUNK-LF-TRAILER Bare LF in chunked trailer termination — server MAY accept bare LF per RFC 9112 §2.2 (RFC 9112 §7.1, MAY)400 or 2xxno response, timed out
SMUG-CL-NEGATIVE-ZERO Content-Length: -0 must be rejected — not valid 1*DIGIT (RFC 9110 §8.6, MUST)400 or close200, connection left open
SMUG-CLTE-CONN-CLOSE CL+TE conflict — server MUST close connection after responding (RFC 9112 §6.1, MUST)400, or 2xx + close200, connection left open (Accepted with 200 but kept connection open — follow-up GET returned 200)
SMUG-TECL-CONN-CLOSE TE+CL conflict (reversed order) — server MUST close connection after responding (RFC 9112 §6.1, MUST)400, or 2xx + close200, connection left open (Accepted with 200 but kept connection open — follow-up GET returned 200)
SMUG-CLTE-DESYNC CL.TE desync — leftover bytes after the body boundary may be interpreted as the next request (RFC 9112 §6.1, MUST)400, or close405, connection left open (Accepted with 200, kept connection open — follow-up GET returned 405)
SMUG-CLTE-SMUGGLED-GET CL.TE desync — embedded GET in body; multiple responses indicate request boundary confusion (RFC 9112 §6.1, MUST)400, or close (no extra response)200, connection left open (MULTIPLE RESPONSES: observed 2 HTTP status lines (embedded GET likely executed))
SMUG-CLTE-SMUGGLED-GET-CL-PLUS CL.TE desync with malformed Content-Length (+N) — multiple responses indicate request boundary confusion (RFC 9112 §6.1, MUST)400, or close (no extra response)200, connection left open (MULTIPLE RESPONSES: observed 2 HTTP status lines (embedded GET likely executed))
SMUG-CLTE-SMUGGLED-HEAD CL.TE desync — embedded HEAD in body; multiple responses indicate request boundary confusion (RFC 9112 §6.1, MUST)400, or close (no extra response)200, connection left open (MULTIPLE RESPONSES: observed 2 HTTP status lines (embedded HEAD likely executed))
SMUG-CLTE-SMUGGLED-GET-TE-TRAILING-SPACE CL.TE desync with TE trailing space — multiple responses indicate request boundary confusion (RFC 9112 §6.1, MUST)400, or close (no extra response)200, connection left open (MULTIPLE RESPONSES: observed 2 HTTP status lines (embedded GET likely executed))
SMUG-CLTE-SMUGGLED-GET-TE-LEADING-COMMA CL.TE desync with TE leading comma — multiple responses indicate request boundary confusion (RFC 9112 §6.1, MUST)400, or close (no extra response)200, connection left open (MULTIPLE RESPONSES: observed 2 HTTP status lines (embedded GET likely executed))
SMUG-CLTE-SMUGGLED-GET-TE-CASE-MISMATCH CL.TE desync with TE case mismatch — multiple responses indicate request boundary confusion (RFC 9112 §6.1, MUST)400, or close (no extra response)200, connection left open (MULTIPLE RESPONSES: observed 2 HTTP status lines (embedded GET likely executed))
SMUG-TECL-SMUGGLED-GET TE.CL desync via chunk-size prefix trick — multiple responses indicate request boundary confusion (RFC 9112 §6.1, MUST)400, or close (no extra response)200, connection left open (Accepted with 200 but kept connection open — MUST-close violated (no extra response observed))
SMUG-TECL-DESYNC TE.CL desync — chunked terminator before CL boundary, leftover bytes smuggled (RFC 9112 §6.1, MUST)400, or close405, connection left open (Accepted with 200, kept connection open — follow-up GET returned 405)
MAL-CONTROL-CHARS-HEADER Control characters in header value should be rejected (MUST)400 or close200, connection left open
MAL-LONG-METHOD 100KB method name should be rejected (SHOULD)400, 501 or close414, connection closed
MAL-CHUNK-SIZE-OVERFLOW Chunk size with integer overflow must be rejected (MUST)400 or close500, connection closed

HTTP/3: what failed

TestExpectedGot
QUIC servers MUST send TRANSPORT_PARAMETER_ERROR if original_destination_connection_id is received [Transport 18.2]-predicate failed on expected exception: QUICException / TransportErrorIsReceived TLSHandshakeFailure ""
QUIC servers MUST send TRANSPORT_PARAMETER_ERROR if preferred_address is received [Transport 18.2]-predicate failed on expected exception: QUICException / TransportErrorIsReceived TLSHandshakeFailure ""
QUIC servers MUST send TRANSPORT_PARAMETER_ERROR if retry_source_connection_id is received [Transport 18.2]-predicate failed on expected exception: QUICException / TransportErrorIsReceived TLSHandshakeFailure ""
QUIC servers MUST send TRANSPORT_PARAMETER_ERROR if stateless_reset_token is received [Transport 18.2]-predicate failed on expected exception: QUICException / TransportErrorIsReceived TLSHandshakeFailure ""
QUIC servers MUST send TRANSPORT_PARAMETER_ERROR if a parameter value is malformed [Transport 18]-predicate failed on expected exception: QUICException / TransportErrorIsReceived TLSHandshakeFailure ""
QUIC servers MUST send TRANSPORT_PARAMETER_ERROR if max_udp_payload_size < 1200 [Transport 7.4 and 18.2]-predicate failed on expected exception: QUICException / TransportErrorIsReceived TLSHandshakeFailure ""
QUIC servers MUST send TRANSPORT_PARAMETER_ERROR if ack_delay_exponent > 20 [Transport 7.4 and 18.2]-predicate failed on expected exception: QUICException / TransportErrorIsReceived TLSHandshakeFailure ""
QUIC servers MUST send TRANSPORT_PARAMETER_ERROR if max_ack_delay >= 2^14 [Transport 7.4 and 18.2]-predicate failed on expected exception: QUICException / TransportErrorIsReceived TLSHandshakeFailure ""
QUIC servers MUST send TRANSPORT_PARAMETER_ERROR if initial_max_streams_bidi > 2^60 [Transport 18.2]-predicate failed on expected exception: QUICException / TransportErrorIsReceived TLSHandshakeFailure ""
QUIC servers MUST send TRANSPORT_PARAMETER_ERROR if initial_max_streams_uni > 2^60 [Transport 18.2]-predicate failed on expected exception: QUICException / TransportErrorIsReceived TLSHandshakeFailure ""
QUIC servers SHOULD send PROTOCOL_VIOLATION on an ACK for a packet never sent [Transport 13.1]-predicate failed on expected exception: QUICException / TransportErrorIsReceived FrameEncodingError ""
QUIC servers MUST send PROTOCOL_VIOLATION on no frames [Transport 12.4]-predicate failed on expected exception: QUICException / TransportErrorIsSent InternalError "Too many path or CID frames"
QUIC servers MUST send PROTOCOL_VIOLATION if PATH_CHALLENGE in Handshake is received [Transport 12.4]-predicate failed on expected exception: QUICException / TransportErrorIsReceived FrameEncodingError ""
QUIC servers MUST send PROTOCOL_VIOLATION if RETIRE_CONNECTION_ID for a sequence number never issued [Transport 19.16]-did not get expected exception: QUICException
QUIC servers MUST send PROTOCOL_VIOLATION if STREAM_DATA_BLOCKED in Handshake is received [Transport 12.4]-predicate failed on expected exception: QUICException / TransportErrorIsReceived FrameEncodingError ""
QUIC servers MUST send PROTOCOL_VIOLATION if DATA_BLOCKED in Handshake is received [Transport 12.4]-predicate failed on expected exception: QUICException / TransportErrorIsReceived FrameEncodingError ""
QUIC servers MUST send PROTOCOL_VIOLATION if NEW_TOKEN is received [Transport 19.7]-did not get expected exception: QUICException
QUIC servers MUST send FRAME_ENCODING_ERROR if invalid MAX_STREAMS is received [Transport 19.11]-predicate failed on expected exception: QUICException / TransportErrorIsReceived StreamLimitError ""
QUIC servers MUST send STREAM_LIMIT_ERROR or FRAME_ENCODING_ERROR if invalid STREAMS_BLOCKED is received [Transport 19.14]-did not get expected exception: QUICException
QUIC servers MUST send unexpected_message TLS alert if KeyUpdate in Handshake is received [TLS 6]-did not get expected exception: QUICException
QUIC servers MUST send unexpected_message TLS alert if KeyUpdate in 1-RTT is received [TLS 6]-did not get expected exception: QUICException
HTTP/3 servers MUST send H3_MESSAGE_ERROR if mandatory pseudo-header fields are absent [HTTP/3 4.3.1]-did not get expected exception: QUICException
HTTP/3 servers MUST treat a request with keep-alive as malformed [HTTP/3 4.2]-did not get expected exception: QUICException
HTTP/3 servers MUST treat a request with proxy-connection as malformed [HTTP/3 4.2]-did not get expected exception: QUICException
HTTP/3 servers MUST treat a request with transfer-encoding as malformed [HTTP/3 4.2]-did not get expected exception: QUICException
HTTP/3 servers MUST treat a request with upgrade as malformed [HTTP/3 4.2]-did not get expected exception: QUICException
HTTP/3 servers MUST send H3_FRAME_ERROR if a SETTINGS frame stops mid-parameter [HTTP/3 7.1]-did not get expected exception: QUICException
HTTP/3 servers treats a repeated setting identifier as an error whatever its value [HTTP/3 7.2.4]-did not get expected exception: QUICException
HTTP/3 servers MUST send H3_ID_ERROR if CANCEL_PUSH names a push ID not allowed [HTTP/3 7.2.3]-did not get expected exception: QUICException
HTTP/3 servers MUST send H3_ID_ERROR if MAX_PUSH_ID goes down [HTTP/3 7.2.7]-did not get expected exception: QUICException
HTTP/3 servers MUST send H3_ID_ERROR if GOAWAY goes up [HTTP/3 5.2]-did not get expected exception: QUICException
HTTP/3 servers MUST ignore a frame of unknown type, however long [HTTP/3 7.2.8]-uncaught exception: QUICException / ApplicationProtocolErrorIsReceived (ApplicationProtocolError 262) ""
HTTP/3 servers MUST send QPACK_DECOMPRESSION_FAILED if an invalid static table index exists in a field line representation [QPACK 3.1]-predicate failed on expected exception: QUICException / ApplicationProtocolErrorIsSent (ApplicationProtocolError 270) ""
HTTP/3 servers MUST send QPACK_DECOMPRESSION_FAILED if a field line references a dynamic table entry that is not there [QPACK 2.2.3]-did not get expected exception: QUICException
HTTP/3 servers MUST send QPACK_DECOMPRESSION_FAILED if a field line is cut short [QPACK 2.2.3]-did not get expected exception: QUICException
HTTP/3 servers MUST send QPACK_DECOMPRESSION_FAILED if a Huffman string is badly padded [QPACK 4.1.2]-did not get expected exception: QUICException
HTTP/3 servers MUST NOT buffer an over-long frame on a control stream [HTTP/3 7.1]-did not get expected exception: QUICException
HTTP/3 servers MUST send QPACK_ENCODER_STREAM_ERROR if a new dynamic table capacity value exceeds the limit [QPACK 4.3.1]-did not get expected exception: QUICException
HTTP/3 servers MUST send H3_STREAM_CREATION_ERROR if a client opens a push stream [HTTP/3 6.2.2]-did not get expected exception
HTTP/3 servers MUST send H3_CLOSED_CRITICAL_STREAM if a decoder stream is closed [QPACK 4.2]-did not get expected exception: QUICException
HTTP/3 servers MUST send H3_CLOSED_CRITICAL_STREAM if an encoder stream ends inside an instruction [QPACK 4.2]-did not get expected exception: QUICException
HTTP/3 servers MUST send QPACK_DECODER_STREAM_ERROR if Insert Count Increment is 0 [QPACK 4.4.3]-did not get expected exception: QUICException

Every result

Alpha Round, 35 runs. Requests per second is the best of three; latency, CPU and memory come from that run.

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,0961,305,9462.67ms8.19ms5599.7%408MiB
ConnectionPipelined4,0966,821,0037.85ms20.30ms5559.6%341MiB
ConnectionShort-lived4,096456,3661.52ms12.40ms3439.3%141MiB
ConcurrencyAsync Delay32,000871,90427.15ms56.90ms4652.9%1.7GiB
EfficiencyLatency-10K1,0249,983103.0us129.0us145.9%164MiB
EfficiencyLatency-1M1,024997,932480.9us4474.0us4974.2%197MiB
EfficiencyLatency-500K/81,024299,0943956788.2us7874560.0us742.2%158MiB
WorkloadJSON Comp4,096337,51810.01ms34.40ms5871.1%554MiB
WorkloadJSON Comp16,384325,71714.57ms38.20ms5714.2%644MiB
WorkloadJSON TLS4,096501,1857.96ms96.85ms6002.4%782MiB
Workload8Gbit51249,306190.1us1736.0us899.7%219MiB
WorkloadStatic TLS1,02493,26111.06ms49.84ms6027.9%498MiB
DatabaseAsync DB1,024165,6545.64ms19.20ms3637.1%415MiB
DatabaseFortunes1,02477,92110.77ms33.20ms5329.1%491MiB
HTTP/2Baseline2562,220,50511.22ms82.75ms6117.8%920MiB
HTTP/2Baseline1,0241,956,24455.16ms253.50ms5401.9%3.1GiB
HTTP/2Static25673,392109.48ms896.12ms6001.4%3.2GiB
HTTP/2Static1,02454,245529.37ms4.34s5802.7%9.2GiB
HTTP/2Baseline (h2c)2562,732,4139.37ms54.79ms6281.1%1.4GiB
HTTP/2Baseline (h2c)1,0242,535,97440.89ms246.27ms5993.1%3.1GiB
HTTP/2Baseline (h2c)4,0961,769,573204.59ms798.67ms5581.1%8.4GiB
HTTP/2JSON (h2c)1,024713,23645.91ms209.59ms6100.1%1.9GiB
HTTP/2JSON (h2c)4,096581,550183.36ms1.12s5761.9%4.9GiB
HTTP/3Baseline64649,8526.16ms23.91ms6061.6%1.2GiB
HTTP/3Static6454,10075.11ms329.85ms4761.2%2.8GiB
gRPCUnary2562,491,23210.56ms10.56ms5624.0%1007.0MiB
gRPCUnary1,0242,338,52541.35ms41.35ms6207.7%2.5GiB
gRPCUnary TLS2562,058,16112.19ms12.19ms6079.8%818.2MiB
gRPCUnary TLS1,0241,826,31656.98ms56.98ms5281.5%2.8GiB
WebSocketEcho5121,835,273278us696us6128.2%220.4MiB
WebSocketEcho4,0961,806,9961.72ms5.25ms6120.1%389.2MiB
WebSocketEcho16,3841,686,0223.63ms10.10ms6033.9%456.1MiB
WebSocketEcho Pipelined51219,748,819414us2.08ms5700.1%225MiB
WebSocketEcho Pipelined4,09619,744,7581.92ms7.12ms5656.8%380MiB
WebSocketEcho Pipelined16,38419,407,9602.94ms9.60ms5864.6%380MiB

Compared with

The C# web frameworks around aspnet-minimal on the HTTP/1.1 composite, and the one leading them. Entries of other leagues are left out: a composite does not carry from one league to another. The last column shows every profile side by side.

Compare aspnet-minimal with any C# entry · Compare aspnet-minimal with any entry, in any language · Every C# entry, ranked

Results updated · How the benchmark is run · The machine · Add or fix an entry