4 ms·
After looking at the source, one thought I have is that since you are dealing with such small timescales you should use the high resolution window.performance.n
by CoryG89 13y ago
After looking at the source, one thought I have is that since you are dealing with such small timescales you should use the high resolution window.performance.now function (or the Date.now function for higher compatibility) as a timer instead of using the Date object as you do.
- dieulot 13y agoThanks, I’ll look into it.