title: Simple bandwidth / latency test to estimate a users experience
body: <p>I write web based applications. Performance is obviously a key factor. Whilst database load and page rendering time are things I have control of, the users internet connection is not.</p>
  
  <p>What I'm looking for is a way to indicate what sort of a connection a user has. Something along the lines of a traffic light in the corner of a website that shows the user what sort of a connection they have to the site and therefore indicating what sort of perceived performance they should expect. e.g. Maybe the app just seems slow because everyone else in your company is browsing facebook on their lunch hour.</p>
  
  <p>My initial thoughts are that this could be achieved by some javascript that runs on each page load.</p>
  
  <p>Ideally the code is very "dropable" and does not require major code or infrastructure changes to implement.</p>