Closed
Bug 936866
Opened 11 years ago
Closed 11 years ago
[Keyboard] resizeUI triggers (multiple?) sync reflow taking ~80ms
Categories
(Firefox OS Graveyard :: Gaia::Keyboard, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 927324
People
(Reporter: BenWa, Unassigned)
References
Details
(Keywords: perf, Whiteboard: [c= p= s=2013.11.22 u=])
STR:
1) Profile with |./profile.sh start -p b2g|
2) Toggle the keyboard on the Homescreen using 'I'm thinking of...' input box
3) Capture profile using |./profile.sh capture| and open file at http://people.mozilla.org/~bgirard/cleopatra/
This will give you a profile like this:
http://people.mozilla.org/~bgirard/cleopatra/#report=9a1c537eb937bdd2132a91c760e4979864d66ae6&search=resizeUI
I'm not an export here but a first looks:
The script interleaves severals call to window.innerWidth/innerHeight/clientWidth/offsetWidth with DOM modificatins. This means that we have to force several sync reflows to answer these queries. Ideally we need to avoid all queries that require a sync reflow.
Reporter | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Comment 2•11 years ago
|
||
Bug 875963 fixes some of them.
Updated•11 years ago
|
Whiteboard: [c= p= s=2013.11.22 u=]
You need to log in
before you can comment on or make changes to this bug.
Description
•