title: Measure website load time with Python requests
body: <p>I'm trying to build a tool for testing the delay of my internet connection, more specifically web site load times. I thought of using the python <a href="http://docs.python-requests.org" rel="noreferrer">requests</a> module for the loading part.</p>
  
  <p>Problem is, it's got no built-in functionality to measure the time it took to get the full response. For this I thought I would use the <code>timeit</code> module.</p>
  
  <p>What I'm not sure about is that if I run timeit like so:</p>
  
  <pre><code>t = timeit.Timer("requests.get('http://www.google.com')", "import requests")
  </code></pre>
  
  <p>I'm I really measuring the time it took the response to arrive or is it the time it takes for the request to be built, sent, received, etc? I'm guessing I could maybe disregard that excecution time since I'm testing networks with very long delays (~700ms)?</p>
  
  <p>Is there a better way to do this programatically?</p>