WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
291589
WebKit serialization tends to use copying when it should be moving
https://bugs.webkit.org/show_bug.cgi?id=291589
Summary
WebKit serialization tends to use copying when it should be moving
Brent Fulgham
Reported
2025-04-15 13:42:47 PDT
ResourceRequestBase, RequestData, and ResourceResponse Data are serialized through IPC using move operations, but because these classes only offer copy-based constructors they are passing through the copy code path instead of moving the memory. In the case of strings, URLs, Vectors of Strings, Maps of Strings this is more costly than necessary.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-04-15 13:43:12 PDT
<
rdar://problem/149327994
>
Brent Fulgham
Comment 2
2025-04-15 15:01:10 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/44121
EWS
Comment 3
2025-04-17 14:18:13 PDT
Committed
293818@main
(a83c1665d5a6): <
https://commits.webkit.org/293818@main
> Reviewed commits have been landed. Closing PR #44121 and removing active labels.
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