Re: Re: Windows date("Y/m/d H:i:s") performance
| From: | Andrew Ballard | Date: | Wed, 30 Jul 2008 16:36:36 +0000 |
| Subject: | Re: Re: Windows date("Y/m/d H:i:s") performance | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-277488@lists.php.net to get a copy of this message | ||
On Wed, Jul 30, 2008 at 12:19 PM, Richard Lynch <ceo@l-i-e.com> 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.000012271404266357 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