I used the performance measurement and analytics stream generation capabilities of Atomic Lab’s Pion to inspect the HTTP traffic directly off the network and measure the page load performance.
I then used some simple Python scripting within Pion to generate a beacon to www.webtuna.com, a UK-based performance analytics provider.
I then fired up webpagetest.org and generated some traffic from different nodes around the world and you can see the results graphically in the screen shot below.
The end result is a proof of concept that works brilliantly to tell you who is on your website, where they come from, what pages they have visited… and how fast the page appeared to load from the end-user’s perspective.
Keep in mind these are page load times, not server response times or data centre timings! At first glance they correlate with the webpagetest.org times with about 1/2 second, but I am going to do some more scientific testing when I get more time!