Laravel Rust Is 18x Faster, But That Is Not the Point
Published Dec 1, 2026Updated Dec 1, 2026Dishant Sharma5 min read

Laravel Rust handled 1,774 requests per second in its best ten-second window. Laravel PHP handled 97.
That is 18.3×, so the headline is accurate. I went looking for the lie and did not find one.
What I did find is a footnote that changes how you should read the number, and an argument buried at the bottom of the post that is more interesting than the benchmark itself.
What it actually is
Laravel Rust is a full-stack Rust web framework from Laravel, announced by Taylor Otwell. The pitch is that everything you like about Laravel exists in Rust: Models, queues, mail, auth.
The familiarity is the product. If you have written Laravel, the concepts map over even though the language does not. That is a deliberate bet that the framework's ergonomics, not PHP, were always the valuable part.
It is open source and first-party. That matters for how you read the benchmark, which I will get to.
How the test was run
The setup is more careful than most benchmark posts.
Six frameworks: Laravel Rust, Laravel PHP, Django, Rails, Rocket, and Beego. Same backend in each, built following that framework's own conventions. Two endpoints, one listing chirps with pagination, one fetching a single chirp.
Traffic ramped from 1 request per second to 2,000 over 20 minutes, read-only, with 80% of requests hitting the list endpoint. k6 ran from a separate instance in the same region. Each framework's score is its best ten-second window with zero HTTP failures.
The database was deliberately small, 200 chirps and 10 authors, so the test measures the framework and not MySQL.
| Framework | Best RPS | When it peaked |
|---|---|---|
| Laravel Rust | 1,774 | 17m 40s |
| Rocket | 1,623 | 16m 10s |
| Beego | 1,596 | 16m 00s |
| Rails | 253 | 2m 30s |
| Django | 183 | early |
| Laravel PHP | 97 | early |
Nobody hit 2,000. That is worth noting before you quote the top line.
The footnote that matters
Here is the part most people will skip.
Laravel PHP, Django, and Rails lost throughput in the first few minutes because CPU hit 100% around then. The compiled frameworks kept going because they had headroom.
So the 18× is not "Rust is 18× faster at your workload." It is "PHP collapsed under overload while Rust kept climbing."
The author then ran a second test that is far more useful: a steady 50 requests per second for five minutes on all six.
At manageable load, all six frameworks handled it, and latency was comparable.
The difference was CPU. Laravel PHP averaged around 52%, Django 28%, Rails 19 to 21%, and Beego, Rocket, and Laravel Rust sat at 4 to 5%.
Only three successful responses across the entire run took more than a second.
And that reframes everything. The 18× is a headroom number, and headroom is a cost number. If you need 50 requests a second, both stacks work. One costs ten times more CPU to do it.
Where Rust actually pays
Two places the post measures that I did not expect.
The first is wake-from-sleep. On Laravel Cloud, idle apps can scale to zero and stop billing, but waking them back up has a cost. Across 5,400 samples in nine regions, Laravel Rust's 95th percentile restore was 257 ms and Laravel PHP's was 886 ms.
The author is refreshingly honest about this one: "I'm not going to sit here and try to convince you this is the difference between a sale and a bounce."
The second is where Rust does not pay. Cold builds on Cloud were slowest for Laravel Rust and fastest for Laravel PHP. That is the tradeoff nobody puts in the announcement.
But the save is local. On an M4 Pro, incremental rebuilds after a small edit were fastest in Laravel Rust. Cold builds were not.
You pay upfront at compile time and get it back every time you edit a file.
That is a reasonable deal for daily work and a painful one for CI.
What this is really about
There is a section near the end of the post that is not about benchmarks at all, and it is the actual thesis.
The author points out that interpreted languages existed to be easier for humans. PHP, Python, Ruby do more work at runtime so that less code needs writing. You trade performance for human ergonomics.
Then: "If humans aren't writing code anymore, and LLMs can write however much code needs writing without getting tired or bored, does it make sense to use languages that pay a measurable price to accommodate us humans?"
That is the real argument. The 18× is just the evidence attached to it.
Whether you agree depends on whether you believe agents will write most of your code. If they will, then the ergonomics tax you pay in PHP buys you less every year.
What an agent gets from it
The practical answer is that a Rust framework with Laravel's shape is a much easier target for a model than raw Rust.
Laravel has strong conventions. Models live here, queues work like this, auth is wired that way. A model that has seen a million Laravel apps can generate idiomatic Laravel Rust far more reliably than it can invent an architecture from scratch in a language with fewer opinions.
And conventions are a form of context. The more opinionated the framework, the less the model has to guess.
There is a second benefit that is more subtle. Rust's compiler catches whole categories of mistakes that PHP defers to runtime. If an agent writes your code, a compiler that refuses to ship broken lifetimes is a safety net that a runtime error is not.
An agent that can iterate against a hostile compiler is more trustworthy than one that can only run the tests.
The real talk
This benchmark was run by Laravel, about a Laravel product, comparing against Laravel's own older product. The author is a Staff Developer Educator at Laravel.
That does not make the numbers wrong. The method is documented, the harness is published, and the author invites corrections. But it does mean you should read it as "our new thing is much better than our old thing," which is a claim with an obvious incentive.
Three things to check before you plan a migration.
- The apps are simple by design. The author says so. Complex apps will show different results, and the PHP side may close some of the gap once you add real business logic.
- Cold build times on Cloud favor PHP. If your loop is deploy-heavy rather than edit-heavy, the compile cost is real.
- You do not have to choose. On Laravel Cloud a PHP app and a Rust app can run side by side in one org, attached to the same database if they are in the same region.
That last point is the most practical thing in the post. Keep the app in PHP, move the two endpoints that melt under load to Rust, and skip the rewrite entirely.
Small tangent. I have watched the "compiled language is faster" argument for fifteen years, and it almost never changed anyone's mind.
What changes minds is the moment the bill arrives and someone realizes the CPU graph is the invoice.
A 52% versus 5% CPU gap at the same throughput is not a benchmark result. It is a line item that shows up every month.
One last thing
Nobody hit 2,000 requests per second, including the framework this post is promoting.
I find that more convincing than if they had. A post that hits its own target exactly looks staged. A post where the winner peaks at 1,774 and says so, then shows you where it fails, is a post written by someone who expects to be checked.
The 18× is real. Read it as headroom and cost, not as a stopwatch, and the number holds up.