Closed Bug 1396573 Opened 7 years ago Closed 6 years ago

When custom elements preference is on, creating a non-custom element via document.createElement() shouldn't have a noticeable slowdown

Categories

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

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: jdai, Assigned: edgar)

References

Details

Attachments

(1 file, 1 obsolete file)

+++ This bug was initially created as a follow-up of bug 1299363 comment #77 +++

* The normal case (createElement, with these changes, no define() calls, one arg) is a noticeable slowdown over the "without these changes"  case. That needs to be profiled, understood, and fixed.
Priority: -- → P2
Summary: When custom elements preference is on, createElement with no define() calls shouldn't have a noticeable slowdown → When custom elements preference is on, creating a non-custom element via document.createElement() shouldn't have a noticeable slowdown
Attached file test.html (obsolete) —
Depends on: 1419643
Attached file test.html
Attachment #8931551 - Attachment is obsolete: true
Test Attachment #8931580 [details] again with recent m-c 05fed903f40f (which includes bug 1392974 fix),
- pref-off: average time is about 45.78920000000002 ms 
- pref-on: average time is about 46.0476 ms

The result looks good, so close this bug, feel free to reopen or file a new bug if you still see it.
Assignee: nobody → echen
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: