Measuring network characteristics using JavaScript



The browser doesn't really allow JavaScript to access anything outside its sandbox, but by understanding how the browser works, and making a few approximations, there's a lot that we can measure using just JavaScript. This talk will go into some of these tricks we developed while building boomerang.


While building boomerang – a JavaScript based real user performance measurement tool – we learnt a lot about how to measure things using just JavaScript. Not just events and objects within a web page, but also several network charactersitics like latency, network throughput, dns lookup time and more. These come in handy when measuring exactly what your web users experience without getting them to install an application with administrative level privileges.

In this talk, I’ll go over the different numbers that we can determine and how we go about it.

Speaking experience


  • 1543735477 f302fdc3a3

    Philip Tellis



    Philip Tellis is a geek who likes to make the computer do his work for him. As part of his job with the Performance and Security teams at Yahoo! he analyses the impact of various design decisions on web application performance and security. He also maintains the javascript implementation of strftime used in YUI and plays around with security, accessibility and i18n. He is the maintainer of several opensource projects including ayttm and libyahoo2, and most recently, boomerang — a real user web performance measurement tool.

    In his spare time, Philip enjoys cycling, reading, cooking and learning spoken languages.

    Philip has spoken at several conferences in the past, including FOSS.IN, FREED.IN, Ubuntulive, Linux Symposium, PHP Quebec, Opensource Bridge, WebDU, FOSDEM, IPC and ConFoo.