WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
270280
LibWebRTCCodecs's createRemoteEncoder is going through the main thread.
https://bugs.webkit.org/show_bug.cgi?id=270280
Summary
LibWebRTCCodecs's createRemoteEncoder is going through the main thread.
Jean-Yves Avenard [:jya]
Reported
2024-02-28 21:00:54 PST
LibWebRTCCodecs's createRemoteEncoder runs on a dedicated WorkQueue and is a WorkQueueMessageReceiver allowing it to send and receive IPC messages off the main thread. However, its use of sendWithAsyncReply means that all replies first transit through the main thread, which is a performance bottleneck Following
bug 270118
, we can instead use sendWithAsyncReplyOnDispatcher which allows to avoid the unnecessary re-dispatch.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-02-28 21:01:40 PST
<
rdar://problem/123806984
>
Jean-Yves Avenard [:jya]
Comment 2
2024-02-28 21:08:37 PST
Pull request:
https://github.com/WebKit/WebKit/pull/25276
EWS
Comment 3
2024-03-01 04:36:13 PST
Committed
275545@main
(c73ac9c2ac41): <
https://commits.webkit.org/275545@main
> Reviewed commits have been landed. Closing PR #25276 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