Closed Bug 1852979 Opened 2 years ago Closed 2 years ago

Avoid unecessary React updates in SourcesTreeItem

Categories

(DevTools :: Debugger, enhancement)

enhancement

Tracking

(firefox119 fixed)

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This property wasn't used and forced react updates as the arrow function
will cause the property to change on any state change.

Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Blocks: 1853123
Blocks: 1853124
Blocks: 1843454
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ed783efaebef [devtools] Avoid unecessary React updates in SourcesTreeItem r=bomsy
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch

== Change summary for alert #39623 (as of Wed, 20 Sep 2023 21:33:56 GMT) ==

Improvements:

Ratio Test Platform Options Absolute values (old vs new)
73% damp custom.jsdebugger.adding-sources.DAMP linux1804-64-shippable-qr e10s fission stylo webrender-sw 1,624.99 -> 444.26
73% damp custom.jsdebugger.adding-sources.DAMP linux1804-64-shippable-qr e10s fission stylo webrender 1,642.65 -> 450.37
64% damp custom.jsdebugger.adding-sources.DAMP windows10-64-shippable-qr e10s fission stylo webrender-sw 1,170.71 -> 419.93
64% damp custom.jsdebugger.adding-sources.DAMP windows10-64-shippable-qr e10s fission stylo webrender 1,175.14 -> 422.12
33% damp custom.jsdebugger.stepOver.DAMP linux1804-64-shippable-qr e10s fission stylo webrender 433.14 -> 290.93
... ... ... ... ...
2% damp cold.jsdebugger.open.DAMP windows10-64-shippable-qr e10s fission stylo webrender-sw 477.95 -> 467.87

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

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

Attachment

General

Created:
Updated:
Size: