Fastest Frameworks? Speed Comparison for Popular PHP Frameworks

  Рет қаралды 4,829

Desk Nook

Desk Nook

Күн бұрын

Performance/Speed comparison between the popular frameworks for web programming based on the minimum bootstrap cost of in the real world, PHP 8.2
📺 Recommended
--------------------------------------------------
Top 5 Design Patterns in Software Engineering: • 5 Necessary Design Pat...
PHP Fibers & Asynchronous: • PHP Fibers & Asynchron...
PHP 8.2 Whats New: • PHP 8.2: Is This the U...
PHP Generators & Iterators: • PHP Tutorial: Generato...
♨️ Benchmark Environment
--------------------------------------------------
github.com/myaaghubi/PHP-Fram...
🔗 Reference
--------------------------------------------------
github.com/myaaghubi/PHP-Fram...
🧾 Timestamps
--------------------------------------------------
0:00 Frameworks Speed Comparison
0:26 PHP Frameworks Bench: Github Repo
2:05 Speed && Memory Comparison: OPCache OFF
3:36 Speed && Memory Comparison: OPCache ON
4:28 Benchmark Environment
5:03 Final Chart Frameworks Speed Comparison
#php #benchmark #framework #opcache #laravel #symfony #yii #cakephp #slim #fatfree #codeigniter #phroute #fastroute #purephp #apachebench #wrk #silex #jit #programming #tutorial #learnphp #development #backend #softwareengineer #tutorial #programmingtutorial #phptutorial

Пікірлер: 38
@DeskNook
@DeskNook Жыл бұрын
Like & Subscribe Like & Subscribe Like & Subscribe
@rafageist
@rafageist 4 ай бұрын
Long live pure PHP!
@MelroyvandenBerg
@MelroyvandenBerg 11 ай бұрын
Thank you so much! This is very valuable information, keep doing this great work & benchmarks!
@AllanSavolainen
@AllanSavolainen 8 ай бұрын
I would love to see similar test but with using pure php + pure sql vs frameworks and ORM
@hahabanero
@hahabanero 2 ай бұрын
Lol, why?
@AllanSavolainen
@AllanSavolainen 2 ай бұрын
@@hahabanero So that people would see that those frameworks make most things orders of magnitude slower. And don't get me started with ORMs and many-to-many relations...
@sliceem88
@sliceem88 Жыл бұрын
Nice one ! You did massive work !! Maybe you could also compare Async Frameworks ?
@DeskNook
@DeskNook Жыл бұрын
Thanks buddy, not sure about it actually its challenging to have fair benchmarks on PHP Async libs
@TariqSajid
@TariqSajid Жыл бұрын
can you please benchmark fomo framework and laravel with octane ?
@DeskNook
@DeskNook Жыл бұрын
For a new framework 1:00 make sure to add it in the repo and ask for PR, asyn base stuff is out of the scope for the library
@terryweb
@terryweb Жыл бұрын
Why isn't Leaf more popular? It's one of the best PHP frameworks out there, and this benchmark proves it. It can even work with Swoole.
@DeskNook
@DeskNook Жыл бұрын
The competition between frameworks is high and speed is one of the factors however it wins in this comparison
@migles1728
@migles1728 Жыл бұрын
@@DeskNook Can you try a new test with Laravel Octane and Swoole, this can give a really best performance, and test with pure php of course, this is really better than OPCache...
@maxymajzr
@maxymajzr 11 ай бұрын
@@migles1728 it's not better, it's also ridden with problems and the apparent speedup is negligible as you get better results with PHP-FPM without sideffects that come with Swoole and Octane. Octane is one big, big problem and shouldn't be used by serious apps.
@This-Is-The-End
@This-Is-The-End 3 ай бұрын
Laravel! 😊😊😂😂😊😊 PS: Thank you for your work.
@gowork2973
@gowork2973 12 күн бұрын
please please please - add Codeigniter 3 on here as well - I think it will be much faster that CI4 - and many others
@aurelian3401
@aurelian3401 6 ай бұрын
Let's test Nicotine Framework for PHP & MySQL!
@RaineWilder
@RaineWilder 11 ай бұрын
So which one is fastest, and has smallest footprint? Pure php?
@DeskNook
@DeskNook 11 ай бұрын
Smaller frameworks has lower footprint, for the case, micro-frameworks are better considering OPCache On, between frameworks Symfony is faster and between micro-frameworks leaf & fatfree are in the same range however for micro-scale projects I prefer pure php
@rhtservicestech
@rhtservicestech 4 ай бұрын
For Lavarel to be the most popular, it has some of the worst performance based on the graphs shown.
@vinniv6806
@vinniv6806 8 ай бұрын
Laravel is so shitty nowadays....
@bgeneto
@bgeneto 10 ай бұрын
I really like Codeigniter a lot! But unfortunately, since version 4, it has been bloating and losing performance. In many benchmarks, it's shown to be lagging behind only Laravel :-(
@ivan.melendez
@ivan.melendez 10 ай бұрын
missing to add KumbiaPHP :(
@tanjakahlo5255
@tanjakahlo5255 6 ай бұрын
Test Trongate PHP. Thx.
@JanezNovak-fk4qr
@JanezNovak-fk4qr 6 ай бұрын
Nice. Next time add Trongate framework. It’s mentioned ont the website that is fast.
@midophriya3657
@midophriya3657 10 ай бұрын
phalcon, trongate?
@truthteachers
@truthteachers Жыл бұрын
I always knew Laravel is an overloaded mess. The developers became greedy and. integrated too much rubbish into it. Hit a bug and Laravel will send you to the loony bin, especially newbies. My advise: stay away from it.
@DeskNook
@DeskNook Жыл бұрын
Laravel has its pros and cons and one of the cons is the performance
@truthteachers
@truthteachers Жыл бұрын
@@DeskNook That is why o decided to create my own framework using pure php and basic libraries.
@truthteachers
@truthteachers Жыл бұрын
Yes we all should do that. Use Laravel only as template model. Only then innovation and intelligence begins.
@SodalisUK
@SodalisUK 8 ай бұрын
As with all benchmarks, the relative performance depends heavily on the functionality you use in your benchmark code. If you are selecting a framework to do a "hello world" application, the best framework is the "none" framework. It is startlingly fast. It loads only 1 file. But if you're benchmark includes the sort of functionality that Frameworks provide, like ORM usage, html templates, data manipulation, the results will be different. Also, why would you ever run a complex framework with opcache off? Any benchmark with opcache off is irrelevant. That said, frameworks trend to preliad the entire framework and make zero effort to lazyload only the parts of the framework and application that are actually used. Doing this would be very beneficial to performance.
@LtMatrix1
@LtMatrix1 6 ай бұрын
And this will scale with biger apps. As creator of PHP said all freimworks suck and as PHP progress this will be more and more true to the point of switching from framework to custom php solutions as it will yield much more stability, security and performace
PHP 8 3 Released
11:03
ThePrimeTime
Рет қаралды 99 М.
Fastest PHP Version? PERFORMANCE comparison
7:38
Desk Nook
Рет қаралды 1,6 М.
100❤️
00:20
Nonomen ノノメン
Рет қаралды 71 МЛН
Cute Barbie Gadget 🥰 #gadgets
01:00
FLIP FLOP Hacks
Рет қаралды 55 МЛН
TRY NOT TO LAUGH 😂
00:56
Feinxy
Рет қаралды 13 МЛН
Они убрались очень быстро!
00:40
Аришнев
Рет қаралды 3,1 МЛН
PHP. Spiral. Benchmarking web frameworks
17:52
Yurij Uvarov
Рет қаралды 1,1 М.
PHP doesn't suck (anymore)
10:48
Aaron Francis
Рет қаралды 196 М.
Milko Kostrukov - PHP Fibers | #phpsrb
53:47
PHP Srbija
Рет қаралды 700
Which PHP Framework Should You Use in 2023? - #102
15:47
Dev Drawer
Рет қаралды 14 М.
Is PHP the Secret King of Code?
6:42
Stefan Mischook
Рет қаралды 53 М.
PHP on the frontend! No more Javascript!
14:47
Aaron Francis
Рет қаралды 117 М.
PHP Fibers | Tomasz Turkowski
38:55
International PHP Conference
Рет қаралды 1,7 М.
Which is the best PHP Framework?
12:24
Happy Developers
Рет қаралды 114 М.
Why is Laravel NOT used in Big Development Projects?
11:53
Stefan Mischook
Рет қаралды 167 М.
Go IS Slower Than PHP | Prime Reacts
5:22
ThePrimeTime
Рет қаралды 73 М.
100❤️
00:20
Nonomen ノノメン
Рет қаралды 71 МЛН