WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
75992
querySelector* should cache results
https://bugs.webkit.org/show_bug.cgi?id=75992
Summary
querySelector* should cache results
Ryosuke Niwa
Reported
2012-01-10 13:53:21 PST
According to my research, it could benefit anywhere up to 50%. The variance is huge but benefit is huge on websites that does fit this pattern. For example, on gmail, about 2-30% of queries are identical consecutive queries on the same node.
Attachments
Add attachment
proposed patch, testcase, etc.
Anne van Kesteren
Comment 1
2023-12-29 03:02:29 PST
It has a cache these days.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug