apache-response-time is a performance analysis tool for the apache web server. It's primary focus is on script response time.
One approach to improving web site performance is for a different developer to improve one of the slowest scripts everyday. apache-response-time is ideally suited for producing daily reports for this purpose. It will help you find long running, frequently accessed and large apache scripts.
Analysis for a single scriptA selection from a performance analysis report for a single script:
Script 2: scop.cgi Calls/s: 0.133 Throughput: 69.51k/s
pct total min max avg 95% stddev median
Calls 31.75 11462
Time 14.12 2123.07 0.12 2.23 0.19 0.44 0.25 0.15
Size 14.58 144.11M 7.34k 179.33k 12.87k 19.59k 5.41k 12.16k
Time range [07/Sep/2009:00:00:01 +0100] to [07/Sep/2009:23:59:53 +0100]
http://supfam.org/SUPERFAMILY/cgi-bin/scop.cgi?sunid=53931The main summary statistics are for apache response time (Time) and the Size of the script output.
Description of statistial measures
Links for the smallest, largest, slowest and fastest apache requests are provided for each script.
Ranked script listBy default apache-response-time produces a ranked list of statistics for 10 scripts.
Rank Calls Response time R/Call Size Script
==== ===== =============== ======= ======= ======
1 21044 11966.72 79.60% 0.569 259.23M gene.cgi
2 11462 2123.07 14.12% 0.185 144.11M scop.cgi
3 1826 410.30 2.73% 0.225 15.28M model.cgi
4 1458 385.37 2.56% 0.264 476.34M gen_list.cgi
5 310 147.65 0.98% 0.476 93.73M taxonomic_gen_list.cgiThis list can be ordered by Calls, Response time, R/Call (reponse time per call) or Size.
Further informationExample - typical apache-response-time output
Installation - how to install the apache-reponse-time command
Usage - apache-response-time usage examples
Roadmap - List of future changes and features
apache-response-time is ideal for running from a daily cron job.
The mk-query-profiler tool, from the Maatkit mysql utilities package, has been influential on the development of apache-response-time.
See alsoApacheTop - curses-based top-like display for Apache information, including requests per second, bytes per second, most popular URLs, etc.
wtop and logrep - "top" for Apache and other webservers, plus powerful log grepping
modlogslow apache module to provide measures of the time period used for handling each request by the current process
Open Directory - Computers: Software: Internet: Site Management: Log Analysis: Freeware and Open Source
List of web analytics software from wikipedia
These details are provided for information only. No information here is legal advice and should not be used as such.