commit | 953bf5bfd1957a9c6c123d8dfc59254dcd7bb956 | [log] [tgz] |
---|---|---|
author | Sami Kyostila <skyostil@chromium.org> | Mon Jan 08 10:22:15 2018 |
committer | Sami Kyöstilä <skyostil@chromium.org> | Mon Jan 08 10:24:46 2018 |
tree | a185b3de7aa91cca4ee48d4d50b5cbbd49dfb5c1 | |
parent | 5782cba268ce72794a566b47ce6c87fd0ecec0bd [diff] |
Clamp performance.now() to 100us. This patch reduces the resolution of performance.now() from 5us to 100us and adds pseudorandom jitter on top. TBR=skyostil@chromium.org (cherry picked from commit a77687fd89adc1bc2ce91921456e0b9b59388120) Authors: Ross McIlroy <rmcilroy@chromium.org>, Sami Kyostila <skyostil@chromium.org> Bug: 798964 Change-Id: I7e401d7beae2efe8074cac8fc094b22e6dc857c2 Reviewed-on: https://chromium-review.googlesource.com/849993 Commit-Queue: Sami Kyöstilä <skyostil@chromium.org> Reviewed-by: Ross McIlroy <rmcilroy@chromium.org> Reviewed-by: Jochen Eisinger <jochen@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#527008} Reviewed-on: https://chromium-review.googlesource.com/853505 Reviewed-by: Sami Kyöstilä <skyostil@chromium.org> Cr-Commit-Position: refs/branch-heads/3282@{#439} Cr-Branched-From: 5fdc0fab22ce7efd32532ee989b223fa12f8171e-refs/heads/master@{#520840}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .