Q
Q
quad692020-06-21 13:32:33
PHP
quad69, 2020-06-21 13:32:33

Which is faster, Phalcon or pure PHP?

I can't find a comparison between Phalcon and pure PHP anywhere. Who knows what is faster and by how much?
Provided that in pure PHP (7.4) there is a minimum of included files and OOP.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
S
sl0, 2020-06-21
@sl0

Faster is what is better written. A comparison of Phalcon and Modx has already been made. And drupal 7, which is faster on php5.6 than drupal 8 on php7.

D
Dmitry Entelis, 2020-06-21
@DmitriyEntelis

Any framework will add an overhead, this is always a compromise between the ease of maintaining / developing code and the speed of its work.
On the other hand, if you have a really highly loaded component that depends on the performance of the script logic (and not the database, for example), then it is much more correct to rewrite it on some GO and immediately get x10 performance.

S
Sanes, 2020-06-21
@Sanes

Phalcon is already dead. Even the usual Modx did it.
https://modx.pro/sites/7711

D
DmitryS, 2020-06-22
@DmitryS

The only thing Phalcon can be faster in is when complex components are called, which do a lot of things inside, count, shift from box to box, make new boxes, etc. What percentage of the entire application (executable code) is this is up to you to consider. But if your application is written/designed intelligently enough, then some time after the launch of the application it will already be in the cache and the entire bonus from Falcon will be leveled.
And if you want speed from PHP in 2020, connect Swoole (swoole.co.uk) and write your entire application, taking into account all its features and recommendations.

E
Evgeny Matveev, 2021-02-18
@ematveev

if the web application is small, then pure PHP will be faster, and if it is large and complex, then Phalcon will be faster

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question