Bug 259433 - Allocating a new IPC::Semaphore for each RemoteImageBufferProxy::flushDrawingContextAsync adds significant overhead
Summary: Allocating a new IPC::Semaphore for each RemoteImageBufferProxy::flushDrawing...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Matt Woodrow
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-07-23 15:40 PDT by Matt Woodrow
Modified: 2023-07-24 15:09 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Woodrow 2023-07-23 15:40:52 PDT
We currently allocate a new Semaphore for every buffer flush, we should be able to recycle them.
Comment 1 Radar WebKit Bug Importer 2023-07-23 15:41:02 PDT
<rdar://problem/112743547>
Comment 2 Matt Woodrow 2023-07-23 15:47:55 PDT
Pull request: https://github.com/WebKit/WebKit/pull/16026
Comment 3 EWS 2023-07-24 15:09:47 PDT
Committed 266265@main (80f6e24ca1d1): <https://commits.webkit.org/266265@main>

Reviewed commits have been landed. Closing PR #16026 and removing active labels.