Closed
Bug 1047648
Opened 10 years ago
Closed 10 years ago
TelemetryImpl::mHistogramMap can use nsDepCharHashKey
Categories
(Toolkit :: Telemetry, defect)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: mccr8, Assigned: mccr8)
Details
(Whiteboard: [MemShrink:P3])
Attachments
(1 file)
1.33 KB,
patch
|
bugzilla
:
review+
|
Details | Diff | Splinter Review |
In bug 1047523, froydnj pointed out that mHistogramMap doesn't outlive the string keys it uses, so it can use nsDepCharHashKey. On OSX desktop, on a newly-opened browser, this saves 38kb of memory. I'm not sure how telemetry works on B2G, but if it is there, it might be worth backporting some places, as it is super simple.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8466534 -
Flags: review?(aklotz)
Updated•10 years ago
|
Attachment #8466534 -
Flags: review?(aklotz) → review+
Updated•10 years ago
|
Whiteboard: [MemShrink] → [MemShrink:P3]
Assignee | ||
Comment 2•10 years ago
|
||
try run: https://tbpl.mozilla.org/?tree=Try&rev=c2d7bf52d31d https://hg.mozilla.org/integration/mozilla-inbound/rev/0ff2c61b9e41
Comment 3•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/0ff2c61b9e41
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in
before you can comment on or make changes to this bug.
Description
•