Closed Bug 1072392 Opened 10 years ago Closed 10 years ago

Trying to optimize AppWindow#render

Categories

(Firefox OS Graveyard :: Gaia::System::Window Mgmt, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: etienne, Assigned: etienne)

References

Details

Attachments

(1 file)

46 bytes, text/x-github-pull-request
alive
: review+
Details | Review
Any window manager work between webapps-launch and mozbrowserloadend will have a big impact on the app launch time performance.

The render() method takes 60-80ms on a flame (testing with the calendar app) so it's a nice target for improvement.

Note that the "launch time" timer is started _after_ AppWindow#render, we're cheating :) So datazilla will only display part of the potential improvements here.
Blocks: 1007595
Attached file Gaia PR
This is consistently dropping the time spent in render to 20-30ms and the app launched is only getting 1 resize events.
Assignee: nobody → etienne
Attachment #8494615 - Flags: review?(alive)
Comment on attachment 8494615 [details] [review]
Gaia PR

Amazing!
Attachment #8494615 - Flags: review?(alive) → review+
https://github.com/mozilla-b2g/gaia/commit/53532cde9abc9ea9262e505e8c8b0021e3f942bf
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: