Show HN
Show HN: I benchmarked Larust against Laravel Rust (~27x faster)
Now that Laravel Rust is available, I wanted to see how the two compared. I ran some basic SQLite tests against both, and I’m pretty happy with the results.
Read 101 posts (API): Larust: ~80,875 req/s Laravel Rust: ~3,025 req/s
Create a post: Larust: 337 req/s Laravel Rust: 98 req/s
Create p99 latency: Larust: 158.3 ms Laravel Rust: 5.18 s
Release binary: Larust: 15.1 MiB Laravel Rust: 31.0 MiB
Both used release builds with matched optimization settings, trimmed dependency features, and the same machine. The load was 50 concurrent connections over 15-second runs.
The read result surprised me most, so I ran it a few more times to check. I expected good performance from Rust, but seeing Larust handle around 80,000 requests per second while reading from SQLite was encouraging.
What stood out more was the gap between the two frameworks: Larust managed roughly 27× the throughput of Laravel Rust in this test. It’s a narrow comparison, just a database read through each framework’s API router, without sessions, CSRF, or caching. I’d like to understand that gap better and see whether others can reproduce it.
I traced the write difference to SQLite connection handling. Larust uses a single dedicated SQLite writer connection. Laravel Rust’s configuration allowed concurrent writers, which hit database locking under this load. Larust had no errors; Laravel Rust recorded 14 HTTP 500s and 50 client timeouts.
These are short tests on one machine, and Laravel Rust was only a day into its public beta when I ran them. I’m pleased with how Larust did, but I wouldn’t take these numbers as a verdict on either framework overall. The results and reproduction details are in the repo README:
GitHub: https://github.com/WallabyDesigns/Larust Website: https://larust.dev/ Docs: https://docs.larust.dev/
If anyone wants to try reproducing them or spots a problem with the setup, I’d appreciate your feedback.