On Fri, Jan 9, 2009 at 5:53 PM, <ceo@xxxxxxxxx> wrote: > > I'm talking about having PHP rip through .html files without any > <?php echo *;?> > inside of them. > > You added <?php echo *; ?> > > Don't do that. :-) > > ln -s foo.html foo.php > > Surf to both and time it. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Is this better? $ cat hello-world.html Hello World $ ab -c 50 -t 30 http://localhost/benchmarks/hello-world.html Requests per second: 4030.52 [#/sec] (mean) Time per request: 12.405 [ms] (mean) Time per request: 0.248 [ms] (mean, across all concurrent requests) Requests per second: 4730.00 [#/sec] (mean) Time per request: 10.571 [ms] (mean) Time per request: 0.211 [ms] (mean, across all concurrent requests) Transfer rate: 1529.37 [Kbytes/sec] received Requests per second: 4866.09 [#/sec] (mean) Time per request: 10.275 [ms] (mean) Time per request: 0.206 [ms] (mean, across all concurrent requests) Transfer rate: 1573.24 [Kbytes/sec] received Requests per second: 4313.09 [#/sec] (mean) Time per request: 11.593 [ms] (mean) Time per request: 0.232 [ms] (mean, across all concurrent requests) Transfer rate: 1394.62 [Kbytes/sec] received $ mv hello-world.php hello-world.html $ ab -c 50 -t 30 http://localhost/benchmarks/hello-world.php Requests per second: 2649.66 [#/sec] (mean) Time per request: 18.870 [ms] (mean) Time per request: 0.377 [ms] (mean, across all concurrent requests) Transfer rate: 685.87 [Kbytes/sec] received Requests per second: 2774.03 [#/sec] (mean) Time per request: 18.024 [ms] (mean) Time per request: 0.360 [ms] (mean, across all concurrent requests) Transfer rate: 718.05 [Kbytes/sec] received Requests per second: 2722.94 [#/sec] (mean) Time per request: 18.363 [ms] (mean) Time per request: 0.367 [ms] (mean, across all concurrent requests) Transfer rate: 704.79 [Kbytes/sec] received Requests per second: 2769.77 [#/sec] (mean) Time per request: 18.052 [ms] (mean) Time per request: 0.361 [ms] (mean, across all concurrent requests) Transfer rate: 717.00 [Kbytes/sec] received -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php