Benchmarks
How Laraflare runs, measured beside Laravel and Laravel's own Rust and Go frameworks: the same route, the same SQLite data, on the same machine, each climbing from one request a second until it starts to fail. The number is the most requests a second it answered with none failing.
Each is built for a different job, and all of them are good at theirs: this is how they compare on one small route, not a verdict. Laravel's Rust and Go frameworks are measured as a reference; Laraflare follows Laravel's PHP API.
GET /api/posts/{id}
One model read (findOrFail) of a 1,000-row posts table, answered as JSON, with no session.
| Framework | Requests a second | p50 ms | p95 ms | p99 ms |
|---|---|---|---|---|
| Laravel's Go framework (SQLite) | 9,760 | 53 | 197 | 272 |
| Laravel's Rust framework (release build, SQLite) | 9,477 | 61 | 115 | 248 |
| Laraflare (Octane on Node, SQLite) | 5,147 | 57 | 156 | 232 |
| Laravel (PHP-FPM, OPcache, SQLite) | 1,084 | 43 | 107 | 119 |
| Laraflare (workerd, D1) | 845 | 347 | 670 | 762 |
How each was measured
- Laravel's Go framework (SQLite): 10,000 requests a second at most, climbed over 300 seconds, 2026-12-06, at 37a7cd725, Apple M1, 16 GB. k6 ran on a second Mac on the same network, so the times include the network from there to the server. Laravel's Go framework and skeleton (framework 7e15956, app a79ed16), one process on every core: a speed reference, not a port.
- Laravel's Rust framework (release build, SQLite): 10,000 requests a second at most, climbed over 300 seconds, 2026-12-06, at 37a7cd725, Apple M1, 16 GB. k6 ran on a second Mac on the same network, so the times include the network from there to the server. Laravel's Rust framework and skeleton (framework d609a97, app bdd8da1), one process on every core: a speed reference, not a port.
- Laraflare (Octane on Node, SQLite): 10,000 requests a second at most, climbed over 300 seconds, 2026-12-06, at f8a53dcb3, Apple M1, 16 GB. k6 ran on a second Mac on the same network, so the times include the network from there to the server. Octane's Node server with 8 workers, as `npm start` runs it.
- Laravel (PHP-FPM, OPcache, SQLite): 5,000 requests a second at most, climbed over 300 seconds, 2026-12-06, at 694fda56a, Apple M1, 16 GB. k6 ran on a second Mac on the same network, so the times include the network from there to the server. nginx and PHP-FPM with 16 workers, OPcache, and the caches of `artisan optimize`; not Octane.
- Laraflare (workerd, D1): 5,000 requests a second at most, climbed over 300 seconds, 2026-12-06, at 694fda56a, Apple M1, 16 GB. k6 ran on a second Mac on the same network, so the times include the network from there to the server. Local workerd behind wrangler's proxy, with D1 as a SQLite file on the same disk: a deployed Worker reaches D1 over the network and has no single-process ceiling.
Every number comes from scripts/bench.ts in Laraflare's repository: npx tsx scripts/bench.ts setup, then npx tsx scripts/bench.ts run --target=<node|laravel|rust|go>. Corrections are welcome.