Performance problem in Windows between 5.1 & 5.2
| From: | Mauro Infantino | Date: | Tue, 24 Apr 2007 13:41:18 +0000 |
| Subject: | Performance problem in Windows between 5.1 & 5.2 | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-28978@lists.php.net to get a copy of this message | ||
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