Closed
Bug 1423102
Opened 7 years ago
Closed 7 years ago
cache l10n values in RequestListColumnTransferredSize
Categories
(DevTools :: Netmonitor, enhancement, P3)
DevTools
Netmonitor
Tracking
(firefox59 fixed)
RESOLVED
FIXED
Firefox 59
Tracking | Status | |
---|---|---|
firefox59 | --- | fixed |
People
(Reporter: gasolin, Assigned: gasolin)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
in bug 1421926 comment 8 I found cache l10n strings also bring 5% perf gain complicated.netmonitor.requestsFinished -5.81% (low) complicated.netmonitor.requestsFinished -4.80% (med) https://treeherder.mozilla.org/perf.html#/comparesubtest?originalProject=mozilla-central&newProject=try&newRevision=41173ef9f599deff7d5c1f602d24f8dc20e172c1&originalSignature=edaec66500db21d37602c99daa61ac983f21a6ac&newSignature=edaec66500db21d37602c99daa61ac983f21a6ac&filter=netmonitor&framework=1&selectedTimeRange=172800 We should do this simple cache whether we want Bug 1421926 or not
Assignee | ||
Updated•7 years ago
|
Priority: -- → P3
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8934420 [details] Bug 1423102 - cache l10n values in RequestListColumnTransferredSize; https://reviewboard.mozilla.org/r/205344/#review210940 As we discussed at the meeting the patch won't have significant impact of perf since `L10N.getStr()` is already doing caching. But, I like the patch since it nicely defines constants (strings) at the top of the file and make the code clearer. R+ assuming try is green. Thanks Fred! Honza
Attachment #8934420 -
Flags: review?(odvarko) → review+
Assignee | ||
Comment 3•7 years ago
|
||
Thanks for review! try green, land it.
Pushed by flin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f7624079d0b2 cache l10n values in RequestListColumnTransferredSize;r=Honza
Comment 5•7 years ago
|
||
I don't know why DAMP push from comment 0 was wrong but I pushed again with a custom base run (with whatever was my current tip): https://treeherder.mozilla.org/perf.html#/comparesubtest?originalProject=try&originalRevision=2b667a68c6ef4a781b5f04675c96fd0a7e705074&newProject=try&newRevision=2be19e1eddc51c130e256a288404fe78993b5868&originalSignature=edaec66500db21d37602c99daa61ac983f21a6ac&newSignature=edaec66500db21d37602c99daa61ac983f21a6ac&filter=netmonitor&framework=1 And this reports no win, as I would expect.
Comment 6•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f7624079d0b2
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 59
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•