HTTP Web Server Benchmarks – HttpArena

HttpArena

3 min read Original article ↗

Composite ranking

Normalized score summed across all HTTP/1.1 profiles (each profile worth its weight × 1,000 to its leader in the full field, so filtering does not change the numbers), per framework type. Higher is better. How it works →

How to read a unit
#FrameworkLanguageCompositeSpec
1cinatraC++6472-
2ntexRust6384100%
3ProaRust6345-
4dusty-tunedZig631197.5%
5cpeakRust6152-
6morojsJS6132100%
7fulmine.js - uwsLiteJS602099.4%
8dustyZig596097.5%
9genhttp-ioxideC#595098.7%
10fulmine.jsJS538199.4%
11actixRust528189.9%
12takoRust4904-
13barejsTS478983.6%
14spliffyJS4612-
15trillium-tunedRust4411-
16vertx-graalvmJava4331-
17vertxJava4304-
18fiber-tunedGo4201-
19simplew-tunedC#4099-
20fiberGo4079-
21bunTS380383.6%
22araaraOCaml3769-
23flareMojo3739-
24micronaut-tunedJava3682-
25libuvcppC++3513-
26true-async-serverPHP3425-
27luteLuau3327-
28cutelystC++3190-
29swoolePHP3168-
30genhttpC#314989.9%
31drogonC++3072-
32hyper-expressJS2985-
33micronautJava2963-
34ultimate-expressJS2893-
35trilliumRust2868-
36ktor-tunedKotlin285778.6%
37simplewC#2837-
38micronaut-productionJava2815-
39helidon-tunedJava2813-
40axumRust2698-
41mq-bridgeRust2686-
42helidon-productionJava2659-
43elysiaTS2649-
44go-fasthttpGo2500-
45aspnet-minimalC#245891.8%
46ring-http-exchangeClojure2442-
47ktorKotlin230378.6%
48h2o-mrubyRuby2292-
49hono-bunTS2279-
50quarkus-jvmJava2241-
51carterC#2238-
52oxpeckerF#2206-
53armeriaJava2186-
54genhttp-kestrelC#2150-
55ramaRust2142-
56userverC++2060-
57roadrunnerErlang1958-
58fastendpointsC#1904-
59rocketRust1895-
60codebehindC#1895-
61nifraTS1888-
62node-h3JS1812-
63salvoRust1652-
64fastifyJS1615-
65mq-bridge-pyPython1568-
66netonKotlin1479-
67lapisLua1446-
68hapi-tunedJS1440-
69aiohttpPython1438-
70joobyJava1409-
71ginGo1386-
72koaJS1373-
73echoGo1364-
74hapiJS1343-
75go-stdlibGo1314-
76chiGo1306-
77fletchDart1293-
78reititClojure1282-
79siskC#1280-
80expressJS1259-
81phoenix-banditElixir1251-
82zincGo1249-
83http4kKotlin1185-
84hono-nodeTS1162-
85vibe.dD1134-
86hyperfPHP1114-
87blackbullPython1095-
88starlettePython1077-
89spring-bootJava1077-
90warpHaskell1063-
91humming-birdSwift1053-
92sanicPython1008-
93litestarPython959-
94rageRuby930-
95plug-cowboyElixir870-
96fastapiPython857-
97php-fpmPHP847-
98rodaRuby796-
99http4sScala760-
100sinatraRuby712-
101symfony-spawn-tasPHP689-
102robynPython602-
103watsonC#442-
104slimewebPython427-
105hanamiRuby424-
106railsRuby393-
107http.jlJulia353-
108mojoliciousPerl288-
109bottlePython178-
110flaskPython174-
111kliteKotlin171-
112djangoPython116-
113servicestackC#100-

Alpha Round, 113 entries, best first. The other rankings: Overall, HTTP/2, HTTP/3, Gateway, gRPC, WebSocket, Database. Filtering, sorting and memory efficiency need JavaScript; every entry has a page of its own, and the same rankings are published as text at /llms.txt.

What HttpArena measures

Every framework, HTTP engine and reverse proxy in the ranking above runs the same 29 test profiles - plain and pipelined requests, JSON, compression, TLS, uploads, static files, Postgres, templates and mixed endpoints - on one dedicated machine, in a container pinned to its own cores. Nothing is self-reported: the implementations are in the public repository and the raw numbers behind every row are published with them.

Questions

What is the fastest web framework?

cinatra (C++) leads the HTTP/1.1 composite with 6472, ahead of ntex (6384) and Proa (6345). The composite adds a normalized score over every profile of the family, where the leader of each profile scores 1,000, so it ranks an entry over the whole suite instead of on one test. The sum is then reduced by 2.5% for each of routing, middleware, the request it hands you and the response it builds that the entry does not do for you, so a framework that does none of the four keeps 90% of what it scored on throughput.

Which language has the fastest web frameworks?

C++, through cinatra. The quickest entry of each language on HTTP/1.1: C++ cinatra (6472), Rust ntex (6384), Zig dusty-tuned (6311), JS morojs (6132), C# genhttp-ioxide (5950), TS barejs (4789), Java vertx-graalvm (4331), Go fiber-tuned (4201).

How many web frameworks are benchmarked?

226 entries - web frameworks, HTTP engines and reverse proxies - over 29 test profiles. The ranking above is the 113 flagship and emerging frameworks scored on HTTP/1.1; engines and reverse proxies are ranked in their own league.

How are the benchmarks run?

Every entry runs in a container on the same machine (AMD Ryzen Threadripper PRO 3995WX 64-Cores, 64 cores), pinned to dedicated cores, one connection count per run. Requests per second is the best of three runs; latency, CPU and memory come from that run. Round: Alpha Round.

Can I add my own framework?

Yes. Every entry is a directory in the public repository with its own Dockerfile and its own implementation of the profiles, and a pull request that adds one is benchmarked on the same machine as everything else.

Browse by language

Every ranking

Every entry, one page each · Head-to-head comparisons · How the benchmark works · Add a framework · The rankings as text

Results updated