• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is Codeigniter 3 php 7 ready?

#15
the strange thing with our App is:
According to the profiler PHP 5.6.8 outruns PHP 7 
Our CI App is 10% faster with PHP 5.6.8

every controller or something like that takes about 10% longer.

i'm not sure what this is but in case of interest the tests ran with the following hardware components:
CPU: i7 5930k
RAM : G.Skill RipJaws 4x4 (3200)
MB: Gigabyte GA-X99 UD5 Wifi

Webserver: Apache 2.4.x (VC11)
DB: latest Mysql, MSSQL

After that, i've downloaded a benchmark script from php-benchmark-script.com (not sure if this is relevant, but the code looks not that bad, just running some functions) and the results were strange as you can see below:

--------------------------------------
|        PHP BENCHMARK SCRIPT        |
--------------------------------------
Start : 2015-11-11 20:43:09
Server : [email protected]
PHP version : 5.6.8
Platform : WINNT
--------------------------------------
test_math                 : 0.885 sec.
test_stringmanipulation   : 1.726 sec.
test_loops                : 0.539 sec.
test_ifelse               : 0.317 sec.
--------------------------------------
Total time:               : 3.467 sec.


--------------------------------------
|        PHP BENCHMARK SCRIPT        |
--------------------------------------
Start : 2015-11-11 21:09:52
Server : [email protected]
PHP version : 7.0.0rc6
Platform : WINNT
--------------------------------------
test_math                 : 0.274 sec.
test_stringmanipulation   : 1.952 sec.
test_loops                : 0.280 sec.
test_ifelse               : 0.213 sec.
--------------------------------------
Total time:               : 2.719 sec.

It might explain some things because, the stringmanipulation is about 10% slower on PHP7 than on PHP 5.6.x and we do that a lot.
But shouldn't PHP7 be up to twice as fast as PHP 5.6. ?
Reply


Messages In This Thread
Is Codeigniter 3 php 7 ready? - by Vimal - 09-21-2015, 12:50 AM
RE: Is Codeigniter 3 php 7 ready? - by ciadmin - 09-21-2015, 08:40 AM
RE: Is Codeigniter 3 php 7 ready? - by kenjis - 09-22-2015, 01:11 AM
RE: Is Codeigniter 3 php 7 ready? - by Narf - 09-23-2015, 05:11 AM
RE: Is Codeigniter 3 php 7 ready? - by Vimal - 09-28-2015, 01:43 AM
RE: Is Codeigniter 3 php 7 ready? - by cartalot - 10-07-2015, 04:35 PM
RE: Is Codeigniter 3 php 7 ready? - by sv3tli0 - 10-08-2015, 12:15 AM
RE: Is Codeigniter 3 php 7 ready? - by cartalot - 10-08-2015, 01:26 PM
RE: Is Codeigniter 3 php 7 ready? - by sv3tli0 - 10-08-2015, 01:33 PM
RE: Is Codeigniter 3 php 7 ready? - by kenjis - 10-08-2015, 02:20 PM
RE: Is Codeigniter 3 php 7 ready? - by Narf - 10-08-2015, 03:25 PM
RE: Is Codeigniter 3 php 7 ready? - by kenjis - 10-08-2015, 05:46 PM
RE: Is Codeigniter 3 php 7 ready? - by Narf - 10-09-2015, 02:30 AM
RE: Is Codeigniter 3 php 7 ready? - by johnpon - 11-16-2015, 02:40 AM
RE: Is Codeigniter 3 php 7 ready? - by sintakonte - 11-24-2015, 06:25 AM
RE: Is Codeigniter 3 php 7 ready? - by sv3tli0 - 11-24-2015, 07:06 AM
RE: Is Codeigniter 3 php 7 ready? - by sintakonte - 11-24-2015, 07:21 AM
RE: Is Codeigniter 3 php 7 ready? - by kenjis - 11-24-2015, 03:25 PM
RE: Is Codeigniter 3 php 7 ready? - by kenjis - 11-24-2015, 03:46 PM
RE: Is Codeigniter 3 php 7 ready? - by sintakonte - 11-25-2015, 07:22 AM
RE: Is Codeigniter 3 php 7 ready? - by Lukas K - 12-03-2015, 08:06 AM
RE: Is Codeigniter 3 php 7 ready? - by Narf - 12-04-2015, 03:25 AM
RE: Is Codeigniter 3 php 7 ready? - by kenjis - 12-03-2015, 07:28 PM
RE: Is Codeigniter 3 php 7 ready? - by Feliks - 12-21-2015, 05:29 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.