The Date object in javascript performs differently machine to machine and browser to browser in respect to the function's resolution in milliseconds. I've found most machines have a resolution of about 16 ms on IE, where Chrome or Firefox may have a resolution as good as 1ms.
Is there another function available to javascript in general or IE specifically that will give a better time resolution? I am trying to trap and record keyDown and keyUp times in milliseconds and need it in the +/- 10 ms range or less.
To see an illustration of this, check out the "resolutions of new date()" section of this page. There is a table with a test button that evaluates the current machine/browser's javascript time resolution in milliseconds. Interestingly, Chrome regularly gets a resolution of 1ms.
http://www.merlyn.demon.co.uk/js-dates.htm#OV
My quest is for a javascript date-time method that will give sub 10ms resolution across browsers. something to replace or improve Date().