Answer the question
In order to leave comments, you need to log in
Is Laravel really that slow?
After a long break, I'm back in action. I look at what they write now.
Five years ago, I would have chosen yii2 without any options.
Now I'm watching laravel the most popular.
Delivered for the test yii2, laravel, yii3.
Yii3 - did not start right away, so I excluded it for now.
So here's what's confusing. On my computer, yii2 gives a simple page in 40-50ms and spends 3-5MB of memory (and if the cache is enabled in less than 30ms), and laravel takes no less than 150ms and takes about 12MB of memory, well, at least 120ms after all, all optimizations (compositor, caching, etc.).
A simple page, without connections to the database.
In the case of laravel, I even tried to give just a line of text, about the same results.
This is fine? What are the current trends?
Answer the question
In order to leave comments, you need to log in
Because Yii2 is empty. Put Lumen and compare.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question