Implementation

Laravel

Laravel 13.42.0 · PHP · Full-stack frameworks · ranked

frameworks/laravel on GitHub

Scores

Score relative to Axum (1.00×, higher is better) and position among the 14 ranked implementations; Stability: pass.
CategoryPositionScore±
Hello world140.006*±21.7%
Database140.055*†±20.9%
Application140.017*±31.6%
Memory (high-water mark)60.76±0.4%
Startup1–131.00≈±0.0%

Runner CPUs: EPYC 9V74, EPYC 9V74, EPYC 7763

Settings

Runtime
PHP 8.5.12 with OPcache
Server
Nginx with PHP-FPM, as in Laravel's deployment documentation
Workers
Nginx: BENCH_WORKERS (2) workers; PHP-FPM: pm = static with pm.max_children = DB_POOL_SIZE (16) processes
Database layer
Eloquent (pdo_pgsql); a new connection for every request, no persistent PDO connections (Laravel's default; at most 16 open, one per PHP-FPM process)
Templates
Blade
Logging
none (Nginx and PHP-FPM access logs off; Laravel logs warnings and errors to stderr)
Dependency source
–
Status
measured

Notes

Application endpoints: mechanisms

Validation
whereNumber('id') (404); $request->validate (422; integer:strict for the JSON body; an invalid form post is redirected back, 302)
CSRF
token (built-in): PreventRequestForgery (web group): Sec-Fetch-Site same-origin accepted, else the session's _token field; 419
Session store
cookie-encrypted (built-in): session guard with the cookie session driver (Laravel's default database driver is not used: decision 4, pending; see README.md)

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
/text725 (672–792)0.01362186.830
/json713 (667–789)0.01357190.450
/db-single232 (217–238)0.02235578.780PostgreSQL-bound 15/15
/html570 (528–617)0.00285239.040
/queries?queries=20139 (132–150)0.1799937.900PostgreSQL-bound 15/15
/fortunes244 (224–250)0.01214552.870PostgreSQL-bound 15/15
GET /world/{id}229 (211–237)0.02224580.070PostgreSQL-bound 15/15
GET /worlds201 (182–206)0.02180659.640PostgreSQL-bound 15/15
POST /form476 (438–526)0.01239281.610
GET /me220 (207–228)0.03174601.990PostgreSQL-bound 15/15
/updates?queries=20100 (92–107)0.28641,322.640PostgreSQL-bound 15/15
PUT /world/{id}217 (200–225)0.02197607.140PostgreSQL-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 9V745measured
2EPYC 9V745measured
3EPYC 77635measured