Implementation

Rullst (as generated)

Rullst 13.0.0-rc.2 · Rust · Rust · ranked

frameworks/rullst on GitHub

Scores

Score relative to Axum (1.00×, higher is better) and position among the 14 ranked implementations; Stability: pass.
CategoryPositionScore±
Hello world3–70.51*±39.5%
Database3–70.94*±7.7%
Application5–60.78*±4.8%
Memory (high-water mark)1–51.00≈±0.4%
Startup1–131.00≈±0.0%

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

Settings

Runtime
Rust 1.99.1 (release build, thin LTO)
Server
rullst::Server (production stack)
Workers
Tokio multi-threaded runtime, one worker per available CPU (2)
Database layer
rullst-orm (#[derive(Orm)] with RowSnapshot: find, save, all, query builder; SQLx PostgreSQL pool)
Templates
html! macro
Logging
none per request (RULLST_ACCESS_LOG=off, honoured since 13.0.0-alpha.6); Server's default tracing filter info,sqlx=warn for start-up messages and warnings
Dependency source
crates.io
Status
measured

Application endpoints: mechanisms

Validation
ValidatedJson and ValidatedForm (#[derive(Validate)]: constraint failures 422, unreadable bodies 400); GET /worlds: Query (400) and FieldErrors::validate (422); Path<i32> (400)
CSRF
token (built-in): Server security baseline (global): double-submit rullst_csrf cookie, token masked per response in the _token field (or X-CSRF-Token), compared in constant time; 403
Session store
postgresql (generator): session registry as cargo rullst auth generates it: rullst_session cookie sealed with APP_KEY, one rullst_auth_sessions row per sign-in, read by primary key on every request

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
/text60,445 (57,118–145,769)0.5330,2703.100
/json57,996 (55,840–145,070)0.5229,0313.190
/db-single14,085 (13,661–31,691)1.127,90310.120PostgreSQL-bound 15/15
/html52,900 (50,530–139,018)0.4926,4963.510
/queries?queries=20879 (855–1,969)1.16593147.720PostgreSQL-bound 15/15
/fortunes13,718 (13,493–31,951)0.726,9229.800
GET /world/{id}13,360 (12,846–31,003)1.107,78611.790PostgreSQL-bound 15/15
GET /worlds7,910 (7,597–18,655)0.826,72817.850PostgreSQL-bound 15/15
POST /form35,327 (30,721–100,402)0.6917,6905.050
GET /me7,453 (7,036–17,154)1.144,52120.240PostgreSQL-bound 15/15
/updates?queries=20297 (297–731)0.91222421.060PostgreSQL-bound 15/15
PUT /world/{id}5,629 (5,359–12,948)0.563,53826.540PostgreSQL-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 77635measured
2EPYC 77635measured
3EPYC 9V455measured