Re: Re: Benchmark for echoing via comma, concat, inteprolation, and heredoc.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2008-08-27 at 18:02 +0100, Colin Guthrie wrote:
> Robert Cummings wrote:
> > That echo benchmark though... WTF!
> 
> Yup similar numbers here tho' not quite as staggering on my setup:

Hah, your values led me to think about it... then I realized I've been
playing around with Xen lately and was currently running the Xen kernel.
This was having a huge performance penalty on my system... which is odd
since I have a Quad Phenom Black Edition (must be at the kernel level
then since my CPU load is miniscule). Anyways, rebooting to the non Xen
kernel I get the following numbers which reflect the same distribution
but are MUCH faster lol.

shell:~> time php5 -qC test.echo.php > /dev/null

real    0m10.622s
user    0m5.380s
sys     0m4.680s

shell:~> time php5 -qC test.concat.php > /dev/null

real    0m4.875s
user    0m3.990s
sys     0m0.870s

shell:~> time php5 -qC test.interpol.php > /dev/null

real    0m4.799s
user    0m3.740s
sys     0m1.050s

shell:~> time php5 -qC test.heredoc.php > /dev/null

real    0m4.901s
user    0m3.750s
sys     0m1.070s


Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux