WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
235536
Remove VM::stringCache
https://bugs.webkit.org/show_bug.cgi?id=235536
Summary
Remove VM::stringCache
Cameron McCormack (:heycam)
Reported
2022-01-24 13:40:15 PST
We consult VM::stringCache when creating a JSString, but since
bug 142115
we never insert anything into it. Removing this results in almost-significant improvements in the VueJS, Vanilla-ES2015, and jQuery sub-tests of Speedometer 2 (of 0.5-2%, 0.03 <= p <= 0.05), and an almost significant 0.2% improvement in the overall score (p = 0.06).
Attachments
Patch
(2.96 KB, patch)
2022-01-24 13:42 PST
,
Cameron McCormack (:heycam)
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Cameron McCormack (:heycam)
Comment 1
2022-01-24 13:42:16 PST
Created
attachment 449849
[details]
Patch
Darin Adler
Comment 2
2022-01-24 16:59:02 PST
Comment on
attachment 449849
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=449849&action=review
> Source/JavaScriptCore/ChangeLog:9 > + We consult VM::stringCache when creating a JSString, but since > +
bug 142115
we never insert anything into it.
6 years, wow I wonder if the patch making it work again would make things even faster. I suppose it comes with the risk of memory use regression.
EWS
Comment 3
2022-01-24 21:14:26 PST
Committed
r288537
(
246369@main
): <
https://commits.webkit.org/246369@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 449849
[details]
.
Radar WebKit Bug Importer
Comment 4
2022-01-24 21:15:16 PST
<
rdar://problem/88006205
>
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