Re: [PHP-DEV] PHP 5.2.1 twice as slow?

2007-02-28 Thread Andrew Hutchings
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 20 to 2000) smooths out abnormalities: 5.2.0: strcat(2000) 5.556 5.2.1: strcat(2000) 5.628 Which I hope helps my uneducated

RE: [PHP-DEV] PHP 5.2.1 twice as slow?

2007-02-27 Thread Mike Robinson
Andrew Hutchings writes I dunno what the heck I am doing wrong then :) I have tried on a PPC running OSX, a Xen host on a Dual Xeon running Ubuntu Edgy, an EPIA running Ubuntu Edgy and the Xeon devel box. When configuring with ./configure --disable-all --disable-cgi and compiling with

Re: [PHP-DEV] PHP 5.2.1 twice as slow?

2007-02-27 Thread Stanislav Malyshev
I've run the bench on a development box at work. A hefty box with no load, running Fedora Core 5. The strcat results were approximately *10 times slower* on 5.2.1 than on 5.2.0. Everything else was nominal. Could you send your phpinfo() and the script you tested (or if it was bench.php from

Re: [PHP-DEV] PHP 5.2.1 twice as slow?

2007-02-27 Thread Carsten Wiedmann
Stanislav Malyshev schrieb: The strcat results were approximately *10 times slower* on 5.2.1 than on 5.2.0. Everything else was nominal. Could you send your phpinfo() and the script you tested (or if it was bench.php from CVS then its output)? I see only tests on *nix boxes... Here is

Re: [PHP-DEV] PHP 5.2.1 twice as slow?

2007-02-27 Thread Sean Coates
The strcat results were approximately *10 times slower* on 5.2.1 than on 5.2.0. Upping the number significantly (from 20 to 2000) smooths out abnormalities: 5.2.0: strcat(2000) 5.556 5.2.1: strcat(2000) 5.628 These results are typical for a few runs of each (fresh

Re: [PHP-DEV] PHP 5.2.1 twice as slow?

2007-02-26 Thread Andrew Hutchings
Antony Dovgal wrote: On 02/26/2007 05:12 AM, Andrew Hutchings wrote: Much better than the score I was getting for 5.2.1 although some of the tests are slightly slower than 5.2.0. I'm sure if won't see any difference if you run the bench a dozen of times, the results depend on current system

Re: [PHP-DEV] PHP 5.2.1 twice as slow?

2007-02-26 Thread Andrew Hutchings
Antony Dovgal wrote: I'm sure if won't see any difference if you run the bench a dozen of times, the results depend on current system status. I've just compiled both 5.2.0 and 5.2.1 on my low powered trash box (a 1GHz ViA EPIA) using: ./configure --disable-all --disable-cgi No CFLAGS were

Re: [PHP-DEV] PHP 5.2.1 twice as slow?

2007-02-26 Thread Stanislav Malyshev
I'm sure if won't see any difference if you run the bench a dozen of times, the results depend on current system status. I tried to run test on my machine, could not reproduce the effect. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ -- PHP Internals -

RE: [PHP-DEV] PHP 5.2.1 twice as slow?

2007-02-26 Thread Mike Robinson
Stanislav Malyshev wrote: I tried to run test on my machine, could not reproduce the effect. I've run the bench script on my Redhat-FC6 box with 5.2.0 and 5.2.1, configs exactly the same. I could not reproduce the effect either. [phew] Best Regards Mike Robinson -- PHP Internals - PHP

Re: [PHP-DEV] PHP 5.2.1 twice as slow?

2007-02-26 Thread Andrew Hutchings
Mike Robinson wrote: Stanislav Malyshev wrote: I tried to run test on my machine, could not reproduce the effect. I've run the bench script on my Redhat-FC6 box with 5.2.0 and 5.2.1, configs exactly the same. I could not reproduce the effect either. [phew] I dunno what the heck I am doing

[PHP-DEV] PHP 5.2.1 twice as slow?

2007-02-25 Thread Andrew Hutchings
Hi, I have been compiling 5.2.1 and comparing it with 5.2.0. The development box I am using is a Xeon 3.4 GHz with 4 cores (not sure if its 2xdual core or what, but not relevant here). I am compiling using -O2 -march=i686 -msse2. When running bench.php

Re: [PHP-DEV] PHP 5.2.1 twice as slow?

2007-02-25 Thread Antony Dovgal
On 02/26/2007 01:06 AM, Andrew Hutchings wrote: Hi, I have been compiling 5.2.1 and comparing it with 5.2.0. The development box I am using is a Xeon 3.4 GHz with 4 cores (not sure if its 2xdual core or what, but not relevant here). I am compiling using -O2 -march=i686 -msse2. When running

Re: [PHP-DEV] PHP 5.2.1 twice as slow?

2007-02-25 Thread Andrew Hutchings
Antony Dovgal wrote: I guess you were using different configure options, but I don't know, you didn't say anything about that.. Personally I can't see any difference between 5.2.0 (14.4 +- 0.1) and 5.2.1 (14.4 +- 0.1) on my laptop. Apologies, I'm using the same configure options for both

Re: [PHP-DEV] PHP 5.2.1 twice as slow?

2007-02-25 Thread Antony Dovgal
On 02/26/2007 01:58 AM, Andrew Hutchings wrote: Antony Dovgal wrote: I guess you were using different configure options, but I don't know, you didn't say anything about that.. Personally I can't see any difference between 5.2.0 (14.4 +- 0.1) and 5.2.1 (14.4 +- 0.1) on my laptop. Apologies,

Re: [PHP-DEV] PHP 5.2.1 twice as slow?

2007-02-25 Thread Andrew Hutchings
Antony Dovgal wrote: Please remove all these options and try with just ./configure --disable-all. Will do in the morning and report back. I will also try an un-optimised standard i386 build of each as see what happens. If it is any help (forgot to mention before) I am using gcc 4.1.0 and the

Re: [PHP-DEV] PHP 5.2.1 twice as slow?

2007-02-25 Thread Antony Dovgal
On 02/26/2007 02:26 AM, Andrew Hutchings wrote: Antony Dovgal wrote: Please remove all these options and try with just ./configure --disable-all. Will do in the morning and report back. I will also try an un-optimised standard i386 build of each as see what happens. Thanks in advance. Btw,

Re: [PHP-DEV] PHP 5.2.1 twice as slow?

2007-02-25 Thread Andrew Hutchings
Antony Dovgal wrote: Thanks in advance. Btw, I would appreciate if you also try 5.2.2-dev snapshot, just to see if it makes any difference. Up very late with my youngest son being sick so just compiled the snapshot made about 40 minutes ago with the same options, here are the results: simple

Re: [PHP-DEV] PHP 5.2.1 twice as slow?

2007-02-25 Thread Andrew Hutchings
Antony Dovgal wrote: I believe updating GCC to the latest version (4.1.2) might also help, GCC 4.1.x is known to be extremely picky in some cases. I didn't feel like overhauling GCC just this minute so instead I used GCC 3.4.6 that is also in this box with just the -O2 and -march=i386 flags and

Re: [PHP-DEV] PHP 5.2.1 twice as slow?

2007-02-25 Thread Antony Dovgal
On 02/26/2007 05:12 AM, Andrew Hutchings wrote: Antony Dovgal wrote: Thanks in advance. Btw, I would appreciate if you also try 5.2.2-dev snapshot, just to see if it makes any difference. Up very late with my youngest son being sick so just compiled the snapshot made about 40 minutes ago with