HttpArena
Frameworks

anole

Experimental · Zig · engine: zio · standard configuration · completeness 4/4

Anole: HTTP/1.1, HTTP/2, HTTP/3, WebSocket, gRPC and WebTransport on the zio async runtime (io_uring where available, epoll fallback), BoringSSL. Documented APIs and default settings.

Achievements

🥇 1 Gold · 🥈 4 Silver · 🥉 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
🥇 GoldWithin its languageZig · HTTP/21 of 3
🥈 SilverFamily compositeComposite · gRPC2 of 7
🥈 SilverWithin its languageZig · HTTP/1.12 of 4
🥈 SilverWithin its languageZig · WebSocket2 of 4
🥈 SilverTest profilegRPC · Unary2 of 7
🥉 BronzeTest profilegRPC · Unary TLS3 of 7

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.18 of 306089
HTTP/26 of 162194
HTTP/35 of 101118
Gateway2 of 22145
gRPC2 of 71699
WebSocket10 of 232524

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,0963,070,3111.33ms1.71ms6364.1%146MiB
ConnectionPipelined4,09619,963,3443.28ms6.00ms6686.5%138MiB
ConnectionShort-lived4,0962,468,2931.62ms3.89ms6459.8%189MiB
ConcurrencyAsync Delay32,0001,773,95117.90ms23.20ms5508.5%808MiB
EfficiencyLatency-10K1,0249,98083.1us105.0us26.0%54MiB
EfficiencyLatency-1M1,024997,573103.0us185.0us2793.2%65MiB
EfficiencyLatency-500K/81,024423,8631362483.1us5376000.0us801.2%38MiB
WorkloadJSON Comp4,096650,3186.27ms14.40ms6527.5%650MiB
WorkloadJSON Comp16,384620,26126.18ms47.70ms6102.1%1.7GiB
WorkloadJSON TLS4,0961,146,6943.55ms57.51ms6588.3%749MiB
Workload8Gbit51249,10795.9us117.0us208.1%66MiB
WorkloadStatic TLS1,024420,6012.44ms30.93ms6561.7%323MiB
HTTP/2Baseline25611,148,4782.07ms12.15ms6120.7%1.6GiB
HTTP/2Baseline1,02410,580,8929.09ms123.10ms6434.4%1.5GiB
HTTP/2Static256351,97625.20ms251.22ms6503.6%1.3GiB
HTTP/2Static1,024284,228111.39ms765.68ms6266.5%3.0GiB
HTTP/2Baseline (h2c)25612,272,4051.82ms17.53ms5720.9%518MiB
HTTP/2Baseline (h2c)1,02412,132,9877.80ms119.43ms6431.9%1.1GiB
HTTP/2Baseline (h2c)4,09611,704,93333.65ms218.82ms6120.2%2.7GiB
HTTP/2JSON (h2c)1,0241,979,66316.46ms136.98ms6286.4%1.8GiB
HTTP/2JSON (h2c)4,0961,841,50673.05ms417.97ms5971.2%3.3GiB
HTTP/3Baseline645,144,968820us1.72ms2994.1%613MiB
HTTP/3Static64354,68514.61ms39.04ms4350.5%894MiB
gRPCUnary2566,728,1223.07ms42.48ms4956.6%1.0GiB
gRPCUnary1,0246,735,6569.63ms313.25ms5322.6%1.2GiB
gRPCUnary TLS2565,533,5274.61ms210.13ms5803.7%832MiB
gRPCUnary TLS1,0244,716,65421.39ms948.37ms6406.7%1.7GiB
GatewayGateway (H2)512248,79158.88ms3.57s4772.6%2.0GiB
GatewayGateway (H2)1,024249,232107.96ms4.55s4843.7%2.9GiB
GatewayGateway (H3)64173,89513.16ms46.38ms4015.3%1.3GiB
GatewayGateway (H3)256174,20845.93ms204.97ms4277.1%1.7GiB
GatewayProduction Stack256109,21828.96ms3.38s2855.6%1.3GiB
GatewayProduction Stack1,024107,84875.43ms4.58s2704.4%2.0GiB
WebSocketEcho5123,985,342127us282us6313.3%55MiB
WebSocketEcho4,0964,019,5701.02ms1.88ms6172.5%151MiB
WebSocketEcho16,3843,343,6294.30ms5.97ms6557.4%474MiB
WebSocketEcho Pipelined51255,093,824148us306us6383.5%56MiB
WebSocketEcho Pipelined4,09654,991,9381.19ms2.02ms6215.5%166MiB
WebSocketEcho Pipelined16,38447,271,8754.27ms6.88ms6598.4%481MiB
WebSocketEcho Short-lived5121,741,098210us701us5606.2%105MiB
WebSocketEcho Short-lived4,0962,158,8781.52ms3.66ms6146.7%221MiB

Compared with

The experimental Zig frameworks around anole 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 anole with any Zig entry · Compare anole with any entry, in any language · Every Zig entry, ranked

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