Not clamp up setTimeout(..., 0) to 1ms for single_shot
setTimeout(..., 0) is clamping up to 1ms for historical reasons: crbug.com/402694, and the issue has been open for years which was blocked by the challenge of updating all test expectations accordingly. Chrome doesn't need the clamp for anything in particular and no 1ms clamp in the spec, moreover, we found Speedometer2 performance can boost ~1% on Windows without it based on Pinpoint perf. Most failure tests failed with this change had been fixed in separated CLs. Bug: 402694 Change-Id: I46196584b887513ca520221be68099116931d4f2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2578703Reviewed-by:Philip Jägenstedt <foolip@chromium.org> Reviewed-by:
Sami Kyöstilä <skyostil@chromium.org> Commit-Queue: Wanming Lin <wanming.lin@intel.com> Cr-Commit-Position: refs/heads/master@{#844459}
Showing
Please register or sign in to comment