Closed
Bug 1932962
Opened 1 year ago
Closed 1 year ago
Optimize CounterMetric construction when disabled
Categories
(Toolkit :: Telemetry, enhancement, P4)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
135 Branch
| Tracking | Status | |
|---|---|---|
| firefox135 | --- | fixed |
People
(Reporter: chutten, Assigned: chutten)
References
Details
Attachments
(1 file)
Right now we have an optimized path using codegen_new for constructing CounterMetric instances in a way that's as small as possible in terms of binary size (bug 1866479).
With bug 1931277 it is very likely that Thunderbird will be mass-disabling these metrics. But codegen_new presumes that the metric is enabled.
This bug is about reducing binary size for default-disabled use-counter-style counter metrics. (Probably by writing codegen_disabled_new)
Note that we can't "just" make these all anonymous or disappear because Server Knobs could come in and re-enable them.
| Assignee | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Assignee: nobody → chutten
Status: NEW → ASSIGNED
Pushed by chutten@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/135720192601
Optimize the construction of simple disabled counter metrics r=TravisLong
Comment 3•1 year ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox135:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•