Most precise way to calculate server response time

httpresponse-time

What's the most precise way to calculate the time taken by my server to execute a HTTP request. I don’t want to know the DNS resolution or the traceroute time, but just the server execution time.

The is a follow up to my previous question to detect whats causing the delay between entering a domain name and load of the page

Best Answer

If you're using apache, you will need to monitor the %T value from the access logs. From the apache documentation:

"%T The time taken to serve the request, in seconds."

You can find more on apache log format here: http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#formats

Related Topic