Laravel Rust vs PHP: 18× Throughput Benchmark | Mohamed Said       [Skip to content](#main)  [ ![](https://cdn.msaied.com/01KT78WE565VEMM3PSNQAAB0MH.png) Mohamed SaidLaravel Backend Engineer ](https://msaied.com) - [Home](https://msaied.com)
- [Projects](https://msaied.com/projects)
- [Articles](https://msaied.com/articles)
- [Certificates](https://msaied.com/certificates)
- [About](https://msaied.com#about)

           [  Contact](https://msaied.com#contact) Menu 

Menu
----

Close 

 - [HomeStart here](https://msaied.com)
- [ProjectsCase studies](https://msaied.com/projects)
- [ArticlesEngineering notes](https://msaied.com/articles)
- [CertificatesCredentials](https://msaied.com/certificates)
- [AboutHow I work](https://msaied.com#about)
- [ContactGet in touch](https://msaied.com#contact)

  [Start a conversation](https://msaied.com#contact) [WhatsApp](https://wa.me/201094619204) [Email](mailto:hello@msaied.com) 

 1. [Home](https://msaied.com)
2. /
3. [Articles](https://msaied.com/articles)
4. /
5. [Laravel](https://msaied.com/articles?category=laravel)
6. /
7. Laravel Rust Benchmarked: 18× the Throughput of Laravel PHP

   [Laravel](https://msaied.com/articles?category=laravel) [PHP](https://msaied.com/articles?category=php) 

 Laravel Rust Benchmarked: 18× the Throughput of Laravel PHP
============================================================

 Laravel's official benchmark pits Laravel Rust against Laravel PHP, Django, Rails, Rocket, and Beego. The results show 1,774 RPS for Laravel Rust versus 97 for Laravel PHP — an 18× difference worth understanding.

 ![](https://cdn.msaied.com/01M22N44A70A5MC2S599JP0MPH.webp) [Mohamed Said](https://msaied.com#person) Published 1 Dec 2026 · Updated 3 Dec 2026 · 3 min read

ShareCopy linkCopied

 ![Laravel Rust Benchmarked: 18× the Throughput of Laravel PHP](https://cdn.msaied.com/842/f1f2dcfcc09498d0833e073d339309c7.png) 

  On this page +1. [Laravel Rust Achieves 18× the Throughput of Laravel PHP](#laravel-rust-achieves-18-the-throughput-of-laravel-php)
2. [How the Test Was Run](#how-the-test-was-run)
3. [Peak Throughput Results](#peak-throughput-results)
4. [Steady-State Load: 50 RPS](#steady-state-load-50-rps)
5. [Build Times](#build-times)
6. [Wake-from-Sleep Latency](#wake-from-sleep-latency)
7. [Key Takeaways](#key-takeaways)
8. [Should You Switch?](#should-you-switch)

 Laravel Rust Achieves 18× the Throughput of Laravel PHP
-------------------------------------------------------

Laravel published a detailed benchmark on 1 December 2026 comparing six frameworks deployed on Laravel Cloud: **Laravel Rust**, Laravel PHP, Django, Rails, Rocket, and Beego. The headline finding is stark — Laravel Rust handled **1,774 successful requests per second** in its best 10-second window, while Laravel PHP managed **97 RPS** in the same test conditions.

### How the Test Was Run

Author Sam Rose used [k6](https://grafana.com/oss/k6/) to ramp traffic from 1 RPS to 2,000 over 20 minutes against a simple read-only API (two endpoints: list chirps with pagination, fetch a single chirp). Each app ran on a Pro 4 GiB instance backed by a MySQL Pro 4 GiB database in Canada Central. The benchmark repository is public on GitHub.

### Peak Throughput Results

| Framework | RPS | p50 (ms) | p95 (ms) | p99 (ms) | |---|---|---|---|---| | Laravel Rust | **1,774** | **65** | **112** | **137** | | Rocket | 1,623 | 110 | 173 | 213 | | Beego | 1,596 | 275 | 685 | 940 | | Rails | 253 | 121 | 264 | 283 | | Django | 183 | 689 | 946 | 987 | | Laravel PHP | 97 | 1,995 | 2,634 | 2,707 |

The three interpreted-language frameworks (Laravel PHP, Django, Rails) hit CPU saturation within the first few minutes of the ramp. Laravel Rust didn't approach 95% CPU until around minute 18.

### Steady-State Load: 50 RPS

Under a manageable 50 RPS load, all six frameworks served requests successfully. The key differentiator was **CPU consumption**:

- Laravel Rust: ~4.2% CPU, 16 MB RAM
- Rocket: ~4.4% CPU, 11 MB RAM
- Beego: ~5.2% CPU, 18 MB RAM
- Rails: ~20.5% CPU, 119 MB RAM
- Django: ~28.1% CPU, 111 MB RAM
- Laravel PHP: **52.4% CPU**, 134 MB RAM

Latency at 50 RPS was comparable across all frameworks — the compiled languages simply leave far more headroom for traffic spikes.

### Build Times

Compiled languages pay a build-time cost:

- **Cold build on Laravel Cloud (median):** Laravel PHP 27 s · Django 37 s · Rails 53 s · Beego 1 m 6 s · Rocket 2 m 10 s · Laravel Rust **3 m 1 s**
- **Cold local build (M4 MacBook Pro, median):** Beego 5.3 s · Rocket 16.3 s · Laravel Rust 19.4 s
- **Incremental local rebuild (median):** Laravel Rust **1.1 s** · Rocket 1.7 s · Beego 1.8 s

Laravel Rust's incremental rebuild of 1.1 s is the fastest of the three compiled frameworks, making the day-to-day development loop tight.

### Wake-from-Sleep Latency

With scale-to-zero enabled on Laravel Cloud Flex compute, the platform must restore a sleeping app before it can respond. Across 100 wake-ups in each of nine regions (5,400 samples total):

- Laravel Rust median: **154 ms** (p95: 257 ms)
- Beego median: 154 ms (p95: 259 ms)
- Rocket median: 156 ms (p95: 291 ms)
- Laravel PHP median: **712 ms** (p95: 886 ms)

That is a roughly 4.6× difference in median wake time.

### Key Takeaways

- Laravel Rust delivers **18× the peak throughput** of Laravel PHP under a ramping load test.
- At steady-state 50 RPS, Laravel Rust uses **~4% CPU** versus ~52% for Laravel PHP — directly translating to infrastructure cost savings.
- Cold Cloud builds for Laravel Rust take ~3 minutes; incremental local rebuilds take ~1.1 seconds.
- Wake-from-sleep latency is **154 ms** for Laravel Rust versus **712 ms** for Laravel PHP.
- Laravel PHP and Laravel Rust apps can run **side by side** on Laravel Cloud, sharing the same database, allowing incremental migration of hot paths.
- The benchmark used a deliberately simple app; results for complex applications will differ.

### Should You Switch?

The author frames it well: you do not have to choose one or the other. Laravel Cloud lets a PHP app and a Rust app coexist in the same organization and attach to the same database. You can migrate the highest-traffic endpoints to Rust while keeping the rest of your application in PHP.

---

*Source: [Laravel Rust: 18× the throughput of Laravel PHP](https://laravel.com/blog/laravel-rust-benchmark) — Laravel Blog, 1 December 2026.*

- [Laravel Rust](https://msaied.com/articles?search=Laravel%20Rust)
- [Benchmark](https://msaied.com/articles?search=Benchmark)
- [Performance](https://msaied.com/articles?search=Performance)
- [Laravel Cloud](https://msaied.com/articles?search=Laravel%20Cloud)
- [PHP](https://msaied.com/articles?search=PHP)

 Frequently asked questions 
---------------------------

  How much faster is Laravel Rust than Laravel PHP in the benchmark?In the official Laravel benchmark, Laravel Rust handled 1,774 successful requests per second in its best 10-second window, compared to 97 RPS for Laravel PHP — approximately 18 times higher throughput.

   Can I run Laravel PHP and Laravel Rust side by side on Laravel Cloud?Yes. On Laravel Cloud, a Laravel PHP app and a Laravel Rust app can run in the same organization and connect to the same database, as long as they are deployed in the same region. This allows gradual migration of high-traffic endpoints to Rust.

   How do Laravel Rust and Laravel PHP compare on wake-from-sleep latency?Across 5,400 samples in nine regions, Laravel Rust had a median wake-from-sleep restore time of 154 ms (p95: 257 ms), while Laravel PHP had a median of 712 ms (p95: 886 ms).

   ![Mohamed Said](https://cdn.msaied.com/01M22N44A70A5MC2S599JP0MPH.webp)About the author
----------------

[Mohamed Said](https://msaied.com#person)Senior Backend Engineer specializing in Laravel, scalable SaaS platforms, APIs, and cloud infrastructure. I build secure, high-performance web applications that help businesses grow.

[About](https://msaied.com#about) [GitHub ↗](https://github.com/EG-Mohamed) [LinkedIn ↗](https://www.linkedin.com/in/msaiedm/) [WhatsApp ↗](https://wa.me/201094619204) [Email Address ↗](mailto:hello@msaied.com) [My CV ↗](https://drive.google.com/file/u/0/d/1MF20IPRJyzfy32mhEutjL5EpSls0w2Q8/view)  

   [Previous articleHow Laravel Cloud Packs Kubernetes Nodes Efficiently](https://msaied.com/articles/how-laravel-cloud-packs-kubernetes-nodes-efficiently) [Next articleMigration Durations and Job Memory Usage in Laravel 13.45](https://msaied.com/articles/migration-durations-and-job-memory-usage-in-laravel-1345)  

   On this page
-------------

1. [Laravel Rust Achieves 18× the Throughput of Laravel PHP](#laravel-rust-achieves-18-the-throughput-of-laravel-php)
2. [How the Test Was Run](#how-the-test-was-run)
3. [Peak Throughput Results](#peak-throughput-results)
4. [Steady-State Load: 50 RPS](#steady-state-load-50-rps)
5. [Build Times](#build-times)
6. [Wake-from-Sleep Latency](#wake-from-sleep-latency)
7. [Key Takeaways](#key-takeaways)
8. [Should You Switch?](#should-you-switch)

 ###  Have a technical challenge?

 Tell me what you’re building. I reply within two working days.

[Start a conversation](https://msaied.com#contact) 

   Related articles
-----------------

 [ ![](https://cdn.msaied.com/843/4b47e60127e1da7f55c7f483ae7352d4.png) Laravel · 4 min read### Migration Durations and Job Memory Usage in Laravel 13.45

1 Dec 2026 ](https://msaied.com/articles/migration-durations-and-job-memory-usage-in-laravel-1345) [ ![](https://cdn.msaied.com/841/c1d2916389c95533967f0a593b3c14e0.png) Laravel · 4 min read### How Laravel Cloud Packs Kubernetes Nodes Efficiently

1 Dec 2026 ](https://msaied.com/articles/how-laravel-cloud-packs-kubernetes-nodes-efficiently) [ ![](https://cdn.msaied.com/840/0ea4b7fd609b1d36553ed8f714446b8d.png) Laravel · 3 min read### How Laravel News Cut Its Laravel Cloud Bill Nearly in Half

30 Nov 2026 ](https://msaied.com/articles/how-laravel-news-cut-its-laravel-cloud-bill-nearly-in-half) 

  Have a technical challenge?
----------------------------

Tell me what you’re building. I reply within two working days.

 [Discuss your project ↗](https://msaied.com#contact) 

  © 2026 Mohamed Said · Built with Laravel, meant to last.Senior Backend Engineer specializing in Laravel, scalable SaaS platforms, APIs, and cloud infrastructure. I build secure, high-performance web applications that help businesses grow.

 - [Home](https://msaied.com)
- [Articles](https://msaied.com/articles)
- [Certificates](https://msaied.com/certificates)
- [GitHub](https://github.com/EG-Mohamed)
- [LinkedIn](https://www.linkedin.com/in/msaiedm/)
- [WhatsApp](https://wa.me/201094619204)
- [Email Address](mailto:hello@msaied.com)
- [My CV](https://drive.google.com/file/u/0/d/1MF20IPRJyzfy32mhEutjL5EpSls0w2Q8/view)
- [Sitemap](https://msaied.com/sitemap.xml)
