Hi all,
I'm using PHP 5.1.6 & 5.2.1.
Is there any known performance issue with PHP 5.2.1?
With the same script, same php.ini, same extensions, same apache (of course), I'm getting a huge difference.
For example, with a microtime difference between start & end I get:
- PHP 5.1.6: 111ms avg.
- PHP 5.2.1: 205ms avg.
Also, If I compare the results from the xdebug profiling extension it gets worse (322ms vs. 22ms). I can send the zipfile (69k) containing the two cachegrind files if needed. The code is a little complicated because it uses our framework with an autoprepended file and using __autoload, but you'll see that the function calls are exactly the same.
Thanks in advance.
Mauro Nicolás Infantino
Vera 568 - BA - Argentina :: 54 11 4857 6585 :: www.digbang.com
Mauro Infantino wrote:
Hi all,
I'm using PHP 5.1.6 & 5.2.1.
Is there any known performance issue with PHP 5.2.1?
With the same script, same php.ini, same extensions, same apache (of course), I'm getting a huge difference.For example, with a microtime difference between start & end I get:
- PHP 5.1.6: 111ms avg.
- PHP 5.2.1: 205ms avg.
I brought this issue up before using Linux, but it was all in my
imagination apparently :)
Regards
Andrew
Andrew Hutchings - Linux Jedi - http://www.linuxjedi.co.uk/
Windows is the path to the darkside...Windows leads to Blue Screen. Blue
Screen leads to downtime. Downtime leads to suffering...I sense much
Windows in you.