|
|
DescriptionRe-add delay to PostTask in StartScrollbarPaintTimer()
My previous CL removed 0.1 ms delay from PostTask in
ScrollAnimatorMac::startScrollbarPaintTimer[1] because new PostTask interface
didn't support micro sec delay (type of |delay| was changed from "double" to
"long long"). This seems to give tasks more chances to run before task
cancellation and probably contention happens.
This CL re-adds 1 ms delay (not 0.1 ms because the current PostTask doesn't
support micro sec delay as mentioned above) and confirmed it improved the scroll
animation in the demo page (see the issue).
[1] https://codereview.chromium.org/2514733002/
BUG=713669
Review-Url: https://codereview.chromium.org/2868783006
Cr-Commit-Position: refs/heads/master@{#470823}
Committed: https://chromium.googlesource.com/chromium/src/+/570b67158dabf2d9f10bb12ac68762e973ed63ad
Patch Set 1 #Patch Set 2 : add comments #Messages
Total messages: 34 (25 generated)
The CQ bit was checked by nhiroki@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by nhiroki@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...)
The CQ bit was checked by nhiroki@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Re-add delay to PostTask in StartScrollbarPaintTimer() This delay was accidentally removed by the following change: https://codereview.chromium.org/2514733002 BUG=713669 ========== to ========== Re-add delay to PostTask in StartScrollbarPaintTimer() (TODO: Update the CL description) This 0.1 ms delay was removed by the following change: https://codereview.chromium.org/2514733002 BUG=713669 ==========
Patchset #1 (id:1) has been deleted
Patchset #1 (id:20001) has been deleted
Description was changed from ========== Re-add delay to PostTask in StartScrollbarPaintTimer() (TODO: Update the CL description) This 0.1 ms delay was removed by the following change: https://codereview.chromium.org/2514733002 BUG=713669 ========== to ========== Re-add delay to PostTask in StartScrollbarPaintTimer() My previous change removed 0.1 ms delay from PostTask in ScrollAnimatorMac::startScrollbarPaintTimer[1] because new PostTask interface didn't support micro sec delay (type of the delay was changed from "double" to "long long"). This causes perf regression on scroll animation on MacOS. This CL re-adds 1 ms delay (not 0.1 ms because the current PostTask doesn't support micro sec delay as mentioned above) and confirmed it improved the scroll animation in the demo page (see issue). [1] https://codereview.chromium.org/2514733002/ [2] https://codereview.chromium.org/2868783006/ BUG=713669 ==========
Description was changed from ========== Re-add delay to PostTask in StartScrollbarPaintTimer() My previous change removed 0.1 ms delay from PostTask in ScrollAnimatorMac::startScrollbarPaintTimer[1] because new PostTask interface didn't support micro sec delay (type of the delay was changed from "double" to "long long"). This causes perf regression on scroll animation on MacOS. This CL re-adds 1 ms delay (not 0.1 ms because the current PostTask doesn't support micro sec delay as mentioned above) and confirmed it improved the scroll animation in the demo page (see issue). [1] https://codereview.chromium.org/2514733002/ [2] https://codereview.chromium.org/2868783006/ BUG=713669 ========== to ========== Re-add delay to PostTask in StartScrollbarPaintTimer() My previous CL removed 0.1 ms delay from PostTask in ScrollAnimatorMac::startScrollbarPaintTimer[1] because new PostTask interface didn't support micro sec delay (type of |delay| was changed from "double" to "long long"). This gives scroll animation tasks more chances to run before task cancellation, and probably task contention happens. This CL re-adds 1 ms delay (not 0.1 ms because the current PostTask doesn't support micro sec delay as mentioned above) and confirmed it improved the scroll animation in the demo page (see the issue). [1] https://codereview.chromium.org/2514733002/ [2] https://codereview.chromium.org/2868783006/ BUG=713669 ==========
Description was changed from ========== Re-add delay to PostTask in StartScrollbarPaintTimer() My previous CL removed 0.1 ms delay from PostTask in ScrollAnimatorMac::startScrollbarPaintTimer[1] because new PostTask interface didn't support micro sec delay (type of |delay| was changed from "double" to "long long"). This gives scroll animation tasks more chances to run before task cancellation, and probably task contention happens. This CL re-adds 1 ms delay (not 0.1 ms because the current PostTask doesn't support micro sec delay as mentioned above) and confirmed it improved the scroll animation in the demo page (see the issue). [1] https://codereview.chromium.org/2514733002/ [2] https://codereview.chromium.org/2868783006/ BUG=713669 ========== to ========== Re-add delay to PostTask in StartScrollbarPaintTimer() My previous CL removed 0.1 ms delay from PostTask in ScrollAnimatorMac::startScrollbarPaintTimer[1] because new PostTask interface didn't support micro sec delay (type of |delay| was changed from "double" to "long long"). This seems to give tasks more chances to run before task cancellation and probably contention happens. This CL re-adds 1 ms delay (not 0.1 ms because the current PostTask doesn't support micro sec delay as mentioned above) and confirmed it improved the scroll animation in the demo page (see the issue). [1] https://codereview.chromium.org/2514733002/ [2] https://codereview.chromium.org/2868783006/ BUG=713669 ==========
nhiroki@chromium.org changed reviewers: + bokan@chromium.org, skobes@chromium.org, tzik@chromium.org
Hi, could you review this? +tzik@ for PostTask +bokan@,skobes@ for scrolling Thanks.
lgtm
The CQ bit was checked by nhiroki@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Your commit self-references this CL in your [2] link. Otherwise lgtm
Description was changed from ========== Re-add delay to PostTask in StartScrollbarPaintTimer() My previous CL removed 0.1 ms delay from PostTask in ScrollAnimatorMac::startScrollbarPaintTimer[1] because new PostTask interface didn't support micro sec delay (type of |delay| was changed from "double" to "long long"). This seems to give tasks more chances to run before task cancellation and probably contention happens. This CL re-adds 1 ms delay (not 0.1 ms because the current PostTask doesn't support micro sec delay as mentioned above) and confirmed it improved the scroll animation in the demo page (see the issue). [1] https://codereview.chromium.org/2514733002/ [2] https://codereview.chromium.org/2868783006/ BUG=713669 ========== to ========== Re-add delay to PostTask in StartScrollbarPaintTimer() My previous CL removed 0.1 ms delay from PostTask in ScrollAnimatorMac::startScrollbarPaintTimer[1] because new PostTask interface didn't support micro sec delay (type of |delay| was changed from "double" to "long long"). This seems to give tasks more chances to run before task cancellation and probably contention happens. This CL re-adds 1 ms delay (not 0.1 ms because the current PostTask doesn't support micro sec delay as mentioned above) and confirmed it improved the scroll animation in the demo page (see the issue). [1] https://codereview.chromium.org/2514733002/ BUG=713669 ==========
Thank you. On 2017/05/10 13:26:11, bokan wrote: > Your commit self-references this CL in your [2] link. Done (I copied-and-pasted the description from the issue and forgot to remove the cyclic link :p)
nhiroki@chromium.org changed reviewers: + haraken@chromium.org
+haraken@, can you review this? Thanks.
FYI: tzik@'s CL[2] will enable to post a task with a delay under 1 ms, but this CL uses 1 ms delay in the case we want to merge this into previous milestones. [2] https://codereview.chromium.org/2876513002/
LGTM
The CQ bit was checked by nhiroki@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from tzik@chromium.org Link to the patchset: https://codereview.chromium.org/2868783006/#ps60001 (title: "add comments")
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 60001, "attempt_start_ts": 1494480464300150, "parent_rev": "8549ed4eaf9d95db494bd7028bf17110b26b6918", "commit_rev": "570b67158dabf2d9f10bb12ac68762e973ed63ad"}
Message was sent while issue was closed.
Description was changed from ========== Re-add delay to PostTask in StartScrollbarPaintTimer() My previous CL removed 0.1 ms delay from PostTask in ScrollAnimatorMac::startScrollbarPaintTimer[1] because new PostTask interface didn't support micro sec delay (type of |delay| was changed from "double" to "long long"). This seems to give tasks more chances to run before task cancellation and probably contention happens. This CL re-adds 1 ms delay (not 0.1 ms because the current PostTask doesn't support micro sec delay as mentioned above) and confirmed it improved the scroll animation in the demo page (see the issue). [1] https://codereview.chromium.org/2514733002/ BUG=713669 ========== to ========== Re-add delay to PostTask in StartScrollbarPaintTimer() My previous CL removed 0.1 ms delay from PostTask in ScrollAnimatorMac::startScrollbarPaintTimer[1] because new PostTask interface didn't support micro sec delay (type of |delay| was changed from "double" to "long long"). This seems to give tasks more chances to run before task cancellation and probably contention happens. This CL re-adds 1 ms delay (not 0.1 ms because the current PostTask doesn't support micro sec delay as mentioned above) and confirmed it improved the scroll animation in the demo page (see the issue). [1] https://codereview.chromium.org/2514733002/ BUG=713669 Review-Url: https://codereview.chromium.org/2868783006 Cr-Commit-Position: refs/heads/master@{#470823} Committed: https://chromium.googlesource.com/chromium/src/+/570b67158dabf2d9f10bb12ac687... ==========
Message was sent while issue was closed.
Committed patchset #2 (id:60001) as https://chromium.googlesource.com/chromium/src/+/570b67158dabf2d9f10bb12ac687... |