Server Benchmarking Tools
http://sourceforge.net/projects/httperf/ http://www.freephpbenchmark.com/ http://www.pylot.org/ http://fwptt.sourceforge.net/ This interesting tool lets you record browsing actions, and then simulate and repeat them. http://htt.sourceforge.net/ HTTP Test Tool
Siege for Apache
Siege is stress test and benchmark utility. It can stress a single URL with a user defined number of simulated users or it can read many URLs into memory and stress them simultaneously. The script is still very actively developed.
It looks like apachebench over-reports responsiveness when serving static HTML or minimal PHP scripts. The Siege is more accurate in reporting static HTML and PHP responsiveness. In all technicality they are the same, Siege just doesn’t require apache-tools.
yum -y install siege
Sources: http://www.joedog.org/index/siege-home http://paul-m-jones.com/?p=421 http://vps.net/forum/showthread.php?t=400 http://articles.techrepublic.com.com/5100-10878_11-5171727.html http://www.sitepoint.com/blogs/2007/05/07/besiege-your-web-application-load-testing-over-http/
A tool for measuring web server performance.
Sources: http://www.xenoclast.org/doc/benchmark/HTTP-benchmarking-HOWTO/ http://www.xenoclast.org/autobench/ http://sourceforge.net/projects/httperf/ http://httperf.comlore.com/ http://agiletesting.blogspot.com/2005/04/http-performance-testing-with-httperf.html
Optimize PHP code for speed
http://www.phpbench.com/ How to code PHP to be faster - PHP functions compared by speed.