3 ms·
Nice pointer about NTP steps and time-smearing, can anyone recommend a good website for dealing with these issues? I may not be working on real-time systems at
by zeristor 7y ago
Nice pointer about NTP steps and time-smearing, can anyone recommend a good website for dealing with these issues?
I may not be working on real-time systems at the moment, but I’ve had enough exposure to them in the past that I’d like to scratch that itch.
- ricardobeat 7y agoWhile it's a good idea to use performance.now() for it's better precision* and monotonic guarantee, it's not really a huge concern for this kind of application (measuring time between A and B on the client). You're extremely unlikely to experience clock skew during those brief windows, and the entire web relied on Date.now for performance monitoring for decades. For dealing with timestamps reliably on the client, we'll just instantiate all dates based on server time instead. * at least in FF it has been rolled back to 1ms resolution due to privacy/fingerprinting concerns