Alex Rock
Alex Rock
Dec 12, 2017 · 1 min read

Share exact way to setup this test. Otherwise this is useless and not apples/apples. Symfony has a compiled container in cache highly optimized and other things “real” apps need enabled by default.

I get the psychological appeal of Laravel being “more performant” but I don’t build real apps on a raw Laravel with a few less lines of code.

Just to come back to serious things:

If you want clear benchmarks, please provide full applications with APIs, big event workflows, validation, etc., that could be as much framework-agnostic as possible in order to just copy/paste the logic from one app to another. Fabien only talked about benchmarks made by someone else on http://www.phpbenchmarks.com/en, and there is nothing said about the used codebase. Oh wait, they’re all there: https://github.com/phpbenchmarks

If you want you can make benchmarks yourself, but be faire: create a Symfony 4.0 project, create a Laravel project, paste both code bases, fix each framework’s config because they’re not the same, and use something like Gherkin/Behat tests that are identical on both applications.

If you have something that complex, maybe yelling at Fabpot because you don’t like Laravel to be mentioned as “Slower than {whatever}” will become useless.

I might laugh at loud if performances are equal, by the way. Or if Laravel is effectively slower. Or Symfony. Whatever, actually. Doesn’t matter. It won’t stop developers from saving themselves from heavy lazy SQL queries…

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store