Re:Demonstrating Web Worker: Sorting a 50K array in your bro...
by wging on Sunday May 31, 2015 @05:44PM
(#9635685)
You might be surprised. There are conditions under which browsers will impose a 4ms minimum delay when you ask for less. I believe it's when you set a timeout within a timeout.
Edit: close. https://html.spec.whatwg.org/multipage/webappapis.html#timer...
"Timers can be nested; after five such nested timers, however, the interval is forced to be at least four milliseconds."