You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 24, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 24, 2026. It is now read-only.
One thing you have to understand about PHP is nobody except the shared webhosts use the technologies you're using.
First of all, any serious PHP app should be using APC by default. It's the nature of how PHP works by default vs other language deployments. Second, use php-fpm + nginx web server (or at least worker mpm in Apache 2.4 with php-fpm or fastcgi).
I understand that purpose of this benchmark was to compare your library with other solutions, but I believe PHP was not tested fairly.
5.3 has reached end of life and 5.4 or 5.5 branch should be used instead. From my observation, applications on 5.4 perform much better and consume less memory comparing to 5.3 version, I have not tested 5.5 but it should not be worst than previous.
PDO is a bit slower, as it has higher abstraction layer comparing to MySQLi, which is more suitable to be called RAW.
It's important to state how do you run PHP on Apache server, as performance may vary, in my case DSO was 5 times faster than FastCGI.
Why did you chose a CakePHP? It's cute but it is not that type of framework that can be considered as good choice for a serious project. Instead I would look in to Zend, Symfony or YII.
Activity
CHH commentedon Mar 28, 2013
+1
hassankhan commentedon Mar 28, 2013
And add Zend benchmarks too, please 😄
Nazariy commentedon Mar 29, 2013
I understand that purpose of this benchmark was to compare your library with other solutions, but I believe PHP was not tested fairly.
onigoetz commentedon Mar 29, 2013
I also think the choice of cakePHP is very bad. it's quite well known that it's one of the slowest framework in the php world.
these benchmarks are not really recent but they give a good idea : http://symfony2.openthinklabs.com/home/cepat
(based on this code : https://github.com/fabpot/framework-benchs)
I also made a more up-to-date version : https://github.com/onigoetz/framework-benchs and found that codeIgniter is even faster.
I did not update these benchmarks for a long time but I think running them now would give more or less the same results.
I would also test Laravel 4 as I heard it is faster than codeIgniter
alexbilbie commentedon Mar 29, 2013
+1
Merge pull request #1 from pfig/feature/dancer
Merge pull request #1 from pfig/feature/dancer
Merge pull request #1 from kpacha/conf-path-fix
Merge pull request #1 from gerardroche/nginx-fixes
Merge pull request #1 from kellabyte/haywire_update_arguments
Merge pull request #1 from TechEmpower/master
Merge pull request #1 from TechEmpower/master
4 remaining items
Try to fix PHP/hhvm tests by working around an issue with SET NAMES
Try to fix PHP/hhvm tests by working around an issue with SET NAMES (#…
Fix an uncaught exception during dart startup
Fix an uncaught exception during dart startup (#3640)
[ci fw-only Java/act] hibernate pgsql updates performance tune #1 - r…
Merge pull request #1 from TechEmpower/master
Merge pull request TechEmpower#1 from Sanne/quarkus-fixes
Donkey (#6218)
Donkey (TechEmpower#6218)
Kotlin/http4k: Upgrade everything, add GraalVM and Loom builds (#7675)
[JavaScript] Add HyperExpress (#8305)
Merge pull request #1 from TechEmpower/master
Add gnosis-uring framework (Rust, io_uring)
perf(gnosis-uring): HTTP→PG pipeline rotation + reusable buffers
perf(gnosis-uring): Unix domain socket + enum dispatch (no Box<dyn>)