# Benchmark: Laravel for COBOL vs. Laravel (PHP) Run on 2026-12-02 21:05 UTC with `./cobtisan benchmark`. Both apps run in Docker on the same machine. Each is limited to **1 vCPU and 1 GB RAM**, roughly a $5 VPS. Load comes from ApacheBench in a third container: 2000 requests, 10 concurrent, after 200 warm-up requests. | Stack | Endpoint | Requests/sec | Mean latency | p99 | Errors | | ----- | -------- | -----------: | -----------: | --: | -----: | | Laravel for COBOL | `GET /users/1` | **80.02** | 124.975 ms | 296 ms | 0 | | Laravel (PHP) | `GET /users/1` | **136.75** | 73.127 ms | 643 ms | 0 | | Laravel for COBOL | `GET /api/users/1` | **137.03** | 72.976 ms | 194 ms | 0 | | Laravel (PHP) | `GET /api/users/1` | **158.34** | 63.156 ms | 572 ms | 0 | | | Laravel for COBOL | Laravel (PHP) | | - | - | - | | Stack | GnuCOBOL 3.1, lighttpd, CGI (one process per request), indexed files | PHP 8.3, Apache mod_php, opcache, SQLite | | Lines of code for `/users/{id}` | 188 (USER-CONTROLLER.cbl) | 1 (routes/web.php) | Laravel is a stock `laravel/laravel` install in production mode: opcache on, config, routes and views cached, no dev dependencies, out-of-the-box SQLite and database sessions. See `benchmarks/laravel/`. Results depend on the machine. Run it yourself before quoting them.