Summary: | Add layout test for performance of adding children to a shadow host | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Antti Koivisto <koivisto> | ||||||
Component: | DOM | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | ap, darin, gsnedders, rniwa, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 229680 | ||||||||
Attachments: |
|
Description
Antti Koivisto
2021-09-06 07:05:40 PDT
Created attachment 437411 [details]
patch
Created attachment 437426 [details]
patch
Comment on attachment 437426 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=437426&action=review > LayoutTests/fast/shadow-dom/host-child-append-performance.html:11 > +for (i = 0; i < 10000; ++i) > + host.appendChild(document.createElement("div")); Wouldn't this test start passing on a very fast machine even if this got broken or start failing on a very slow machine without any regression? I guess there is no way around it. In theory, but this is really far from passing, especially on debug build. (without the fix that is) Committed r282073 (241373@main): <https://commits.webkit.org/241373@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 437426 [details]. |