Closed
Bug 1247280
Opened 9 years ago
Closed 9 years ago
Consider changing the APZ content response timeout
Categories
(Core :: Panning and Zooming, defect)
Core
Panning and Zooming
Tracking
()
VERIFIED
FIXED
mozilla50
People
(Reporter: kats, Assigned: kats)
References
Details
(Keywords: feature, Whiteboard: gfx-noted)
Attachments
(1 file)
Right now APZ's content response timeout is set to 300ms. Rick says that "In Chrome we currently use either 150ms (desktop viewport) or 1000ms (mobile viewport) timeout. Safari had been confused but they are moving (or have moved) to a consistent 1000ms timeout."
We should probably add some telemetry to see how long the content response takes in practice for us and consider bumping our content response timeout accordingly.
Updated•9 years ago
|
Whiteboard: gfx-noted,feature
| Assignee | ||
Updated•9 years ago
|
status-firefox48:
--- → affected
| Assignee | ||
Updated•9 years ago
|
Summary: Considering changing the APZ content response timeout → Consider changing the APZ content response timeout
| Assignee | ||
Comment 1•9 years ago
|
||
Desktop: http://mzl.la/1XShUB1
Mobile: http://mzl.la/1MTbTn8
On Desktop the current timeout of 300ms gets us around 98.5% of the response. At 150ms we'd get around 97%.
On Mobile, the current timeout of 300ms gets us around 97% of the responses, and bumping it to 1000ms would get us approximately 99.6%.
Not sure what we should aim for. Maybe 99%? That would be around 400ms on desktop and 600ms on mobile. That's going off the last 6 days of data though, we should probably let a bit more data accumulate before making the final call.
| Assignee | ||
Comment 2•9 years ago
|
||
Looks like the numbers are about the same on the the full 49 nightly data - for 99% we want 400ms on desktop and 600ms on mobile.
Assignee: nobody → bugmail.mozilla
status-firefox49:
--- → affected
status-firefox50:
--- → affected
| Assignee | ||
Comment 3•9 years ago
|
||
| Assignee | ||
Comment 4•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/59312/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/59312/
Attachment #8762856 -
Flags: review?(botond)
Comment 5•9 years ago
|
||
Comment on attachment 8762856 [details]
Bug 1247280 - Bump the APZ content response timeout so that we get 99% accuracy.
https://reviewboard.mozilla.org/r/59312/#review56352
Attachment #8762856 -
Flags: review?(botond) → review+
Pushed by kgupta@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/5ef082038aee
Bump the APZ content response timeout so that we get 99% accuracy. r=botond
Comment 7•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
Comment 8•9 years ago
|
||
Kats, is there any targeted manual testing that we should perform around this?
Flags: needinfo?(bugmail.mozilla)
| Assignee | ||
Comment 9•9 years ago
|
||
There's probably some value in testing scrolling on pages with heavy CPU load or when the page has wheel/touch listeners that take a long time to run. In the general case this patch shouldn't have much of an impact, but if the main thread is slow to respond then we might take a little longer to start scrolling, to give content more time to respond to the listeners.
Flags: needinfo?(bugmail.mozilla)
| Assignee | ||
Comment 10•9 years ago
|
||
Probably also worth retesting bug 1262672 to see if it's still reproducible.
Comment 12•9 years ago
|
||
We've tested some heavy websites using latest Nightly across platforms and didn't saw any issues. We're planning to do another set of tests before the merge. Will update the bug then.
| Assignee | ||
Comment 13•9 years ago
|
||
Nice, thanks!
| Assignee | ||
Comment 14•9 years ago
|
||
This can ride the trains, I don't think it's urgent to uplift at the moment.
Comment 15•9 years ago
|
||
Nothing new found on Nightly 50, marking as verified (forgot to update the flag sooner).
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•