Why does Codeigniter perform so well on benchmarks even if it does not follow language standards?

10

I see a lot of people spitting on Codeigniter, saying it's a framework junk that refuses to follow "language standards." But I find it strange to say that of the framework that has the best performance among those that are not compiled as we can see in the benchmarks below

RequisitionBenchmarkperSecond

Response Time Benchmark

Dev-Media

Dev-Media

I took this source consideration because it presents the versions of the frameworks tested and is one of the few that takes into account Codeigniter 2.

  

Note: Phalcon stands out so much from other frameworks because it is written in C, precompiled and used as a server extension, which takes away virtually all overhead that language frameworks usually have.   Thanks @Kazzkiq

  • What makes Codeigniter perform so much better than others?

  • Who really is wrong, CodeIgniter for not following the "language standards" or standards that are causing unnecessary overheads in other frameworks?

  •   

    Note: It is important to remember that PHP was created to be procedural, having OO implemented in version 5 and maintaining the possibility of being written in procedural form, however using OO in php generates a overhead as can be seen In this answer

        
    asked by anonymous 02.03.2015 / 17:07

    1 answer

    4

    Codeigniter is not and has never been "a framework junk". It is simply from a time when "language patterns" was the last thing a PHP developer had in mind.

    Codeigniter is faster because it has fewer firsts and fewer abstractions.

    Patterns of writing in a particular language serve to facilitate code reading, program extension, maintenance, and testing. Most of the time it is not performance driven.

    Codeigniter is a solid framework with good documentation and good performance. If you have ever used CI, you do not have to quit, although I recommend using Laravel for new projects or for beginners as it will force you to learn best practices in PHP application development.

        
    09.03.2015 / 17:43