Re: how to fine tune?
| From: | Rasmus Lerdorf | Date: | Thu, 27 Jul 2000 16:14:57 +0000 |
| Subject: | Re: how to fine tune? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-8580@lists.php.net to get a copy of this message | ||
> <?
> echo 'Hello world!';
> ?>
>
> <%@ page language='java' %>
> Hello world!
Uh, the equivalent PHP script would be:
Hello World
Also make sure you compile PHP using --enable-inline-optimization
And since you are using the -k switch on ab, change your PHP script to be:
<?Header('Content-length: 12')?>
Hello World
Or alternatively, remove the -k switch for both runs. In the real world
you are not going to get keepalive support on dynamic content anyway.
-Rasmus