Open Bug 1844430 Opened 1 year ago Updated 1 year ago

NS_NewDOMDocument is rather slow

Categories

(Core :: DOM: Core & HTML, defect, P2)

defect

Tracking

()

People

(Reporter: smaug, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Whiteboard: [sp3])

DOMParser::ParseFromString needs to create a new document all the time.
But that creation seems to be rather unoptimized https://share.firefox.dev/44ujrpV

ES5 test on sp3 triggers this code path
https://speedometer-preview.netlify.app/?developerMode#home

Depends on: 1844752
Depends on: 1844755
Depends on: 1844774
Severity: -- → S3
Priority: -- → P2
Whiteboard: [sp3]
You need to log in before you can comment on or make changes to this bug.