Re: [PHP] Re: Windows date(Y/m/d H:i:s) performance

2008-07-31 Thread Richard Lynch
PHP 5.2.6 with Xdebug 2.0.3 here...

Aha!

Turning off Xdebug fixes it...

Weird.  Or maybe normal for Xdebug?

I'll take this up with Derick and co on Xdebug list next, if anybody
wants to follow...

On Wed, July 30, 2008 11:36 am, Andrew Ballard wrote:
 On Wed, Jul 30, 2008 at 12:19 PM, Richard Lynch [EMAIL PROTECTED] wrote:
 I suppose to be complete, I should point out that in Linux a call to
 date finishes in 1.2271404266357E-5 seconds on average.

 For those unfamiliar with scientific notation, that would be:
 0.12271404266357 seconds, or rougly 1/10,000th of the time Doze
 takes.


 Interesting. Just for comparison, I ran it directly with the binaries
 (disabling the debugger) for PHP 4.4.4 and 5.2.0 on my machine.

 4.4.4 - in the order of 4.5E-6 - 5.0E-6

 5.2.0 - right around 1.0E-4

 Andrew

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
Some people ask for gifts here.
I just want you to buy an Indie CD for yourself:
http://cdbaby.com/search/from/lynch



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Windows date(Y/m/d H:i:s) performance

2008-07-30 Thread Richard Lynch
I suppose to be complete, I should point out that in Linux a call to
date finishes in 1.2271404266357E-5 seconds on average.

For those unfamiliar with scientific notation, that would be:
0.12271404266357 seconds, or rougly 1/10,000th of the time Doze
takes.

-- 
Some people ask for gifts here.
I just want you to buy an Indie CD for yourself:
http://cdbaby.com/search/from/lynch



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Windows date(Y/m/d H:i:s) performance

2008-07-30 Thread Andrew Ballard
On Wed, Jul 30, 2008 at 12:19 PM, Richard Lynch [EMAIL PROTECTED] wrote:
 I suppose to be complete, I should point out that in Linux a call to
 date finishes in 1.2271404266357E-5 seconds on average.

 For those unfamiliar with scientific notation, that would be:
 0.12271404266357 seconds, or rougly 1/10,000th of the time Doze
 takes.


Interesting. Just for comparison, I ran it directly with the binaries
(disabling the debugger) for PHP 4.4.4 and 5.2.0 on my machine.

4.4.4 - in the order of 4.5E-6 - 5.0E-6

5.2.0 - right around 1.0E-4

Andrew

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php