Bug 192901 - Adding runtime-enabled attribute to Element prevents inlining property access
Summary: Adding runtime-enabled attribute to Element prevents inlining property access
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Bindings (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Justin Michaud
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-12-19 16:52 PST by Justin Michaud
Modified: 2019-01-09 14:02 PST (History)
6 users (show)

See Also:


Attachments
Patch (17.91 KB, patch)
2018-12-19 17:06 PST, Justin Michaud
no flags Details | Formatted Diff | Diff
Patch (17.85 KB, patch)
2018-12-19 21:35 PST, Justin Michaud
no flags Details | Formatted Diff | Diff
Patch (17.87 KB, patch)
2018-12-20 09:43 PST, Justin Michaud
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Michaud 2018-12-19 16:52:25 PST
This test <https://trac.webkit.org/browser/trunk/LayoutTests/js/dom/domjit-function-get-element-by-id.html> started failing after this patch <>.
See https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=js%2Fdom%2Fdomjit-function-get-element-by-id.html

Saam suggested calling flattenDictionaryObject should fix this, and it seems to work.
Comment 1 Justin Michaud 2018-12-19 17:06:59 PST
Created attachment 357761 [details]
Patch
Comment 2 Justin Michaud 2018-12-19 21:35:49 PST
Created attachment 357778 [details]
Patch
Comment 3 Saam Barati 2018-12-19 23:21:06 PST
Comment on attachment 357778 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=357778&action=review

> Source/WebCore/ChangeLog:3
> +        Adding runtime-enabled attribute to Element prevents inlining

I’d saying “inlining property access” here.
Comment 4 Justin Michaud 2018-12-20 09:43:36 PST
Created attachment 357822 [details]
Patch
Comment 5 WebKit Commit Bot 2018-12-20 17:33:22 PST
Comment on attachment 357822 [details]
Patch

Clearing flags on attachment: 357822

Committed r239483: <https://trac.webkit.org/changeset/239483>
Comment 6 WebKit Commit Bot 2018-12-20 17:33:25 PST
All reviewed patches have been landed.  Closing bug.
Comment 7 Radar WebKit Bug Importer 2018-12-20 17:34:27 PST
<rdar://problem/46888953>
Comment 8 Saam Barati 2019-01-08 11:46:44 PST
This was also a 7% progression on the "Dromaeo CSS Selector" test.
Comment 9 Ryosuke Niwa 2019-01-09 14:02:50 PST
(In reply to Saam Barati from comment #8)
> This was also a 7% progression on the "Dromaeo CSS Selector" test.

Nice!