Category · Tier 1

Hello world

Geometric mean over /text, /json and /html (125 connections for 10 s each) of the requests/s ratio, or, when either side was client-bound, the CPU-cost ratio (requests per CPU-second of the server and PostgreSQL together).

Tie margins in this category: A/A ±0.6%, pooled floor ±8.4% (from 14 implementations).

Ranking

Hello world: positions and scores (Axum = 1.00×, higher is better); endpoint columns are capacity ratios.
PositionImplementationScore vs Axum±/text/json/html
ref.Axum1.00–1.001.001.00
1Actix Web1.15*–1.15*1.15*1.16*
2Topcoat0.77*±8.9%0.79*0.78*0.74*
3–7tieFastify0.51*±35.7%0.56*0.56*0.43*
Rullst (as generated) Rullst0.51*±39.5%0.52*0.52*0.49
Loco0.49*±14.9%0.50*0.50*0.48*
Gin0.48*±8.4%0.53*0.47*0.45*
ASP.NET Core0.47±8.4%0.540.550.34
8NestJS0.33*±27.8%0.36*0.33*0.29*
9Spring Boot0.21*±31.9%0.22*0.25*0.17*
10Phoenix0.16*±29.7%0.17*0.17*0.13*
11FastAPI0.073*±28.9%0.081*0.077*0.063*
12Django0.030*±15.0%0.031*0.031*0.029
13Ruby on Rails0.013*±23.0%0.014*0.014*0.013*
14Laravel0.006*±21.7%0.006*0.006*0.005*

Diagnostics and the A/A control

Measured like the others and kept out of the ranking: a diagnostic isolates one setting, the A/A control (an identical copy of Axum) gives the noise the tie margins start from. Diagnostics

Not ranked: these rows have a score and no position.
RoleImplementationScore vs Axum/text/json/htmlWhat it measures
A/A controlAxum (A/A control)1.00*≈1.00*1.00*1.00*An identical copy of the Axum baseline (every file but bench.json and README.md is byte-identical; harness.py validate checks it), measured like every other implementation against Axum on the same runner. Its scores should be 1.00; their largest deviation is each category's A/A margin, one term of the tie margin (docs/v3-spec.md section 12). Unranked.
diagnosticRullst (minimal) Rullst1.00*≈1.02*1.03*0.95Serves its router through rullst::web::axum::serve, Axum's own server re-exported by Rullst, and bypasses rullst::Server, so none of the production middleware that cargo rullst new generates runs; its Hello world numbers are therefore largely Axum's. No other framework has such a stripped-down variant here, so it is listed apart from the headline tables.
diagnosticAxum (test_before_acquire off)0.99*≈0.99*1.00*0.99*Axum with one change: the SQLx pool does not ping an idle connection before handing it out (PgPoolOptions::test_before_acquire(false); the default is true). It bounds how much the ping costs Axum, and the other SQLx implementations that keep it (Actix Web and Loco; since 13.0.0-rc.1 both Rullst folders ping only connections idle for at least 500 ms), in the database endpoints. SQLx 0.9 also pings every connection when it returns to the pool, whatever this setting; that ping stays. Unranked.

How each position was decided

Job scores: the score of each job (runner) with its CPU model. Spread: the between-job spread the tie margins use (its own, or the pooled floor). Position check: the comparison with the score above (within the margin: the same group). vs Axum margin: the margin of the ≈ check against 1.00. PG µs/req: PostgreSQL's CPU time per request, with its ratio to Axum's on the same runners.
ImplementationPositionJob scoresSpreadPosition checkvs Axum marginLimitsRunner CPUs
Actix Web11.16 EPYC 9V741.15 EPYC 9V741.15 EPYC 9V74±8.4% (floor (one CPU model), own ±0.6%)–±8.4%/text: load-generator-bound 15/15; /json: load-generator-bound 15/15; /html: load-generator-bound 15/15EPYC 9V74, EPYC 9V74, EPYC 9V74
Topcoat20.76 Xeon Platinum 8370C CPU @ 2.80GHz0.80 EPYC 9V740.76 Xeon 6975P-C±3.0%±8.9% vs Actix Web, gap 50.0%: new group±8.4%–Xeon Platinum 8370C CPU @ 2.80GHz, EPYC 9V74, Xeon 6975P-C
Fastify3–70.34 EPYC 77630.62 EPYC 9V450.51 Xeon 6975P-C±35.5%±35.7% vs Topcoat, gap 50.2%: new group±35.5%–EPYC 7763, EPYC 9V45, Xeon 6975P-C
Rullst (as generated)3–70.49 EPYC 77630.50 EPYC 77630.65 EPYC 9V45±14.6%±39.5% vs Fastify, gap 0.3%: same group±14.6%–EPYC 7763, EPYC 7763, EPYC 9V45
Loco3–70.49 Xeon 6975P-C0.51 EPYC 9V740.48 EPYC 7763±2.8%±14.9% vs Rullst (as generated), gap 3.6%: same group±8.4%–Xeon 6975P-C, EPYC 9V74, EPYC 7763
Gin3–70.49 EPYC 9V740.44 EPYC 77630.48 EPYC 9V74±4.7%±8.4% vs Loco, gap 2.7%: same group±8.4%–EPYC 9V74, EPYC 7763, EPYC 9V74
ASP.NET Core3–70.46 Xeon PLATINUM 8573C0.47 Xeon PLATINUM 8573C0.47 EPYC 7763±0.9%±8.4% vs Gin, gap 3.0%: same group±8.4%–Xeon PLATINUM 8573C, Xeon PLATINUM 8573C, EPYC 7763
NestJS80.53 EPYC 9V450.32 EPYC 9V740.32 EPYC 9V74±27.8%±27.8% vs ASP.NET Core, gap 42.7%: new group±27.8%–EPYC 9V45, EPYC 9V74, EPYC 9V74
Spring Boot90.22 EPYC 9V740.17 EPYC 77630.22 EPYC 9V74±13.6%±31.9% vs NestJS, gap 54.9%: new group±13.6%–EPYC 9V74, EPYC 7763, EPYC 9V74
Phoenix100.15 EPYC 9V740.15 EPYC 77630.24 EPYC 9V45±25.5%±29.7% vs Spring Boot, gap 34.7%: new group±25.5%–EPYC 9V74, EPYC 7763, EPYC 9V45
FastAPI110.073 EPYC 9V740.091 EPYC 9V450.073 EPYC 9V74±12.1%±28.9% vs Phoenix, gap 114.4%: new group±12.1%–EPYC 9V74, EPYC 9V45, EPYC 9V74
Django120.031 EPYC 77630.030 EPYC 77630.030 EPYC 7763±8.4% (floor (one CPU model), own ±1.6%)±15.0% vs FastAPI, gap 139.3%: new group±8.4%–EPYC 7763, EPYC 7763, EPYC 7763
Ruby on Rails130.015 EPYC 77630.013 EPYC 9V740.010 Xeon 6975P-C±21.0%±23.0% vs Django, gap 125.9%: new group±21.0%–EPYC 7763, EPYC 9V74, Xeon 6975P-C
Laravel140.006 EPYC 9V740.005 EPYC 9V740.006 EPYC 7763±4.7%±21.7% vs Ruby on Rails, gap 141.1%: new group±8.4%–EPYC 9V74, EPYC 9V74, EPYC 7763

Per-endpoint numbers

Requests per second, efficiency, latency, errors and CPU of every run in this category: