4 ms·
I think it feels fast because it loads at once, but I'm actually not getting very impressive results programmatically if you measure how long the entire TCP tra
by matt_wulfeck 10y ago
I think it feels fast because it loads at once, but I'm actually not getting very impressive results programmatically if you measure how long the entire TCP transaction takes (which is what I consider page loading):
# Both DNS records are cached before request
>>> print requests.get('https://varvy.com/pagespeed/wicked-fast.html').elapsed.microseconds
226515
>>> print requests.get('http://www.google.com').elapsed.microseconds
92027
Even google.com (92 ms) is about 250% faster than OP (226 ms) to establish connection, read all of the data, and close.
- paulddraper 10y agoBut what's 130ms? Okay, okay, it "matters". But it's nothing compared with the 3s to load all the JS and CSS and the subsequent sluggishness as 20 analytics scripts are loaded and processed.
- kalden_ 10y agoWhere the time goes is the TLS handshake, which is not here when loading cleartext Google.