Closed Bug 1820806 Opened 3 years ago Closed 3 years ago

Make the map of all sources mutable

Categories

(DevTools :: Debugger, task)

task

Tracking

(firefox113 fixed)

RESOLVED FIXED
113 Branch
Tracking Status
firefox113 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 2 obsolete files)

Thanks to bug 1818496 and bug 1820805 we should be able to make the Map of all sources become mutable and avoid having to clone it on each new/removed source!

Blocks: dbg-perf
Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED

Now that this Map is only used internaly to sources reducer and selectors
and that we never return its raw reference, we can make it mutable.

Now that this Map is only used internaly to sources reducer and selectors
and that we never return its raw reference, we can make it mutable.

Attachment #9323447 - Attachment is obsolete: true
Attachment #9323446 - Attachment is obsolete: true
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3f5a54e57c88 [devtools] Stop exporting the sources Map. r=devtools-reviewers,bomsy https://hg.mozilla.org/integration/autoland/rev/a9a5907dc0a3 [devtools] Stop cloning the Map of all the sources. r=devtools-reviewers,bomsy
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch

== Change summary for alert #37708 (as of Sun, 19 Mar 2023 02:19:34 GMT) ==

Improvements:

Ratio Test Platform Options Absolute values (old vs new)
48% reload-debugger:parent-process objects-with-no-stacks linux1804-64-tsan-qr 565.67 -> 294.33
13% damp custom.jsdebugger.stepOver.DAMP windows10-64-shippable-qr e10s fission stylo webrender-sw 435.48 -> 379.01
13% damp custom.jsdebugger.project-search.DAMP windows10-64-shippable-qr e10s fission stylo webrender-sw 1,904.20 -> 1,665.54
12% damp custom.jsdebugger.project-search.DAMP windows10-64-shippable-qr e10s fission stylo webrender 1,949.32 -> 1,705.96
11% damp custom.jsdebugger.stepOver.DAMP windows10-64-shippable-qr e10s fission stylo webrender 437.05 -> 387.01
... ... ... ... ...
2% damp browser-toolbox.debugger-ready.DAMP windows10-64-shippable-qr e10s fission stylo webrender-sw 1,077.45 -> 1,054.94

For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=37708

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: