Re: Couple of beginner questions

From: Date: Fri, 09 Jan 2009 22:47:55 +0000
Subject: Re: Couple of beginner questions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-285916@lists.php.net to get a copy of this message
On Fri, Jan 9, 2009 at 4:45 PM, <ceo@l-i-e.com> 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?

« previous php.general (#285916) next »