Latency info terminated while scrolling against the scroll extent.
We already skip recording scroll metrics when the GSU events are ignored since ignored events don't cause GPU swap. This cl terminates the latency info from ignored GSU events and adds a unittest to verify the termination. It also has a browsertest to verify no scroll latency gets recorded when GSU events are ignored. ScrollLatencyBrowserTest.ScrollLatencyNotRecordedIfGSUIgnored Bug: 773740 Test: RenderWidgetHostLatencyTrackerTest.LatencyTerminatedOnAckIfGSUIgnored, Change-Id: Idaa4c3d739a79a8e44e4c3db82a74877428d404c Reviewed-on: https://chromium-review.googlesource.com/1080035 Commit-Queue: Sahel Sharifymoghaddam <sahel@chromium.org> Reviewed-by:Timothy Dresser <tdresser@chromium.org> Reviewed-by:
Navid Zolghadr <nzolghadr@chromium.org> Cr-Commit-Position: refs/heads/master@{#565069}
Showing
Please register or sign in to comment