Hello,

On 05/31/2002 06:36 PM, Daniel Grace wrote:
> The results:
> 
> [dewin@ulysses profiling]$ time ./prime.php > /dev/null
> 
> real    0m14.465s
> user    0m8.610s
> sys     0m0.070s
> 
> [dewin@ulysses profiling]$ time ./prime.pl > /dev/null
> 
> real    0m5.302s
> user    0m3.180s
> sys     0m0.000s

Your measures do not distinguish between the compile time and execute time.

I don't know about Perl, but since PHP 4, Zend engine first compiles PHP 
code into opcodes and only then it executes the code.


-- 

Regards,
Manuel Lemos


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

Reply via email to