Closed Bug 1487404 Opened 6 years ago Closed 6 years ago

gMainPane._rebuildView does multiple appendChild calls which is slow

Categories

(Firefox :: Settings UI, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
Firefox 63
Tracking Status
firefox63 --- fixed

People

(Reporter: jaws, Assigned: jaws)

Details

(Whiteboard: [fxperf])

Attachments

(3 files, 1 obsolete file)

See attached profiles.

_rebuildView calls connectAndAppendToList for each item. By factoring out the append operation we can use a documentFragment and append all children at one time.
Sounds like an easy perf win for about:preferences. Setting to P3 for Preferences, but throwing into the fxperf triage.
Priority: -- → P3
Whiteboard: [fxperf]
Attachment #9005207 - Attachment is obsolete: true
Comment on attachment 9005258 [details]
Bug 1487404 - Coalesce multiple appendChild calls to one appendChild call when building the application handlers list. r?mconley

Mike Conley (:mconley) (:⚙️) has approved the revision.
Attachment #9005258 - Flags: review+
Pushed by jwein@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c9eebf9240e5
Coalesce multiple appendChild calls to one appendChild call when building the application handlers list. r=mconley
https://hg.mozilla.org/mozilla-central/rev/c9eebf9240e5
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: