Closed
Bug 1452632
Opened 7 years ago
Closed 7 years ago
Checkerboarding regression on Apr 5
Categories
(Core :: Panning and Zooming, defect)
Core
Panning and Zooming
Tracking
()
RESOLVED
INVALID
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox59 | --- | unaffected |
firefox60 | --- | unaffected |
firefox61 | + | wontfix |
People
(Reporter: kats, Unassigned)
References
Details
(Keywords: regression)
I got telemetry alerts for changes in distribution for all 4 of the checkerboarding probes:
http://alerts.telemetry.mozilla.org/index.html#/detectors/1/metrics/1722/alerts/?from=2018-04-05&to=2018-04-05
http://alerts.telemetry.mozilla.org/index.html#/detectors/1/metrics/1717/alerts/?from=2018-04-05&to=2018-04-05
http://alerts.telemetry.mozilla.org/index.html#/detectors/1/metrics/1720/alerts/?from=2018-04-05&to=2018-04-05
http://alerts.telemetry.mozilla.org/index.html#/detectors/1/metrics/1721/alerts/?from=2018-04-05&to=2018-04-05
With this regression range:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=071ee904485e21e19ca08456d32bce6825b77a26&tochange=2f5ffe4fa2153a798ed8b310a597ea92abd1b868
The checkerboarding regression, if real, seems significant. The severity distribution has shifted to the right, i.e. more checkerboarding instances are more severe.
From the regression range, this bugs jump out at me (in order of likelihood):
bug 1449268 - Treat document-level touch event listeners as passive
bug 1450099 - Mac scroll bar scrolls on click even when not shown
bug 1447193 - Rendering error after scroll
The last one should have *reduced* the amount of checkerboarding, but it's possible that there was a bug. However I don't see how that last bug could have affected the POTENTIAL_DURATION probe; that seems more likely to have been affected by one of the first two bugs on the list.
Comment 1•7 years ago
|
||
Ooof. :(
Regressions that only show up in Telemetry like this are, from my experience, a pain to deal with. Unless we can figure this out by inspection, we might have to do selective backouts and wait a few days to narrow down to the culprit. :(
Comment 2•7 years ago
|
||
Could bug 1449268 have caused this, since we try to pan faster and not wait for event handling in the web page. If so, that is in a way positive change, I'd say.
Comment 3•7 years ago
|
||
I pretty sure bug 1450099 didn't cause this. Functionally, it's a partial revert of bug 1422070, which didn't have any effects on checkerboarding.
(In reply to Olli Pettay [:smaug] (only webcomponents and event handling reviews, please) from comment #2)
> Could bug 1449268 have caused this, since we try to pan faster and not wait
> for event handling in the web page. If so, that is in a way positive change,
> I'd say.
I think that's the most likely explanation.
Comment 4•7 years ago
|
||
[Tracking Requested - why for this release]:
@ smaug: maybe we should move the passive touch event intervention behind a pref so we can just pref it off for a couple days without a backout.
I'm surprised passive touch event bug 1449268 would affect desktop but not Android. You can see the big spike of CHECKERBOARDING_SEVERITY on Windows:
https://telemetry.mozilla.org/new-pipeline/evo.html#!aggregates=median!95th-percentile&cumulative=0&end_date=2018-03-26&keys=!__none__!__none__&max_channel_version=nightly%252F61&measure=CHECKERBOARD_SEVERITY&min_channel_version=nightly%252F60&os=Windows_NT&processType=*&product=Firefox&sanitize=1&sort_keys=submissions&start_date=2018-03-12&trim=0&use_submission_date=0
But Android had CHECKERBOARDING_SEVERITY regressions on March 17 and March 20-22, but *not* April 5:
https://telemetry.mozilla.org/new-pipeline/evo.html#!aggregates=median!95th-percentile&cumulative=0&end_date=2018-03-26&keys=!__none__!__none__&max_channel_version=nightly%252F61&measure=CHECKERBOARD_DURATION&min_channel_version=nightly%252F60&processType=*&product=Fennec&sanitize=1&sort_keys=submissions&start_date=2018-03-12&trim=0&use_submission_date=0
status-firefox59:
--- → unaffected
status-firefox60:
--- → unaffected
status-firefox61:
--- → affected
status-firefox-esr52:
--- → unaffected
tracking-firefox61:
--- → ?
Flags: needinfo?(bugs)
Keywords: regression
Comment 5•7 years ago
|
||
The number of pings and samples for all four of the probes is in free-fall. See the second and third plots on https://mzl.la/2JsBTGh for CHECKERBOARD_SEVERITY's edition.
This means that the distribution changes aren't shifts: populations of measurements are no longer being sent.
Sometimes this is a good thing (when unpleasant things happen less often).
Sometimes this means a code change is now sometimes bypassing your measurement (in which case it's a 'measurement's broken, can't tell' thing)
Not necessarily a bad thing.
Reporter | ||
Comment 6•7 years ago
|
||
In my experience every probe shows that "free fall" pattern over the last few days because people are still using builds from a few days ago so all the data for those buildids isn't in yet. I'd expect that "free fall" to disappear in a few more days.
Updated•7 years ago
|
Comment 7•7 years ago
|
||
The sample counts for the checkerboard probes drop by more than half from April 4 to 5. In contrast, GC_MS shows a drop in sample counts of about 15% over that same period. The submission counts of the _submission_ (ping) counts on the other hand follow the ~15% we'd expect.
So you're right, the submission count does follow the usual "we're waiting for the data to come in" curve.
But the sample count is rather more drastic than that (unless the last 15% of pings (submissions) contain 50% of the checkerboard samples)
Reporter | ||
Comment 8•7 years ago
|
||
So while I would expect the sample count for CHECKERBOARD_DURATION, CHECKERBOARD_PEAK, and CHECKERBOARD_SEVERITY to change in response to code changes, I wouldn't really expect CHECKERBOARD_POTENTIAL_DURATION to change. The sample count for that probe should be correlated with user input rather than code changes - that is, the number of POTENTIAL_DURATION samples submitted should be roughly based on the number of fling/scroll actions the user did rather than how much checkerboarding they actually saw. So if that sample count drops as well I'd be quite surprised.
Regardless, I agree with :cpeterson that it's probably worth adding a pref to control the passive listener behaviour so that we can disable it for a couple of days and confirm that's the root cause.
Updated•7 years ago
|
Flags: needinfo?(bugs)
Reporter | ||
Comment 9•7 years ago
|
||
So putting Olli's changes behind a disabled pref didn't affect the numbers. That means it wasn't the passive listeners change that caused this regression, it must be something else in the regression range.
Comment 10•7 years ago
|
||
mconley, neither Mac scroll bar bug 1450099 (as per comment 3) nor passive event listener bug 1449268 (as per comment 9) caused this checkerboarding telemetry regression. The other suspicious changeset in comment 0's regression range was your fix for "Rendering error after scroll" bug 1447193. Do you want to back out bug 1447193 or try something else first?
Flags: needinfo?(mconley)
Updated•7 years ago
|
Comment 11•7 years ago
|
||
:kats and I had a chat on IRC just now and we think we understand what happened.
Nightly build 20180313100127 has https://hg.mozilla.org/mozilla-central/rev/664c633802d4 which turns on Tab Warming via bug 1423220. The number of sample counts of CHECKERBOARD_SEVERITY (et al) doubles: https://mzl.la/2JsBTGh (see the third plot)
Nightly build 20180405104009 has https://hg.mozilla.org/mozilla-central/rev/1b258f938525fda65ef80ffa0408bc665d5d8948 which fixes bug 1447193. The number of sample counts of CHECKERBOARD_SEVERITY (et al) halves.
In between these two events we have an unexplained event around 2018-03-22 where CHECKERBOARD_SEVERITY goes from looking like this: https://mzl.la/2qG50x1https://mzl.la/2qG50x1
To looking like this: https://mzl.la/2qDSsGB
Note that it has developed a second mode[1] around the 60k-90k bucket. At the same time, the number of pings with CHECKERBOARD_SEVERITY in them (submissions) rises by about 50%: https://mzl.la/2JsBTGh (see the second plot)
This unexplained event was hidden by the increased submissions caused by bug 1423220 on the first mode, so when the regression was fixed, it looked all of a sudden as though something horrible had happened.
This is not actually the case. bug 1447193 (if responsible for this change) resulted in a halving of total number of checkerboarding events which is a good thing. It just looks like a bad thing because the removal of the low-severity events uncovered the high-severity events from around 2018-03-22
So you can consider this bug as not really a bug but an artefact of multiple overlapping signals. Sorry for the noise.
I have filed bug 1454668 to look into the true regression. Feel free to +Cc if you'd like to follow along.
[1]: https://en.wikipedia.org/wiki/Multimodal_distribution
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(mconley)
Resolution: --- → INVALID
Updated•7 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•