Fastest Frameworks? Speed Comparison for Popular PHP Frameworks

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ธ.ค. 2024

ความคิดเห็น • 40

  • @DeskNook
    @DeskNook  ปีที่แล้ว +2

    Like & Subscribe
    Like & Subscribe
    Like & Subscribe

  • @rafageist
    @rafageist 10 หลายเดือนก่อน +6

    Long live pure PHP!

  • @AllanSavolainen
    @AllanSavolainen ปีที่แล้ว +6

    I would love to see similar test but with using pure php + pure sql vs frameworks and ORM

    • @hrabianero
      @hrabianero 7 หลายเดือนก่อน

      Lol, why?

    • @AllanSavolainen
      @AllanSavolainen 7 หลายเดือนก่อน

      @@hrabianero 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...

  • @TariqSajid
    @TariqSajid ปีที่แล้ว +5

    can you please benchmark fomo framework and laravel with octane ?

    • @DeskNook
      @DeskNook  ปีที่แล้ว +2

      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

  • @sliceem88
    @sliceem88 ปีที่แล้ว +4

    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

  • @vasiovasio
    @vasiovasio 2 หลายเดือนก่อน

    PHP for Life! ❤❤❤

  • @MelroyvandenBerg
    @MelroyvandenBerg ปีที่แล้ว

    Thank you so much! This is very valuable information, keep doing this great work & benchmarks!

  • @terryweb
    @terryweb ปีที่แล้ว +2

    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

    • @Trance_Code
      @Trance_Code ปีที่แล้ว

      @@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 ปีที่แล้ว +1

      @@Trance_Code 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.

  • @RaineWilder
    @RaineWilder ปีที่แล้ว +1

    So which one is fastest, and has smallest footprint? Pure php?

    • @DeskNook
      @DeskNook  ปีที่แล้ว +2

      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

  • @aurelian3401
    @aurelian3401 ปีที่แล้ว +1

    Let's test Nicotine Framework for PHP & MySQL!

  • @This-Is-The-End
    @This-Is-The-End 9 หลายเดือนก่อน

    Laravel! 😊😊😂😂😊😊
    PS: Thank you for your work.

  • @bgeneto
    @bgeneto ปีที่แล้ว +1

    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 :-(

  • @alihammadshah
    @alihammadshah 29 วันที่ผ่านมา

    please add mezzio php

  • @gowork2973
    @gowork2973 5 หลายเดือนก่อน

    please please please - add Codeigniter 3 on here as well - I think it will be much faster that CI4 - and many others

  • @rhtservicestech
    @rhtservicestech 10 หลายเดือนก่อน

    For Lavarel to be the most popular, it has some of the worst performance based on the graphs shown.

  • @vinniv6806
    @vinniv6806 ปีที่แล้ว +3

    Laravel is so shitty nowadays....

  • @ivan.melendez
    @ivan.melendez ปีที่แล้ว

    missing to add KumbiaPHP :(

  • @tanjakahlo5255
    @tanjakahlo5255 ปีที่แล้ว +1

    Test Trongate PHP. Thx.

  • @JanezNovak-fk4qr
    @JanezNovak-fk4qr ปีที่แล้ว

    Nice. Next time add Trongate framework. It’s mentioned ont the website that is fast.

  • @midophriya3657
    @midophriya3657 ปีที่แล้ว

    phalcon, trongate?

  • @truthteachers
    @truthteachers ปีที่แล้ว +14

    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  ปีที่แล้ว +3

      Laravel has its pros and cons and one of the cons is the performance

    • @truthteachers
      @truthteachers ปีที่แล้ว +4

      @@DeskNook That is why o decided to create my own framework using pure php and basic libraries.

    • @truthteachers
      @truthteachers ปีที่แล้ว +1

      Yes we all should do that. Use Laravel only as template model. Only then innovation and intelligence begins.

    • @SodalisUK
      @SodalisUK ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      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