JankTracker: Early exit for small movements and small sizes.
This change ignores movements of less than 3px, which are small enough to not be distracting. It also adds an early exit for objects smaller than the jank region granularity. This is a performance optimization, since these objects will not affect the jank region after snapping. This should mostly eliminate JankTracker's impact on blink_perf.paint benchmarks (already reduced by crrev.com/562327). Bug: 581518,847252 Change-Id: I3979421e7a25654e67d3eeba7a2cd5d217ed3f03 Reviewed-on: https://chromium-review.googlesource.com/1175109 Commit-Queue: Steve Kobes <skobes@chromium.org> Reviewed-by:Timothy Dresser <tdresser@chromium.org> Cr-Commit-Position: refs/heads/master@{#583255}
Showing
Please register or sign in to comment