Re: RES: [PHP] Odd performance problem

2008-05-09 Thread Robert Cummings
On Fri, 2008-05-09 at 08:42 -0300, Thiago Pojda wrote: > > Runs the same for me either way... under PHP4 and PHP5. You must have > a nice system, takes 22 seconds both ways on my Athlon 2400 :) Maybe it's because I use Evolution for my mail client and it has steadily increased it's CPU suckage ov

Re: [PHP] Odd performance problem

2008-05-09 Thread Joeri Sebrechts
was just a semprom 3k... didn't know they were that dif Thiago Henrique Pojda Desenvolvimento Web +55 41 3033-7676 [EMAIL PROTECTED] ExcelĂȘncia em Softwares Financeiros -Mensagem original- De: Robert Cummings [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 9 de maio de

RES: [PHP] Odd performance problem

2008-05-09 Thread Thiago Pojda
Thiago Henrique Pojda Desenvolvimento Web +55 41 3033-7676 [EMAIL PROTECTED] ExcelĂȘncia em Softwares Financeiros -Mensagem original- De: Robert Cummings [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 9 de maio de 2008 04:44 Para: Joeri Sebrechts Cc: php-general@lists.php.net Assunto: Re: [PHP

Re: [PHP] Odd performance problem

2008-05-09 Thread Robert Cummings
On Wed, 2008-05-07 at 17:31 +0200, Joeri Sebrechts wrote: > Hello, > > While debugging a script that ran too slowly I came across something that I > can't explain. > > It is inactive code that when removed doubles the run time of the script. > > Specifically, the issue is a switch statement, w

[PHP] Odd performance problem

2008-05-09 Thread Joeri Sebrechts
Hello, While debugging a script that ran too slowly I came across something that I can't explain. It is inactive code that when removed doubles the run time of the script. Specifically, the issue is a switch statement, where one of the cases is never reached. If I remove the case from the code