Non-developer needs to code an Ajax-like HTTP pinger to measure network latency

Non-developer needs to code an Ajax-like HTTP pinger to measure network latency

I'm a network guy who uses php, bash, perl and a little javascript. Totally new to jQuery.

All I need is a very simple widget that will sent a HTTP GET request to a static page on a web server, then measure and display how many milliseconds it takes to receive the response. Needs to run continuously and "ping" every 5 seconds or so.

Need total basic-level help here. I'm sure it's a relatively simple widget, just dont' know how to code it up.