Re: PHP 5.2.1 twice as slow?
| From: | Andrew Hutchings | Date: | Wed, 28 Feb 2007 10:14:02 +0000 |
| Subject: | Re: PHP 5.2.1 twice as slow? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-28181@lists.php.net to get a copy of this message | ||
Sean Coates wrote:
>> The strcat results were approximately *10 times slower* on 5.2.1 than on
>> 5.2.0.
>
> Upping the number significantly (from 200000 to 20000000) smooths out
> abnormalities:
>
> 5.2.0:
> strcat(20000000) 5.556
>
>
> 5.2.1:
> strcat(20000000) 5.628
Which I hope helps my uneducated theory that allocating the memory
blocks for the task is what is causing the delay.
I'm glad its not just me anyway :)
Regards
Andrew
--
Andrew Hutchings - Linux Jedi - http://www.linuxjedi.co.uk/
A-Wing Internet Services - http://www.a-wing.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.