[Webkit-unassigned] [Bug 225610] performance.now() does not tick during system sleep
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 11 13:54:14 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=225610
--- Comment #4 from Jonathan Mayer <webkit-bugzilla at mayerware.com> ---
(In reply to Alexey Proskuryakov from comment #3)
> I was talking about daylight savings time adjustment. Perhaps you are
> considering system clock adjusted for that.
I don't think daylight savings time is an issue, because the system clock (Date.now()) is defined in UTC and UTC doesn't have DST. DST doesn't actually adjust the system clock; it changes the mapping from the system clock to local time (like a time zone). The same mapping can be applied to the monotonic clock if helpful for a use case (new Date(performance.timeOrigin + performance.now())).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210511/53bf349e/attachment.htm>
More information about the webkit-unassigned
mailing list