Event.Latency.ScrollBegin.Wheel.TimeToScrollUpdateSwapBegin2 is not collecting samples |
|||||||
Issue descriptionChrome 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.
,
Oct 24 2017
Sahel, is this something you can take a look into?
,
Oct 24 2017
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.
,
Oct 24 2017
We were seeing fewer than 1 sample per series of scrolls, so I think there is something broken here.
,
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.
,
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?
,
Nov 15 2017
sahel@: as we discussed offline, I can still repro this on linux desktop, using gmail.
,
Dec 19 2017
,
Dec 13
cc'ing Chris as he was seeing the same issue.
,
Dec 13
|
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by xidac...@chromium.org
, Oct 24 2017