HttpArena

genhttp-ioxide

Emerging · C# · engine: ioxide · standard configuration · completeness 4/4

GenHTTP 11 on .NET 11 on a custom io_uring server engine (the ioxide runtime) instead of the default socket engine. Built from the GenHTTP 11 preview 24 packages, which carry the merged ioxide engine branch (PR #887): TLS is terminated in the engine itself, with HTTP/2 and HTTP/3: :8080 is HTTP/1.1, :8082 h2c, :8081 HTTP/1.1 over TLS, and :8443 serves HTTP/1.1 and HTTP/2 over TCP plus HTTP/3 over QUIC on the same port. Static is served by IoxideFiles, which reads bodies positionally off the io_uring ring through a per-reactor descriptor snapshot; responses go through GenHTTP's own routing + serialization; Postgres rides ioxide.pg (per-reactor ring-native pool).

Achievements

🥇 5 Gold · 🥈 2 Silver · 🥉 2 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
🥇 GoldWithin its languageC# · Database1 of 7
🥇 GoldWithin its languageC# · HTTP/1.11 of 10
🥇 GoldWithin its languageC# · HTTP/21 of 4
🥇 GoldWithin its languageC# · HTTP/31 of 4
🥇 GoldWithin its languageC# · WebSocket1 of 6
🥈 SilverTest profileConnection · Baseline2 of 87
🥈 SilverTest profileConnection · Short-lived2 of 87
🥉 BronzeTest profileDatabase · Async DB3 of 17
🥉 BronzeTest profileHTTP/3 · Static3 of 16

Composite rank

Each profile of a family is worth its weight × 1,000 to the entry that leads it - 1, or 0.5 apiece for two profiles that measure one thing - 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.14 of 875950
HTTP/24 of 332692
HTTP/34 of 161077
WebSocket5 of 312365
Database5 of 17897

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 d50d818157 of 159 (98.7%)2
HTTP/2h2spec 2.6.0108 of 146 (74.0%)38
HTTP/3h3spec v0.1.1537 of 81 (45.7%)44 - the server crashed during the suite
WebSocketautobahn-testsuite 25.10.1244 of 244 (100%)0

HTTP/1.1: what failed

TestExpectedGot
COMP-OPTIONS-STAR OPTIONS * is the only valid asterisk-form request (RFC 9112 §3.2.4, MUST)2xx or 405; close/timeout = warn308, 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

HTTP/2: what failed

TestExpectedGot
http2/5.1/2 idle: Sends a RST_STREAM frameGOAWAY Frame (Error Code: PROTOCOL_ERROR) or Connection closedTimeout
http2/5.1/3 idle: Sends a WINDOW_UPDATE frameGOAWAY Frame (Error Code: PROTOCOL_ERROR) or Connection closedTimeout
http2/5.1/5 half closed (remote): Sends a DATA frameGOAWAY Frame (Error Code: STREAM_CLOSED) or RST_STREAM Frame (Error Code: STREAM_CLOSED) or Connection closedWINDOW_UPDATE Frame (length:4, flags:0x00, stream_id:1)
http2/5.1/6 half closed (remote): Sends a HEADERS frameGOAWAY Frame (Error Code: STREAM_CLOSED) or RST_STREAM Frame (Error Code: STREAM_CLOSED) or Connection closedDATA Frame (length:7, flags:0x01, stream_id:1)
http2/5.1/8 closed: Sends a DATA frame after sending RST_STREAM frameGOAWAY Frame (Error Code: STREAM_CLOSED) or RST_STREAM Frame (Error Code: STREAM_CLOSED) or Connection closedWINDOW_UPDATE Frame (length:4, flags:0x00, stream_id:1)
http2/5.1/9 closed: Sends a HEADERS frame after sending RST_STREAM frameGOAWAY Frame (Error Code: STREAM_CLOSED) or RST_STREAM Frame (Error Code: STREAM_CLOSED) or Connection closedDATA Frame (length:7, flags:0x01, stream_id:1)
http2/5.1/11 closed: Sends a DATA frameGOAWAY Frame (Error Code: STREAM_CLOSED) or RST_STREAM Frame (Error Code: STREAM_CLOSED) or Connection closedWINDOW_UPDATE Frame (length:4, flags:0x00, stream_id:1)
http2/5.1/12 closed: Sends a HEADERS frameGOAWAY Frame (Error Code: STREAM_CLOSED) or Connection closedTimeout
http2/5.1.1/1 Sends even-numbered stream identifierGOAWAY Frame (Error Code: PROTOCOL_ERROR) or Connection closedDATA Frame (length:7, flags:0x01, stream_id:2)
http2/5.1.1/2 Sends stream identifier that is numerically smaller than previousGOAWAY Frame (Error Code: PROTOCOL_ERROR) or Connection closedDATA Frame (length:7, flags:0x01, stream_id:5)
http2/5.3.1/1 Sends HEADERS frame that depends on itselfGOAWAY Frame (Error Code: PROTOCOL_ERROR) or RST_STREAM Frame (Error Code: PROTOCOL_ERROR) or Connection closedDATA Frame (length:7, flags:0x01, stream_id:1)
http2/5.3.1/2 Sends PRIORITY frame that depend on itselfGOAWAY Frame (Error Code: PROTOCOL_ERROR) or RST_STREAM Frame (Error Code: PROTOCOL_ERROR) or Connection closedTimeout
http2/5.4.1/1 Sends an invalid PING frame for connection closeConnection closedPING Frame (length:8, flags:0x01, stream_id:0)
http2/6.1/2 Sends a DATA frame on the stream that is not in "open" or "half-closed (local)" stateGOAWAY Frame (Error Code: STREAM_CLOSED) or RST_STREAM Frame (Error Code: STREAM_CLOSED) or Connection closedWINDOW_UPDATE Frame (length:4, flags:0x00, stream_id:1)
http2/6.3/1 Sends a PRIORITY frame with 0x0 stream identifierGOAWAY Frame (Error Code: PROTOCOL_ERROR) or Connection closedTimeout
http2/6.3/2 Sends a PRIORITY frame with a length other than 5 octetsGOAWAY Frame (Error Code: FRAME_SIZE_ERROR) or RST_STREAM Frame (Error Code: FRAME_SIZE_ERROR) or Connection closedDATA Frame (length:7, flags:0x01, stream_id:1)
http2/6.4/1 Sends a RST_STREAM frame with 0x0 stream identifierGOAWAY Frame (Error Code: PROTOCOL_ERROR) or Connection closedTimeout
http2/6.4/2 Sends a RST_STREAM frame on a idle streamGOAWAY Frame (Error Code: PROTOCOL_ERROR) or Connection closedTimeout
http2/6.4/3 Sends a RST_STREAM frame with a length other than 4 octetsGOAWAY Frame (Error Code: FRAME_SIZE_ERROR) or RST_STREAM Frame (Error Code: FRAME_SIZE_ERROR) or Connection closedDATA Frame (length:7, flags:0x01, stream_id:1)
http2/6.5/1 Sends a SETTINGS frame with ACK flag and payloadGOAWAY Frame (Error Code: FRAME_SIZE_ERROR) or Connection closedTimeout
http2/6.5/2 Sends a SETTINGS frame with a stream identifier other than 0x0GOAWAY Frame (Error Code: PROTOCOL_ERROR) or Connection closedSETTINGS Frame (length:0, flags:0x01, stream_id:0)
http2/6.5.2/1 SETTINGS_ENABLE_PUSH (0x2): Sends the value other than 0 or 1GOAWAY Frame (Error Code: PROTOCOL_ERROR) or Connection closedSETTINGS Frame (length:0, flags:0x01, stream_id:0)
http2/6.7/3 Sends a PING frame with a stream identifier field value other than 0x0GOAWAY Frame (Error Code: PROTOCOL_ERROR) or Connection closedPING Frame (length:8, flags:0x01, stream_id:0)
http2/6.9.1/3 Sends multiple WINDOW_UPDATE frames increasing the flow control window to above 2^31-1 on a streamRST_STREAM Frame (Error Code: FLOW_CONTROL_ERROR)DATA Frame (length:7, flags:0x01, stream_id:1)
http2/8.1/1 Sends a second HEADERS frame without the END_STREAM flagGOAWAY Frame (Error Code: PROTOCOL_ERROR) or RST_STREAM Frame (Error Code: PROTOCOL_ERROR) or Connection closedWINDOW_UPDATE Frame (length:4, flags:0x00, stream_id:1)
http2/8.1.2/1 Sends a HEADERS frame that contains the header field name in uppercase lettersGOAWAY Frame (Error Code: PROTOCOL_ERROR) or RST_STREAM Frame (Error Code: PROTOCOL_ERROR) or Connection closedDATA Frame (length:7, flags:0x01, stream_id:1)
http2/8.1.2.1/3 Sends a HEADERS frame that contains a pseudo-header field as trailersGOAWAY Frame (Error Code: PROTOCOL_ERROR) or RST_STREAM Frame (Error Code: PROTOCOL_ERROR) or Connection closedWINDOW_UPDATE Frame (length:4, flags:0x00, stream_id:1)
http2/8.1.2.2/1 Sends a HEADERS frame that contains the connection-specific header fieldGOAWAY Frame (Error Code: PROTOCOL_ERROR) or RST_STREAM Frame (Error Code: PROTOCOL_ERROR) or Connection closedDATA Frame (length:7, flags:0x01, stream_id:1)
http2/8.1.2.2/2 Sends a HEADERS frame that contains the TE header field with any value other than "trailers"GOAWAY Frame (Error Code: PROTOCOL_ERROR) or RST_STREAM Frame (Error Code: PROTOCOL_ERROR) or Connection closedDATA Frame (length:7, flags:0x01, stream_id:1)
http2/8.1.2.3/1 Sends a HEADERS frame with empty ":path" pseudo-header fieldGOAWAY Frame (Error Code: PROTOCOL_ERROR) or RST_STREAM Frame (Error Code: PROTOCOL_ERROR) or Connection closedDATA Frame (length:0, flags:0x01, stream_id:1)
http2/8.1.2.3/2 Sends a HEADERS frame that omits ":method" pseudo-header fieldGOAWAY Frame (Error Code: PROTOCOL_ERROR) or RST_STREAM Frame (Error Code: PROTOCOL_ERROR) or Connection closedDATA Frame (length:72, flags:0x01, stream_id:1)
http2/8.1.2.3/3 Sends a HEADERS frame that omits ":scheme" pseudo-header fieldGOAWAY Frame (Error Code: PROTOCOL_ERROR) or RST_STREAM Frame (Error Code: PROTOCOL_ERROR) or Connection closedDATA Frame (length:7, flags:0x01, stream_id:1)
http2/8.1.2.3/4 Sends a HEADERS frame that omits ":path" pseudo-header fieldGOAWAY Frame (Error Code: PROTOCOL_ERROR) or RST_STREAM Frame (Error Code: PROTOCOL_ERROR) or Connection closedDATA Frame (length:0, flags:0x01, stream_id:1)
http2/8.1.2.6/1 Sends a HEADERS frame with the "content-length" header field which does not equal the DATA frame payload lengthGOAWAY Frame (Error Code: PROTOCOL_ERROR) or RST_STREAM Frame (Error Code: PROTOCOL_ERROR) or Connection closedDATA Frame (length:0, flags:0x01, stream_id:1)
http2/8.1.2.6/2 Sends a HEADERS frame with the "content-length" header field which does not equal the sum of the multiple DATA frames payload lengthGOAWAY Frame (Error Code: PROTOCOL_ERROR) or RST_STREAM Frame (Error Code: PROTOCOL_ERROR) or Connection closedDATA Frame (length:0, flags:0x01, stream_id:1)
http2/8.2/1 Sends a PUSH_PROMISE frameGOAWAY Frame (Error Code: PROTOCOL_ERROR) or Connection closedTimeout
hpack/4.2/1 Sends a dynamic table size update at the end of header blockGOAWAY Frame (Error Code: COMPRESSION_ERROR) or Connection closedDATA Frame (length:7, flags:0x01, stream_id:1)
hpack/5.2/2 Sends a Huffman-encoded string literal representation padded by zeroGOAWAY Frame (Error Code: COMPRESSION_ERROR) or Connection closedDATA Frame (length:7, flags:0x01, stream_id:1)

HTTP/3: what failed

TestExpectedGot
QUIC servers MUST send unexpected_message TLS alert if KeyUpdate in Handshake is received [TLS 6]-predicate failed on expected exception: QUICException / TransportErrorIsReceived ProtocolViolation ""
QUIC servers MUST send unexpected_message TLS alert if KeyUpdate in 1-RTT is received [TLS 6]-predicate failed on expected exception: QUICException / TransportErrorIsReceived ProtocolViolation ""
QUIC servers MUST send no_application_protocol TLS alert if no application protocols are supported [TLS 8.1]-predicate failed on expected exception: QUICException / TransportErrorIsReceived ProtocolViolation ""
QUIC servers MUST send missing_extension TLS alert if the quic_transport_parameters extension is not included [TLS 8.2]-did not get expected exception: QUICException
QUIC servers MUST send missing_extension TLS alert if only the draft quic_transport_parameters extension (0xffa5) is included [TLS 8.2]-did not get expected exception: QUICException
QUIC servers MUST send unexpected_message TLS alert if EndOfEarlyData is received [TLS 8.3]-did not get expected exception: QUICException
HTTP/3 servers MUST send H3_FRAME_UNEXPECTED if DATA is received before HEADERS [HTTP/3 4.1]-did not get expected exception: QUICException
HTTP/3 servers MUST send H3_MESSAGE_ERROR if a pseudo-header is duplicated [HTTP/3 4.3.1]-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 send H3_MESSAGE_ERROR if prohibited pseudo-header fields are present [HTTP/3 4.3]-did not get expected exception: QUICException
HTTP/3 servers MUST send H3_MESSAGE_ERROR if pseudo-header fields exist after fields [HTTP/3 4.3]-did not get expected exception: QUICException
HTTP/3 servers MUST treat a request with connection as malformed [HTTP/3 4.2]-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 treat a request with te as malformed [HTTP/3 4.2]-did not get expected exception: QUICException
HTTP/3 servers MUST accept TE with trailers [HTTP/3 4.2]-expected: Just () / but got: Nothing
HTTP/3 servers MUST send H3_MISSING_SETTINGS if the first control frame is not SETTINGS [HTTP/3 6.2.1]-did not get expected exception: QUICException
HTTP/3 servers MUST send H3_FRAME_UNEXPECTED if a DATA frame is received on a control stream [HTTP/3 7.2.1]-did not get expected exception: QUICException
HTTP/3 servers MUST send H3_FRAME_UNEXPECTED if a HEADERS frame is received on a control stream [HTTP/3 7.2.2]-did not get expected exception: QUICException
HTTP/3 servers MUST send H3_FRAME_UNEXPECTED if a second SETTINGS frame is received [HTTP/3 7.2.4]-did not get expected exception: QUICException
HTTP/3 servers MUST send H3_SETTINGS_ERROR if HTTP/2 settings are included [HTTP/3 7.2.4.1]-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 MUST NOT stop reading settings at a reserved identifier [HTTP/3 7.2.4.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_FRAME_UNEXPECTED if CANCEL_PUSH is received in a request stream [HTTP/3 7.2.3]-did not get expected exception: QUICException
HTTP/3 servers MUST send H3_FRAME_UNEXPECTED if PUSH_PROMISE is received [HTTP/3 7.2.5]-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 send H3_FRAME_ERROR if MAX_PUSH_ID has octets after its push ID [HTTP/3 7.1]-did not get expected exception: QUICException
HTTP/3 servers MUST ignore a frame of unknown type, however long [HTTP/3 7.2.8]-expected: Just () / but got: Nothing
HTTP/3 servers MUST send QPACK_DECOMPRESSION_FAILED if an invalid static table index exists in a field line representation [QPACK 3.1]-did not get expected exception: QUICException
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_CLOSED_CRITICAL_STREAM if a control stream is closed [HTTP/3 6.2.1]-did not get expected exception: QUICException
HTTP/3 servers MUST send H3_CLOSED_CRITICAL_STREAM if an encoder stream is closed [QPACK 4.2]-did not get expected exception: QUICException
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, 34 runs. Requests per second is the best of three; latency, CPU and memory come from that run.

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,0963,450,3601.19ms2.03ms6149.3%2.3GiB
ConnectionPipelined4,09624,491,1742.67ms6.10ms6066.3%2.2GiB
ConnectionShort-lived4,0962,617,7121.45ms3.00ms5998.6%2.5GiB
ConcurrencyAsync Delay32,0002,174,36014.72ms21.70ms6232.9%8.7GiB
ConcurrencyCON-1M1,000,000249,99890.6us608.0us919.4%16.8GiB
ConcurrencyCON-1M-TLS1,000,000249,95497.0us620.0us1710.3%42.1GiB
ConcurrencyCON-5M5,000,0001,249,9209301.0us57000.0us4914.9%79.7GiB
EfficiencyLatency-10K1,0249,98073.6us106.0us25.1%1.3GiB
EfficiencyLatency-1M1,024997,544105.4us186.0us2593.9%1.9GiB
WorkloadJSON Comp4,096634,5486.45ms16.30ms6262.8%2.6GiB
WorkloadJSON Comp16,384620,58026.39ms54.50ms6117.9%4.0GiB
WorkloadJSON TLS4,0961,133,6053.63ms61.82ms6247.5%3.8GiB
Workload8Gbit51249,372100.9us129.0us217.1%3.6GiB
WorkloadStatic TLS1,024836,2901.33ms36.38ms6463.4%2.3GiB
DatabaseAsync DB1,024317,9423.22ms9.30ms3249.1%1.2GiB
HTTP/2Baseline2569,724,7712.22ms7.14ms5080.6%2.2GiB
HTTP/2Baseline1,0249,344,50510.27ms23.68ms5319.0%3.4GiB
HTTP/2Static256647,11713.91ms35.97ms6462.2%5.3GiB
HTTP/2Static1,024604,10750.92ms83.50ms6438.0%13.8GiB
HTTP/2Baseline (h2c)2569,724,2542.30ms7.32ms5134.2%2.2GiB
HTTP/2Baseline (h2c)1,0249,450,13810.19ms22.53ms5268.7%2.6GiB
HTTP/2Baseline (h2c)4,0969,165,43142.28ms83.05ms5327.1%9.9GiB
HTTP/2JSON (h2c)1,0242,034,21915.75ms40.17ms6256.0%3.7GiB
HTTP/2JSON (h2c)4,0961,988,86962.88ms128.26ms6351.0%11.5GiB
HTTP/3Baseline643,359,3971.25ms2.43ms3580.5%1.1GiB
HTTP/3Static64268,47718.32ms53.52ms4292.4%1.7GiB
WebSocketEcho5123,614,689141us307us6198.7%2.0GiB
WebSocketEcho4,0963,718,7471.10ms4.00ms6300.7%2.4GiB
WebSocketEcho16,3843,269,1615.01ms11.80ms5913.6%5.1GiB
WebSocketEcho Pipelined51241,174,608198us400us6508.6%2.0GiB
WebSocketEcho Pipelined4,09641,751,8491.57ms5.52ms6352.3%2.2GiB
WebSocketEcho Pipelined16,38435,755,0047.34ms16.90ms5950.8%4.2GiB
WebSocketEcho Short-lived5122,122,600200us618us5749.7%2.1GiB
WebSocketEcho Short-lived4,0962,469,1841.44ms4.43ms6278.4%2.9GiB

Compared with

The C# web frameworks around genhttp-ioxide 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.

EntryCompositevs genhttp-ioxide
simplew-tuned4099-31%head to head
genhttp3149-47%head to head

Compare genhttp-ioxide with any C# entry · Compare genhttp-ioxide with any entry, in any language · Every C# entry, ranked

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