title: Efficient milliseconds display in HTML
body: <p>The goal: find the most CPU efficient way to display the current milliseconds in HTML.</p>
  
  <p>My current solution takes up to 10% CPU computation on my laptop.
  My current solution: <a href="http://dev.timerintab.appspot.com/test/ms" rel="nofollow">http://dev.timerintab.appspot.com/test/ms</a> </p>
  
  <p>My final goal is to display the milliseconds on a <a href="http://www.timer-tab.com" rel="nofollow">timer</a>.</p>
  
  <p><b>Update</b><br>I changed the test to take an argument for the interval: <a href="http://dev.timerintab.appspot.com/test/ms?interval=x" rel="nofollow">http://dev.timerintab.appspot.com/test/ms?interval=x</a> where x is the interval in ms.<br> As one can notice an interval of 100ms makes a visual difference in comparison with an interval of 16ms: <br> 
  <a href="http://dev.timerintab.appspot.com/test/ms?interval=100" rel="nofollow">http://dev.timerintab.appspot.com/test/ms?interval=100</a> <br> <a href="http://dev.timerintab.appspot.com/test/ms?interval=16" rel="nofollow">http://dev.timerintab.appspot.com/test/ms?interval=16</a> <br>
  I can even notice a difference between a 20ms and a 16ms interval.</p>