4 ms·
surely high precision clocks can be constructed via busy waits or random api calls that hit hardware to do things with fixed latency, no?
by a-dub 5y ago
surely high precision clocks can be constructed via busy waits or random api calls that hit hardware to do things with fixed latency, no?
- silon42 5y agoAll those can be limited, because thankfully JS is not multithreaded (otherwise you could do busy-loop timing).
- staticassertion 5y agoYes, like the SharedArrayBuffer that browsers disabled. There are probably roughly infinite ways to construct clocks. Closing the obvious leaks has been a stop gap while other mitigation techniques are rolling out, like site isolation.