Re: Couple of beginner questions

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

 



On Fri, Jan 9, 2009 at 4:45 PM,  <ceo@xxxxxxxxx> wrote:
>
> With all due respect, Eric, you're not testing what we're discussing.
>
> A "real" CLI test would be more like:
>
> time cat foo.html
> time php -q foo.html
>
> I.E., how long does PHP take to read/write foo.html without breaking into PHP "mode" for static HTML.
>
> Of course, it's still a lousy benchmark with CLI instead of Apache wrapper, but you get my point, I trust.
>
> Q: How much slower is it to force all static .html files through PHP wrapper of Apache?
> A: About 5 to 10 % (as of a couple years ago...)
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

In my original post I was talking about the time it takes to run the
full apache-php whatever cycle vs just apache.  I wasn't trying to do
a cli test.  I use mod php which runs them based on file extension, so
I used ab w/ 2 different files.  I'm not trying to be difficult (for
once ;), I just don't follow what you're talking about?

-- 
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