With all of the caveats of benchmarking not really being able to approximate real monkeys banging on your website, you probably want to look at ApacheBench, which essentially bangs on your website in place of monkeys. ApacheBench comes with Apache. There's a web gateway here, and some "hello world" (literally!) benchmarks here to get you started.
Other tools are httperf and http_load.
perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^+*`^ ve^#$&V"+@( NO CARRIER'
| [reply] |
one way that comes to mind, it to use lwp to get each page, and benchmark the time it takes. not idea if the server is in use, as it lets other factors affect the times it takes to grab.
Main reason to grab them this way, is that it gives a slightly better idea of speed, taking into account how long it takes for the total request to go though, not just the time the program takes to run. (if an external binary is called to process the request, thats a factor that should be considered for speed purposes.) (apachebench may do this, I havn't looked at it) | [reply] |