News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Paul Jones' Blog:
Lazyweb Request Why would PHP be *faster* than HTML?
February 20, 2009 @ 09:31:14

While running some benchmarks on some of the more popular PHP frameworks, Paul Jones came across something interesting - a PHP request was handled faster than a static HTML request.

With the help of the great guys at Slicehost.com, I am attempting to run my benchmark series on a virtual private server, to compare with EC2. However, I'm seeing a very strange result for the baselines: a PHP page delivers more requests-per-second than a static HTML page.

According to his results, his runs of ab (the Apache benchmarking tool) showed that requests against the index.html file (versus the index.php) came in at almost 400 requests per second slower. As it turns out, though, the problem of the skewed results wasn't in the serving up of the requests but in the ab tool itself. He picked up another testing tool, seige, and ran that with the same requests and got more correct results.

0 comments voice your opinion now!
html faster benchmark framework test slicehost ubuntu apache ab


blog comments powered by Disqus

Similar Posts

Fabien Potencier's Blog: Create your own framework... on top of the Symfony2 Components (part 10)

Michael Dowling: Favor Hash Lookups Over Array Searches

WebPerformance.com: Load Testing SugarCRM and the Zend Optimizer

Sanisoft Blog: Radio button issues while migrating from cakePHP-1.2alpha app to 1.2prebeta

Zend Developer Zone: Zend Framework Hidden Gems: Zend_Cache


Community Events

Don't see your event here?
Let us know!


version example opinion introduction language unittest interview release php7 laravel5 voicesoftheelephpant api laravel series library wordpress community framework podcast extension

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework