Closed
Bug 850815
Opened 12 years ago
Closed 12 years ago
[email] UI: Improve scrolling performance of message reader card for HTML messages (scaled and un-scaled)
Categories
(Firefox OS Graveyard :: Gaia::E-Mail, defect)
Tracking
(b2g18 fixed, b2g18-v1.0.1 fixed)
RESOLVED
FIXED
People
(Reporter: asuth, Assigned: asuth)
References
Details
(Whiteboard: [FFOS_PERF])
Attachments
(1 file)
In bug 849924 Etienne provided me with an HTML newsletter (that does not trigger newsletter mode) that takes a very long time to load. It also exhibited tremendously poor scrolling performance. There are two inefficient things we are doing that we should avoid doing:
- setting scale(1) as a transform. This is not the same as just setting the transform string to empty.
- setting overflow: hidden on the iframe. Per input from roc, this has non-zero overhead, and in the case of the iframe, we simply don't need it.
In addition to significantly improving the responsiveness of scrolling, the load time of the HTML was reduced by slightly under 200ms, which seems like a large win.
Assignee | ||
Comment 1•12 years ago
|
||
Pointer to Github pull-request
Assignee | ||
Comment 2•12 years ago
|
||
Comment on attachment 724563 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/8627
Etienne, these fixes are the result of my investigation. You seem appropriate to review. Plus, good learning experience! :)
Attachment #724563 -
Flags: review?(etienne)
Comment 3•12 years ago
|
||
Comment on attachment 724563 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/8627
cool, and now that I know how the zooming works I find it extremely fast ;)
Attachment #724563 -
Flags: review?(etienne) → review+
Assignee | ||
Comment 4•12 years ago
|
||
landed on gaia/master:
https://github.com/mozilla-b2g/gaia/pull/8627
https://github.com/mozilla-b2g/gaia/commit/447997ac8f15508f581d04e9913cd6b05aa8079d
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•12 years ago
|
Whiteboard: [FFOS_PERF]
Comment 5•12 years ago
|
||
Was landed in v1.0.1 as part of Bug 851124 big uplift.
Will land in v1-train tomorrow at the latest too.
status-b2g18-v1.0.1:
--- → fixed
Comment 6•12 years ago
|
||
Landed in v1-train as part of Bug 851124 big uplift.
status-b2g18:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•