Closed Bug 1940066 Opened 1 year ago Closed 1 year ago

Compact arenas containing small buffer allocations

Categories

(Core :: JavaScript: GC, task, P2)

task

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: jonco, Assigned: jonco)

References

Details

(Keywords: perf-alert)

Attachments

(1 file)

It's straightforward to implement compacting for small buffers (allocated in arenas). This may reduce memory use slightly.

This makes the trace function for buffers take an indirect pointer and update
it if the target is moved as happens with existing edge tracing functions. This
is only supported for small buffers allocated in arenas.

Assignee: nobody → jcoppeard
Status: NEW → ASSIGNED
Severity: -- → N/A
Priority: -- → P2
Pushed by jcoppeard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dc7ac99304af Allow compacting of small buffers allocated in arenas r=sfink
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch

(Standard disclaimer: Pending backfills and confirmation by sheriffs )
1.6% improvement on Base content JS opt fission
0.4% improvement on Base content explicit opt fission

(In reply to Sandor Molnar[:smolnar] from comment #3)

https://hg.mozilla.org/mozilla-central/rev/dc7ac99304af

Perfherder has detected a awsy performance change from push dc7ac99304af6879cefe595fc974c539717547fc.

Improvements:

Ratio Test Platform Options Absolute values (old vs new)
2% Base Content JS windows11-64-2009-shippable-qr fission 1,573,440.00 -> 1,545,968.00
2% Base Content JS macosx1470-64-shippable fission 1,568,245.82 -> 1,540,896.00

Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests.

If you need the profiling jobs you can trigger them yourself from treeherder job view or ask a sheriff to do that for you.

You can run these tests on try with ./mach try perf --alert 43302

For more information on performance sheriffing please see our FAQ.

Keywords: perf-alert
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: