CodeIgniter Forums
Bad CodeIgniter benchmark scores - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=31)
+--- Thread: Bad CodeIgniter benchmark scores (/showthread.php?tid=88083)



Bad CodeIgniter benchmark scores - danger89 - 07-17-2023

I love CI so much!! I was however surprised to see the bad results on benchmark tests like: requests per second, memory usage and execution times on CodeIgniter v4.x:

(Skip to 3:30)

[Video: https://youtu.be/Dk8YHQZ6jfY?t=223]

This is even with OPcache enabled? What is happening here? CI should be really fast right? Why are we slower then Symfony and Lumen?

Please, help me understand. Is there maybe some open tickets that address these performance issues?


[Image: php-frameworks-bench-throughput.png]


RE: Bad CodeIgniter benchmark scores - kenjis - 07-18-2023

Thank you for having interest in the CI4 performance.

The ticket is:
https://github.com/codeigniter4/CodeIgniter4/issues/6889

Symfony the default installation is really fast, and it is a minimum micro-framework.
No extra features are included.


RE: Bad CodeIgniter benchmark scores - iRedds - 07-18-2023

The graphs show that CI performs better than other full-fledged frameworks and is second only to Yii.