title: Measuring page speed and network time with Python like HTML5 Navigation Timing does?
body: <p>I'm currently working on a client, which should determine the health of a server by it's actually response time (and the time one the network separately). I came across <a href="http://kaaes.github.io/timing/" rel="nofollow noreferrer">a implementation</a> of a <a href="http://www.w3.org/TR/navigation-timing/#processing-model" rel="nofollow noreferrer">new HTML5 feature</a>, which gives me basically all the metrics, I'm interested in:</p>
  
  <p><img src="https://i.stack.imgur.com/mYnjC.png" alt="Visual presentation of Navigation Timing API performance object"></p>
  
  <p>I know that I could use Selenium and PhantomJS and just parse the output, but for performance and scalability reasons I would prefer a solution urllib or requests, which breaks it down to the DNS-request, the time on the network and the actual time taken for the server to respond.</p>