Closed
Bug 780336
Opened 12 years ago
Closed 12 years ago
BrowserElementScrolling cosumes 7% of profile time on gaia homescreen, but isn't used
Categories
(Firefox OS Graveyard :: General, defect)
Firefox OS Graveyard
General
Tracking
(blocking-basecamp:+)
RESOLVED
FIXED
blocking-basecamp | + |
People
(Reporter: cjones, Assigned: vingtetun)
References
Details
(Keywords: perf)
Attachments
(1 file)
1.21 KB,
patch
|
cjones
:
review+
|
Details | Diff | Splinter Review |
The homescreen implements its own panning physics, but the BrowserElementScrolling fallback is still kicking in and apparently having its values stomped by the homescreen's. It's using 7% of profile time which corresponds to a nontrivial framerate difference. There may be something we can do to make the BrowserElementScrolling code cheaper, or maybe we need to stopPropagation() or something in gaia. Though it seems that the gaia code runs after BES or the gaia stuff wouldn't "win".
Reporter | ||
Comment 1•12 years ago
|
||
Early-returning from ContentPanning.handleEvent() buys us 3-4fps.
Assignee | ||
Comment 2•12 years ago
|
||
This patch should force an early return in onTouchMove if there is nothing to scroll. (Thanks a lot for the profiling information!)
Reporter | ||
Updated•12 years ago
|
Attachment #649003 -
Flags: review?(jones.chris.g) → review+
Comment 3•12 years ago
|
||
Sent to try: http://tbpl.mozilla.org/?tree=Try&rev=034dbbabe904
Comment 5•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/bd8ac25f41c4
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
blocking-basecamp: --- → ?
blocking-basecamp: ? → +
You need to log in
before you can comment on or make changes to this bug.
Description
•