title: Measuring server response time (client-side)
body: <p>I would like to implement a script that would measure the response time of my server (= remote url) from a client using a regular browser without any extra plugins (Java etc.).</p>
  
  <p>I'm only looking at the <strong>network speed</strong> (response time), <strong>not the page loading speed</strong>.</p>
  
  <p>What would you recommend me to measure? 
  It has to run on tcp/ip, not anything else like ICMP (ping).</p>
  
  <p>How would you go around the implementation on the client side?
  I would prefer to use JavaScript (JQuery).</p>
  
  <hr>
  
  <p><strong>Update:</strong> As I need a cross domain check, the ajax calls don't seem to be an option</p>
  
  <p>Furthermore, the ajax method doesn't seem to precise at all. Results seem to have an overhead of about 50ms (it's almost a constant value, no matter what the domain is - I guess it's the processing time in between) on the testing machine in comparison to information from FireBug</p>