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)

x86_64
Linux
defect
Not set
normal

Tracking

(b2g18 fixed, b2g18-v1.0.1 fixed)

RESOLVED FIXED
Tracking Status
b2g18 --- fixed
b2g18-v1.0.1 --- 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.
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)
See Also: → 849924
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+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [FFOS_PERF]
Was landed in v1.0.1 as part of Bug 851124 big uplift. Will land in v1-train tomorrow at the latest too.
Landed in v1-train as part of Bug 851124 big uplift.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: