Closed Bug 1500121 Opened 1 year ago Closed 1 year ago

IdValueVector needs some inline storage

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: jandem, Assigned: jandem)

Details

Attachments

(1 file)

This showed up in DMD output and adding some instrumentation to the bytecode emitter confirms an inline capacity of 8 will eliminate > 15000 mallocs when starting the browser and loading a particular GDoc.
Pushed by jandemooij@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/d46116aa3527
Give IdValueVector some inline capacity. r=luke
https://hg.mozilla.org/mozilla-central/rev/d46116aa3527
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.