Closed Bug 1408737 Opened 8 years ago Closed 8 years ago

Upgrade reselect in Devtools shared libraries

Categories

(DevTools :: Shared Components, enhancement, P2)

enhancement

Tracking

(firefox57 fix-optional, firefox58 fixed)

RESOLVED FIXED
Firefox 58
Tracking Status
firefox57 --- fix-optional
firefox58 --- fixed

People

(Reporter: gasolin, Assigned: gasolin)

References

Details

Attachments

(1 file)

After bug 1310573 we have reselect 2.5.4 in our shared libraries. According to reselect release note, 3.0.0 bring performance improvement to reslect https://github.com/reactjs/reselect/releases It's worth to evaluate the new version by following http://searchfox.org/mozilla-central/source/devtools/client/shared/vendor/RESELECT_UPGRADING
Blocks: 1350969
Local DAMP test shows 150ms(5.5k->5.4k) improvement for complicated requestsFinished test case current { "name": "simple.netmonitor.open.DAMP", "value": 359.5824999999968 }, { "name": "simple.netmonitor.reload.DAMP", "value": 57.852499999999054 }, { "name": "simple.netmonitor.requestsFinished.DAMP", "value": 139.63749999999982 }, { "name": "simple.netmonitor.close.DAMP", "value": 28.159999999999968 }, { "name": "complicated.netmonitor.open.DAMP", "value": 481.27750000000196 }, { "name": "complicated.netmonitor.reload.DAMP", "value": 1125.2949999999946 }, { "name": "complicated.netmonitor.requestsFinished.DAMP", "value": 5579.904999999999 }, { "name": "complicated.netmonitor.close.DAMP", "value": 96.34499999999753 } ], "value": 265.8106782849597 } ] } with new reselect lib { { "name": "simple.netmonitor.open.DAMP", "value": 367.40499999999884 }, { "name": "simple.netmonitor.reload.DAMP", "value": 62.842499999999745 }, { "name": "simple.netmonitor.requestsFinished.DAMP", "value": 145.78999999999724 }, { "name": "simple.netmonitor.close.DAMP", "value": 28.9950000000008 }, { "name": "complicated.netmonitor.open.DAMP", "value": 483.9175000000014 }, { "name": "complicated.netmonitor.reload.DAMP", "value": 1099.3599999999988 }, { "name": "complicated.netmonitor.requestsFinished.DAMP", "value": 5427.237500000003 }, { "name": "complicated.netmonitor.close.DAMP", "value": 96.0699999999988 } ], "value": 270.0290903956924 } ] }
Assignee: nobody → gasolin
Status: NEW → ASSIGNED
DAMP shows different perf inhancement place. `simple.netmonitor.requestsFinished.DAMP` get improved by 3%~6%, but complicated.netmonitor.close decreased 3%~6% I think for netmonitor, requestsFinished time is more important than the close time, so it still worth the upgrade.
Comment on attachment 8922589 [details] Bug 1408737 - Upgrade reselect in Devtools shared libraries; https://reviewboard.mozilla.org/r/193702/#review200020 Yes, agree, it's worth to upgrade this lib. R+ Thanks Fred for working on this! Honza
Attachment #8922589 - Flags: review?(odvarko) → review+
Pushed by flin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/eb4f3467df5c Upgrade reselect in Devtools shared libraries;r=Honza
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: