New issue
Advanced search Search tips

Issue 777853 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug

Blocked on:
issue 796193



Sign in to add a comment

Event.Latency.ScrollBegin.Wheel.TimeToScrollUpdateSwapBegin2 is not collecting samples

Project Member Reported by xidac...@chromium.org, Oct 24 2017

Issue description

Chrome Version: ToT
OS: Linux

What steps will reproduce the problem?
(1) Run chromium, log in to gmail, using dev tool to make sure that the page has only one layer.
(2) go to: chrome://histograms/Event.Latency.ScrollBegin.Wheel.TimeToScrollUpdateSwapBegin2
(3) Scroll on gmail page like crazy.
(4) Refresh the page in step 2, observe that the sample increases by very very small amount, sometimes doesn't even increase

What is the expected result?
The sample should increase if we do: scroll, wait, scroll, wait, ...

What happens instead?
Samples don't increase as expected.


 
Components: Blink>Input
Putting this as P2 cause I think this would have impact on the results of experiments. Feel free to change the priority.
Cc: sahel@chromium.org
Owner: sahel@chromium.org
Sahel, is this something you can take a look into?

Comment 3 by sahel@chromium.org, Oct 24 2017

Status: WontFix (was: Assigned)
This metric only measures the latency for the first GSU event (generated from the first wheel tick) of every scroll sequence. It used to record one sample per wheel tick since when wheel scroll latching is disabled every wheel tick has its own scroll sequence and they were all first events in their own scroll sequence. Now that wheel scroll latching is enabled the metric records only latency for GSUs generated from the first tick only.

https://chromium-review.googlesource.com/c/chromium/src/+/699210 cl adds Event.Latency.ScrollUpdate.Wheel.TimeToScrollUpdateSwapBegin2 metric to measure latencies for the GSU events generated from the non-first wheel events of scroll sequences. This change makes the two metrics similar to equivalent metrics for touch scrolling.
Status: Assigned (was: WontFix)
We were seeing fewer than 1 sample per series of scrolls, so I think there is something broken here.

Comment 5 by sahel@chromium.org, Oct 24 2017

Yes, xidachen@ showed me the case that we scroll and no sample gets recorded, seems like wheel scrolling on main thread doesn't record samples properly.
Trying with wheel_scroll_latching and async_wheel_events disabled didn't change anything, I will investigate more.

Comment 6 by sahel@chromium.org, Nov 14 2017

I cannot reproduce the problem on 64.0.3269.0:
With wheel scroll latching enabled I see exactly one sample for Event.Latency.ScrollBegin.Wheel.TimeToScrollUpdateSwapBegin2 per scroll sequence and when the flag is disabled I see multiple samples recorded for a scroll.
xidachen@ could you please take look to see if the problem is still reproducible or not?
sahel@: as we discussed offline, I can still repro this on linux desktop, using gmail.

Comment 8 by sahel@chromium.org, Dec 19 2017

Blockedon: 796193
Cc: chrishtr@google.com
cc'ing Chris as he was seeing the same issue.
Cc: -chrishtr@google.com chrishtr@chromium.org pdr@chromium.org

Sign in to add a comment