Closed Bug 1844832 Opened 1 year ago Closed 1 year ago

Share non-document-dependent initial structs.

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

(Whiteboard: [sp3])

Attachments

(2 files)

No description provided.

In bug 1844755, a bunch of the time is spent allocating initial values.

There used to be more document-dependent initial values before
bug 1834487, but now that's only about default-font and direction.

This improves the situation by sharing initial structs that don't depend
on the document.

Whiteboard: [sp3]
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ca4f4039753a Share document-independent struct allocations. r=boris https://hg.mozilla.org/integration/autoland/rev/bed12c379943 Fix a bunch of miscellaneous clang-tidy warnings in nsStyleStruct. r=boris
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: