WebPagetest Forums

Full Version: Time spent downloading a page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In Google Webmaster Tools, there is a set of graphs that indicate how quickly Googlebot is able to crawl a given website. (To see these graphs, you click on Health > Crawl Stats.) The key metric is shown in the bottom graph, which represents "Time spent downloading a page (in milliseconds)".

It would be nice if WPT provided something like this.

For example, I'm thinking maybe you could program it as:

Initial Connection (if keep-alive is disabled) + Time to First Byte + Content Download

(For just the initial URL request, obviously.)
You can use curl to get this information using the following command:

curl -o /dev/null -w "Connect: %{time_connect} TTFB: %{time_starttransfer} Total time: %{time_total} \n" http://www.URL.com

I ran this command for webpagetest.org, here is the result:
Connect: 0.572 TTFB: 0.781 Total time: 1.743
WebPagetest captures it and it is available in the raw page data but it isn't exposed in the UI (or API) - Time to Base Page Complete (ms)

It is basically the page-level time to first byte + content download time of the base page.
Reference URL's