Closed
Bug 1922563
Opened 1 year ago
Closed 1 year ago
Investigate relevancy of optimizing storage for mozilla::dom::MathMLElement::MapGlobalMathMLAttributesInto()::values
Categories
(Core :: DOM: Core & HTML, task)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
133 Branch
| Tracking | Status | |
|---|---|---|
| firefox133 | --- | fixed |
People
(Reporter: sergesanspaille, Assigned: sergesanspaille)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
It shows up in the profile from https://bugzilla.mozilla.org/show_bug.cgi?id=1922272#c1
| Assignee | ||
Comment 1•1 year ago
|
||
Use some kind of prefix table to avoid storing redundant string. Also
Avoid storing an array of enum when tehre's a direct mapping between
enum values and loop index.
This result in a reduction of 352 byte in the resulting binary, so this
may not be worth the effort, but it was great fun to write that patch.
Updated•1 year ago
|
Attachment #9428849 -
Attachment description: Bug 1922563 - Reduce memory foot print of mozilla::dom::MathMLElement::MapGlobalMathMLAttributesInto()::values → WIP: Bug 1922563 - Reduce memory foot print of mozilla::dom::MathMLElement::MapGlobalMathMLAttributesInto()::values
Updated•1 year ago
|
Attachment #9428849 -
Attachment description: WIP: Bug 1922563 - Reduce memory foot print of mozilla::dom::MathMLElement::MapGlobalMathMLAttributesInto()::values → Bug 1922563 - Reduce memory foot print of mozilla::dom::MathMLElement::MapGlobalMathMLAttributesInto()::values
Pushed by sguelton@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/875fb891b6a9
Reduce memory foot print of mozilla::dom::MathMLElement::MapGlobalMathMLAttributesInto()::values r=emilio
Backed out for causing (part of commit message) build bustages on MathMLElement.cpp
Flags: needinfo?(sguelton)
Pushed by sguelton@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c518c29f1c31
Reduce memory foot print of mozilla::dom::MathMLElement::MapGlobalMathMLAttributesInto()::values r=emilio
Comment 5•1 year ago
|
||
Backed out for causing bustages at MathMLElement.cpp.
Backout link: https://hg.mozilla.org/integration/autoland/rev/203efe29ccd568d8f65727acd7177cc1629de76d
Failure log: https://treeherder.mozilla.org/logviewer?job_id=478206433&repo=autoland&lineNumber=22146
Pushed by sguelton@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5f6ddacd157f
Reduce memory foot print of mozilla::dom::MathMLElement::MapGlobalMathMLAttributesInto()::values r=emilio
Comment 7•1 year ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox133:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
| Assignee | ||
Updated•1 year ago
|
Flags: needinfo?(sguelton)
Updated•1 year ago
|
Component: General → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•