REOPENED 234538
[WebIDL] Eagerly allocate element wrappers onto a butterfly storage of a static NodeList
https://bugs.webkit.org/show_bug.cgi?id=234538
Summary [WebIDL] Eagerly allocate element wrappers onto a butterfly storage of a stat...
Alexey Shvayka
Reported 2021-12-20 17:38:50 PST
Preliminary microbenchmark results suggest 65% speed-up if a static NodeList is iterated at least once.
Attachments
WIP (13.44 KB, patch)
2022-01-06 11:53 PST, Alexey Shvayka
no flags
Radar WebKit Bug Importer
Comment 1 2021-12-27 17:39:27 PST
Alexey Shvayka
Comment 2 2022-01-06 11:53:01 PST
Geoffrey Garen
Comment 3 2022-01-06 12:23:13 PST
Comment on attachment 448520 [details] WIP View in context: https://bugs.webkit.org/attachment.cgi?id=448520&action=review > Source/JavaScriptCore/runtime/JSTypeInfo.h:113 > + bool getOwnPropertySlotByIndexIsWrongAboutReadOnly() const { return isSetOnFlags2<GetOwnPropertySlotByIndexIsWrongAboutReadOnly>(); } I'd suggest a name that describes what is true rather than what is false. Maybe something like "IndexedPropertiesAreReadOnly" or "PutByIndexOverrideWillProhibitWrites" or something like that.
Alexey Shvayka
Comment 4 2022-08-01 13:34:33 PDT
EWS
Comment 5 2022-08-26 12:53:50 PDT
Committed 253834@main (e0c79898e6c5): <https://commits.webkit.org/253834@main> Reviewed commits have been landed. Closing PR #2915 and removing active labels.
WebKit Commit Bot
Comment 6 2022-08-27 22:15:56 PDT
Re-opened since this is blocked by bug 244444
Alexey Shvayka
Comment 7 2022-08-29 15:30:56 PDT
EWS
Comment 8 2022-08-30 08:41:34 PDT
Committed 253946@main (9d5bc2bbab71): <https://commits.webkit.org/253946@main> Reviewed commits have been landed. Closing PR #3786 and removing active labels.
Alexey Shvayka
Comment 9 2022-08-31 19:26:45 PDT
Re-opening for pull request https://github.com/WebKit/WebKit/pull/3902
EWS
Comment 10 2022-09-01 03:05:34 PDT
Committed 254036@main (de4790b17831): <https://commits.webkit.org/254036@main> Reviewed commits have been landed. Closing PR #3902 and removing active labels.
WebKit Commit Bot
Comment 11 2022-09-13 10:56:04 PDT
Re-opened since this is blocked by bug 245151
Darin Adler
Comment 12 2022-10-15 15:58:32 PDT
Before re-landing this check to make sure we don’t reintroduce bug 244900.
Note You need to log in before you can comment on or make changes to this bug.