Re: Couple of beginner questions
| From: | ceo at l-i-e dot com | Date: | Fri, 09 Jan 2009 21:45:25 +0000 |
| Subject: | Re: Couple of beginner questions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-285912@lists.php.net to get a copy of this message | ||
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...)