Bug 245144 - [webkitcorepy] Ensure TaskPool queue full before reading
Summary: [webkitcorepy] Ensure TaskPool queue full before reading
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jonathan Bedard
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-09-13 08:35 PDT by Jonathan Bedard
Modified: 2022-09-19 13:23 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Bedard 2022-09-13 08:35:58 PDT
We should ensure that the TaskPool's queue of tasks is full before making any effort to consume messages from our workers. This will ensure that workers always have something to do. In extreme cases (ie, when we have many worker processes and short tasks), this is one of our bottlenecks.
Comment 1 Jonathan Bedard 2022-09-13 08:40:21 PDT
Pull request: https://github.com/WebKit/WebKit/pull/4314
Comment 2 Radar WebKit Bug Importer 2022-09-13 08:40:35 PDT
<rdar://problem/99873350>
Comment 3 EWS 2022-09-13 14:15:28 PDT
Committed 254456@main (df9c2ab6a703): <https://commits.webkit.org/254456@main>

Reviewed commits have been landed. Closing PR #4314 and removing active labels.
Comment 4 EWS 2022-09-19 13:23:37 PDT
Committed 252432.415@safari-7614-branch (fe98e9029a3e): <https://commits.webkit.org/252432.415@safari-7614-branch>

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