CodeIgniter Forums
Performance: Codeigniter 3.1.10 in PHP 5.6 vs PHP 7.2 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: General (https://forum.codeigniter.com/forumdisplay.php?fid=1)
+--- Forum: Lounge (https://forum.codeigniter.com/forumdisplay.php?fid=3)
+--- Thread: Performance: Codeigniter 3.1.10 in PHP 5.6 vs PHP 7.2 (/showthread.php?tid=73989)



Performance: Codeigniter 3.1.10 in PHP 5.6 vs PHP 7.2 - lwmirkk - 07-03-2019

Hi!

Is there any comparative performance of Codeigniter in these versions of PHP?

Thanks a lot. =)


RE: Performance: Codeigniter 3.1.10 in PHP 5.6 vs PHP 7.2 - website - 07-03-2019

There is not much difference, CI is fast framework.


RE: Performance: Codeigniter 3.1.10 in PHP 5.6 vs PHP 7.2 - sv3tli0 - 07-04-2019

(07-03-2019, 01:09 PM)website Wrote: There is not much difference, CI is fast framework.

Not for CodeIgniter but for PHP itself for sure PHP 7+ has better performance than 5.6.
Another question is, will you feel it or no. It always depend on the code that you have.
For old well performing projects there is no big point to upgrade them (except that 5.6 is not supported officially).

New project should be started only at PHP 7+ versions (latest == better)


RE: Performance: Codeigniter 3.1.10 in PHP 5.6 vs PHP 7.2 - fsouzaweb - 07-04-2019

(07-04-2019, 03:42 AM)sv3tli0 Wrote:
(07-03-2019, 01:09 PM)website Wrote: There is not much difference, CI is fast framework.

Not for CodeIgniter but for PHP itself for sure PHP 7+ has better performance than 5.6.
Another question is, will you feel it or no. It always depend on the code that you have.
For old well performing projects there is no big point to upgrade them (except that 5.6 is not supported officially).

New project should be started only at PHP 7+ versions (latest == better)

That's right, it may depend on how your code was written!

I changed the PHP version from 5.6 to 7.0 last year and processes that lasted an average of 15 minutes, dropped to just 3 minutes!

At least for me the difference was great, only with the upgrade of the PHP version  Smile


RE: Performance: Codeigniter 3.1.10 in PHP 5.6 vs PHP 7.2 - InsiteFX - 07-04-2019

You can also setup the php 7 Opcache that will really speed things up.