Implementation

Axum (test_before_acquire off)

Axum 0.8.9 · Rust · Rust · diagnostic, unranked

frameworks/axum-no-ping on GitHub

Scores

Score relative to Axum (1.00×, higher is better) and position among the 14 ranked implementations; Stability: pass.
CategoryPositionScore±
Hello worlddiag.0.99*≈–
Databasediag.1.23*–
Applicationdiag.1.15*–
Memory (high-water mark)diag.1.00≈–
Startupdiag.1.00≈–

Runner CPUs: EPYC 9V45, EPYC 7763, EPYC 7763

Settings

Runtime
Rust 1.99.1 (release build, thin LTO)
Server
Hyper via axum::serve
Workers
Tokio multi-threaded runtime, one worker per available CPU (2)
Database layer
SQLx 0.9 PgPool with test_before_acquire(false) (the baseline keeps SQLx's default, true)
Templates
Askama 0.16
Logging
none
Dependency source
–
Status
measured

Notes

Application endpoints: mechanisms

Validation
Path, Query, Json and Form extractors (type errors: 400, Json data errors 422); ranges checked by hand (422)
CSRF
token (library): axum_csrf 0.12 (token in an encrypted cookie, HMAC in the form field)
Session store
postgresql (library): tower-sessions 0.15 with tower-sessions-sqlx-store 0.16 PostgresStore

Tier 1 endpoints

Medians over every round (lowest and highest round in brackets); vs Axum: the median of the per-round ratios on the same runners.
Endpointreq/svs AxumEfficiency (req/CPU-s)p99 (ms)ErrorsLimits
/text120,633 (116,073–224,773)0.9961,0001.550load-generator-bound 15/15
/json116,177 (111,204–222,045)1.0058,9061.600load-generator-bound 14/15
/db-single14,598 (14,318–33,632)1.1511,2549.650PostgreSQL-bound 15/15
/html114,285 (105,333–220,577)0.9957,6481.640load-generator-bound 5/15
/queries?queries=20916 (879–2,119)1.18820139.160PostgreSQL-bound 15/15
/fortunes24,209 (23,278–48,158)1.2312,3426.460PostgreSQL-bound 15/15
GET /world/{id}14,087 (13,499–32,812)1.1511,34310.110PostgreSQL-bound 15/15
GET /worlds10,796 (10,192–24,394)1.129,71513.200PostgreSQL-bound 15/15
POST /form54,044 (51,862–145,298)1.0127,1113.400
GET /me7,691 (7,490–18,100)1.165,77517.830PostgreSQL-bound 15/15
/updates?queries=20396 (384–979)1.19413323.170PostgreSQL-bound 15/15
PUT /world/{id}11,354 (11,046–28,529)1.139,90112.690PostgreSQL-bound 15/15

Measured versions

Runner jobs

Each job ran on its own GitHub-hosted runner; the CPU model differs between jobs.
JobCPU modelRoundsStatus
1EPYC 9V455measured
2EPYC 77635measured
3EPYC 77635measured