HttpArena
Frameworks

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

🥇 8 Gold · 🥈 2 Silver · 🥉 4 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
🥇 GoldFamily compositeComposite · HTTP/1.11 of 85
🥇 GoldFamily compositeComposite · HTTP/21 of 31
🥇 GoldWithin its languageC# · HTTP/1.11 of 11
🥇 GoldWithin its languageC# · HTTP/21 of 5
🥇 GoldWithin its languageC# · HTTP/31 of 5
🥇 GoldWithin its languageC# · WebSocket1 of 6
🥇 GoldTest profileConnection · Baseline1 of 85
🥇 GoldTest profileConnection · Short-lived1 of 85
🥈 SilverFamily compositeComposite · HTTP/32 of 16
🥈 SilverTest profileHTTP/3 · Static2 of 16
🥉 BronzeFamily compositeComposite · WebSocket3 of 30
🥉 BronzeTest profileHTTP/2 · Baseline3 of 31
🥉 BronzeTest profileHTTP/2 · Baseline (h2c)3 of 26
🥉 BronzeTest profileHTTP/3 · Baseline3 of 16

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.11 of 857075
HTTP/21 of 313322
HTTP/32 of 161594
WebSocket3 of 302533

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, 32 runs. Requests per second is the best of three; latency, CPU and memory come from that run.

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,0963,550,2601.15ms1.79ms6278.6%2.3GiB
ConnectionPipelined4,09625,258,1682.59ms5.94ms6192.3%2.2GiB
ConnectionShort-lived4,0962,661,2441.43ms3.46ms6260.7%3.1GiB
ConcurrencyAsync Delay32,0002,171,26914.65ms21.90ms6254.4%6.9GiB
EfficiencyLatency-10K1,0249,98269.6us104.0us24.6%1.3GiB
EfficiencyLatency-1M1,024997,703102.5us185.0us2591.5%1.9GiB
EfficiencyLatency-500K/81,024461,913729681.3us2749440.0us803.9%502MiB
WorkloadJSON Comp4,096638,8216.39ms18.10ms6504.5%2.5GiB
WorkloadJSON Comp16,384619,15926.27ms53.80ms6042.9%4.1GiB
WorkloadJSON TLS4,0961,127,7653.66ms64.31ms6412.9%4.9GiB
Workload8Gbit51249,258103.6us127.0us209.7%3.6GiB
WorkloadStatic TLS1,024844,7291.30ms30.37ms6470.4%2.4GiB
DatabaseAsync DB1,024305,7922.75ms9.23ms3388.1%2.1GiB
HTTP/2Baseline2569,712,1472.34ms17.83ms5119.2%2.2GiB
HTTP/2Baseline1,0249,419,38710.00ms84.39ms5378.2%4.7GiB
HTTP/2Static256658,10114.11ms107.52ms6456.2%5.4GiB
HTTP/2Static1,024602,31050.56ms113.74ms6295.5%13.8GiB
HTTP/2Baseline (h2c)2569,489,3422.60ms15.92ms4970.2%2.2GiB
HTTP/2Baseline (h2c)1,0249,479,80210.20ms48.77ms5373.2%3.8GiB
HTTP/2Baseline (h2c)4,0969,953,72537.92ms119.10ms5638.0%9.8GiB
HTTP/2JSON (h2c)1,0242,059,17315.66ms98.94ms6152.9%3.6GiB
HTTP/2JSON (h2c)4,0961,968,61564.01ms201.35ms6276.1%11.4GiB
HTTP/3Baseline643,296,41316515011done,3559.7%1.1GiB
HTTP/3Static64272,1241359818done,4074.6%1.6GiB
WebSocketEcho5123,572,260142us313us6285.4%2.1GiB
WebSocketEcho4,0963,687,9951.11ms4.11ms6084.6%2.4GiB
WebSocketEcho16,3843,233,4515.03ms11.70ms5907.9%5.1GiB
WebSocketEcho Pipelined51240,927,670199us409us6427.0%2.1GiB
WebSocketEcho Pipelined4,09641,697,4141.57ms5.08ms6376.4%2.2GiB
WebSocketEcho Pipelined16,38435,317,2677.38ms17.10ms6026.4%4.5GiB
WebSocketEcho Short-lived5121,983,788164us527us5505.2%2.1GiB
WebSocketEcho Short-lived4,0962,468,2731.18ms3.69ms5997.0%2.5GiB

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-tuned5477-23%head to head
genhttp4433-37%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