Closed Bug 1844755 Opened 11 months ago Closed 8 months ago

Consider to not create ServoStyleSet for data documents

Categories

(Core :: CSS Parsing and Computation, defect, P3)

defect

Tracking

()

RESOLVED FIXED
121 Branch
Tracking Status
firefox121 --- fixed

People

(Reporter: smaug, Assigned: smaug)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [sp3])

Attachments

(1 file)

See the profile in bug 1844430.
Could we not create the ServoStyleSet or create it lazily?

Depends on: 1844832
Depends on: 1844874

The severity field is not set for this bug.
:emilio, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)
Severity: -- → S3
Flags: needinfo?(emilio)
Priority: -- → P3

https://share.firefox.dev/3OnGJXr
Creating ServoStyleSet is still 4% of DOMParser::ParseFromString.

Attachment #9359455 - Attachment description: WIP: Bug 1844755 - Consider to not create ServoStyleSet for data documents, r=emilio → Consider to not create ServoStyleSet for data documents, r=emilio
Assignee: nobody → smaug
Attachment #9359455 - Attachment description: Consider to not create ServoStyleSet for data documents, r=emilio → Bug 1844755 - Consider to not create ServoStyleSet for data documents, r=emilio
Status: NEW → ASSIGNED
Pushed by opettay@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f1426851ae30
Consider to not create ServoStyleSet for data documents, r=emilio

Backed out for causing failures on test_printpreview.xhtml

[task 2023-10-23T10:34:52.564Z] 10:34:52     INFO - TEST-UNEXPECTED-FAIL | layout/base/tests/chrome/test_printpreview.xhtml | Printing printpreview_quirks.html and printpreview_quirks_ref.html should produce the same results - got false, expected true
[task 2023-10-23T10:34:52.564Z] 10:34:52     INFO - SimpleTest.is@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:509:14
[task 2023-10-23T10:34:52.564Z] 10:34:52     INFO - compareFiles@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:504:5
[task 2023-10-23T10:34:52.564Z] 10:34:52     INFO - async*runTest11@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:509:9
[task 2023-10-23T10:34:52.564Z] 10:34:52     INFO - setTimeout handler*runTest10/<@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:447:48
[task 2023-10-23T10:34:52.564Z] 10:34:52     INFO - FrameRequestCallback*runTest10@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:447:24
[task 2023-10-23T10:34:52.564Z] 10:34:52     INFO - async*runTest9/<@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:401:48
[task 2023-10-23T10:34:52.564Z] 10:34:52     INFO - FrameRequestCallback*runTest9@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:401:24
[task 2023-10-23T10:34:52.564Z] 10:34:52     INFO - async*runTest8/<@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:363:48
[task 2023-10-23T10:34:52.564Z] 10:34:52     INFO - FrameRequestCallback*runTest8@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:363:24
[task 2023-10-23T10:34:52.565Z] 10:34:52     INFO - async*runTest7/<@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:337:48
[task 2023-10-23T10:34:52.565Z] 10:34:52     INFO - FrameRequestCallback*runTest7@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:337:24
[task 2023-10-23T10:34:52.565Z] 10:34:52     INFO - async*runTest6end/<@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:315:48
[task 2023-10-23T10:34:52.565Z] 10:34:52     INFO - FrameRequestCallback*runTest6end@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:315:24
[task 2023-10-23T10:34:52.565Z] 10:34:52     INFO - async*runTest6@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:308:13
[task 2023-10-23T10:34:52.565Z] 10:34:52     INFO - setTimeout handler*runTest5@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:299:13
[task 2023-10-23T10:34:52.565Z] 10:34:52     INFO - async*runTest4end@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:288:3
[task 2023-10-23T10:34:52.565Z] 10:34:52     INFO - async*runTest4@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:281:13
[task 2023-10-23T10:34:52.565Z] 10:34:52     INFO - setTimeout handler*runTest3@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:256:13
[task 2023-10-23T10:34:52.565Z] 10:34:52     INFO - setTimeout handler*compareFormElementPrint@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:274:13
[task 2023-10-23T10:34:52.565Z] 10:34:52     INFO - async*runTest3@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:252:28
[task 2023-10-23T10:34:52.565Z] 10:34:52     INFO - setTimeout handler*compareFormElementPrint@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:274:13
[task 2023-10-23T10:34:52.566Z] 10:34:52     INFO - async*runTest3@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:252:28
[task 2023-10-23T10:34:52.566Z] 10:34:52     INFO - setTimeout handler*compareFormElementPrint@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:274:13
[task 2023-10-23T10:34:52.566Z] 10:34:52     INFO - async*runTest3@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:252:28
[task 2023-10-23T10:34:52.566Z] 10:34:52     INFO - setTimeout handler*compareFormElementPrint@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:274:13
[task 2023-10-23T10:34:52.566Z] 10:34:52     INFO - async*runTest3@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:252:28
[task 2023-10-23T10:34:52.566Z] 10:34:52     INFO - setTimeout handler*compareFormElementPrint@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:274:13
[task 2023-10-23T10:34:52.566Z] 10:34:52     INFO - async*runTest3@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:252:28
[task 2023-10-23T10:34:52.566Z] 10:34:52     INFO - setTimeout handler*compareFormElementPrint@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:274:13
[task 2023-10-23T10:34:52.566Z] 10:34:52     INFO - async*runTest3@chrome://mochitests/content/chrome/layout/base/tests/chrome/printpreview_helper.xhtml:252:28
[task 2023-10-23T10:34:52.567Z] 10:34:52     INFO - Comparing test_document_adopted_styles.html with test_document_adopted_styles_ref.html
[task 2023-10-23T10:34:52.567Z] 10:34:52     INFO - GECKO(3605) | [Parent 3605, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1224
Flags: needinfo?(smaug)
Pushed by opettay@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1cb4268de33e
Consider to not create ServoStyleSet for data documents, r=emilio
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
Flags: needinfo?(smaug)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: