Laravel Rust arrived with a headline that's hard to ignore: 18 times the throughput of Laravel PHP. Unlike Laravel Go, there is an official benchmark with published code, so we can compare with data.
How it was measured
Laravel built the same simple API (a paginated list and a detail view, 80% and 20% of traffic) in six frameworks, each on a 1 vCPU, 4 GiB server on Laravel Cloud with its own MySQL database. The PHP side used Laravel 13 with Octane on FrankenPHP and PHP 8.5, with 4 workers: not an unoptimized PHP-FPM, but the fast setup.
The numbers
Metric | Laravel PHP | Laravel Rust |
|---|---|---|
Requests per second (best window) | 97 | 1,774 |
Median latency in that window | 1,995 ms | 65 ms |
Peak RAM | 481 MB | 179 MB |
CPU at 50 requests/s | 52.4% | 4.2% |
RAM at 50 requests/s | 134 MB | 16 MB |
Median latency at 50 requests/s | 78 ms | 62 ms |
Wake from sleep (median) | 712 ms | 154 ms |
Cold build on Laravel Cloud (median) | 27 s | 3 min 1 s |
Source: Laravel's benchmark (Sam Rose, 1 December 2026).
What they mean
- With little traffic, users barely notice: 78 ms vs 62 ms. What changes is CPU: PHP uses twelve times more for the same work.
- With heavy traffic, PHP saturates much sooner: past a certain point every extra request queues up and latency climbs into seconds. Rust handles 18 times more on the same server.
- The cost is paid at build time: compiling Rust takes minutes. With PHP you deploy in seconds. Locally, however, Laravel Rust's incremental rebuilds take about a second.
- It's an intentionally simple API. With real business logic, heavy queries or external services the gap narrows: the database becomes the limit.
What the benchmark doesn't show
- Learning curve: Rust has ownership, lifetimes and a demanding compiler. A PHP team needs months to become productive.
- Ecosystem: Filament, Nova, Livewire and thousands of packages don't exist in Rust.
- Maturity: Laravel Rust is a beta (0.1.0 in the benchmark); Laravel PHP has been in production for over a decade.
- Hiring: there are far more PHP developers than Rust developers, and they cost less.
- Type safety: Rust wins. Routes, validation and authorization are checked at compile time; many errors that show up in production with PHP simply don't compile in Rust.
When to switch to Rust
- An API with thousands of requests per second where the server bill matters.
- Performance-critical processes: real time, very heavy queues, intensive computation.
- A team that already knows Rust or has time to learn it.
- Isolated parts of the system: you can keep the rest in PHP and share the database.
If you want a middle ground, Laravel Go promises similar speed, compiles in seconds and is much easier to learn.
Verdict
Laravel Rust is the fastest and most type-safe option in the Laravel ecosystem, but also the most expensive in team time. For most websites, stores and internal systems, a well-tuned Laravel PHP (Octane, caching, careful queries) is still enough. Rust is justified when performance is already a problem you can measure in money.
References
- Introducing Laravel Rust (laravel.com)
- Laravel Rust: 18× the throughput of Laravel PHP
- Benchmark repository
Is your Laravel application struggling with traffic? Before rewriting it in Rust, at Codegea we measure where the time goes and optimize it. Let's talk.
Written by
Derian Pinto
Founder & Full Stack Developer
Founder of Codegea. Builds custom websites, stores and platforms, and integrates and supports Arc XP for media companies.