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
302392
[GLIB] Skip run loop observer notifications earlier for activities with no observers registered
https://bugs.webkit.org/show_bug.cgi?id=302392
Summary
[GLIB] Skip run loop observer notifications earlier for activities with no ob...
Carlos Garcia Campos
Reported
2025-11-12 03:45:10 PST
We currently don't use Activity::AfterWaiting but on every run loop iteration we iterate the observers again after waiting for sources to check if there's any to notify. We could keep a count of observers registered for every activity and early return from RunLoop::notifyActivity when the given activity doesn't have observers registered.
Attachments
Add attachment
proposed patch, testcase, etc.
Carlos Garcia Campos
Comment 1
2025-11-12 03:51:05 PST
Pull request:
https://github.com/WebKit/WebKit/pull/53803
EWS
Comment 2
2025-11-17 02:12:49 PST
Committed
303110@main
(098750050ead): <
https://commits.webkit.org/303110@main
> Reviewed commits have been landed. Closing PR #53803 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2025-11-17 02:13:13 PST
<
rdar://problem/164870068
>
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