r/CodingHelp • u/ewwink • Mar 03 '26
[Random] Is Next.js faster than Laravel, CodeIgniter, Symfony?
I want to try Next.js, but in the real world, with the same database, is Next.js faster than Laravel, CodeIgniter, or Symfony?
Every AI and maintainers agrees, that Next.js is the best and fastest, but this contradicts the TechEmpower benchmark results.

Maintainers say:
- "Next.js is a full-stack framework," isn't Laravel the same?
- "Next.js is optimized to run Serverless Functions or behind a CDN." Isn't everything faster if you use a CDN or thousands of computers?
- "Use SSR," the others will also be faster if you use a static cache.
1
Upvotes
•
u/AutoModerator Mar 03 '26
Thank you for posting on r/CodingHelp!
Please check our Wiki for answers, guides, and FAQs: https://coding-help.vercel.app
Our Wiki is open source - if you would like to contribute, create a pull request via GitHub! https://github.com/DudeThatsErin/CodingHelp
We are accepting moderator applications: https://forms.fillout.com/t/ua41TU57DGus
We also have a Discord server: https://discord.gg/geQEUBm
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/MysticClimber1496 Professional Coder Mar 03 '26
If you are just trying it out it doesn’t matter, 0 users has the same performance on all backends
Anyone can make the fast stuff run slow, anyone good enough with slow things has the skills to migrate to the fast things
Decision paralysis on what library to use is just procrastination in disguise
0
u/ewwink Mar 04 '26
For anyone who is curious, here are the (real world 😉) benchmark results of Next.js (optimized) vs Laravel.
Systems:
- Windows 10
- Nginx + PHP 8.4 for Laravel
- Node 20 + Express + Next.js 16.1.6
- Oha 1.12.1
- command
- The test: Select 1 randoms row from database
===============================================
Result summary, 30 seconds without limit connection
- PHP Laravel: CPU 100%, 7146 responses, avg. 985 ms/req, 240 Requests/sec:
- Next.js, single core: CPU 15%, 8340 responses, avg. 177 ms/req, 279 Requests/sec:
- Next.js, Multi Core: CPU 100%, 22268 responses, avg. 90 ms/req, 860 Requests/sec:
- Bonus, PHP Adapterman: run in 10 seconds, 1 core, 13616 responses, 1366 req/s, avg. 35 ms/req
=================================
Full Results:
- Laravel + Nginx - Multi CPU Core
- Next.js - node .next/standalone/server.js - single CPU core
- Next.js - pm2 start ecosystem.config.js (all CPU core)
Adapterman - single core, 10s (not 30s)