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
304376
Use more efficient network traffic attribution API
https://bugs.webkit.org/show_bug.cgi?id=304376
Summary
Use more efficient network traffic attribution API
Ben Nham
Reported
2025-12-17 18:25:12 PST
In
293525@main
we changed prefetched DNS resolution to use nw_parameters_set_source_application_by_bundle_id_internal to attribute the DNS request to the host application. It turns out that this is a pretty inefficient API (it blocks on a sync XPC message for ~10 ms which then goes and enumerates all apps by bundle ID on the system). Fix this by using nw_parameters_set_source_application instead, which doesn't seem to suffer from the same issue.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-12-17 18:25:21 PST
<
rdar://problem/166751326
>
Ben Nham
Comment 2
2025-12-17 18:27:25 PST
Pull request:
https://github.com/WebKit/WebKit/pull/55601
EWS
Comment 3
2025-12-18 08:53:32 PST
Committed
304682@main
(734443e9bf87): <
https://commits.webkit.org/304682@main
> Reviewed commits have been landed. Closing PR #55601 and removing active labels.
WebKit Commit Bot
Comment 4
2025-12-18 11:10:28 PST
Re-opened since this is blocked by
bug 304424
Ben Nham
Comment 5
2025-12-19 12:09:27 PST
Pull request:
https://github.com/WebKit/WebKit/pull/55723
EWS
Comment 6
2025-12-19 14:31:01 PST
Committed
304780@main
(9f34c252266c): <
https://commits.webkit.org/304780@main
> Reviewed commits have been landed. Closing PR #55723 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