Summary: | Improve API::SerializedScriptValue::deserialize to not allocate a new JSContext every second | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Simon Taylor <simontaylor1> | ||||
Component: | WebKit API | Assignee: | Chris Dumez <cdumez> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Enhancement | CC: | achristensen, beidson, cdumez, darin, ggaren, guochongscut, heycam, mark.lam, sam, simontaylor1, webkit-bug-importer, ysuzuki | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | Safari 13 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=146416 | ||||||
Attachments: |
|
Description
Simon Taylor
2020-04-23 10:13:24 PDT
Looks like a solution for this issue: WebKit::WebUserContentControllerProxy::didReceiveMessage spents long time on JSContext initailization. https://developer.apple.com/forums/thread/702626 Created attachment 456819 [details]
Patch
Comment on attachment 456819 [details]
Patch
r=me
Committed r292483 (249334@main): <https://commits.webkit.org/249334@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 456819 [details]. |