WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
270327
WebExtensionContext::loadDeclarativeNetRequestRules takes 1.54s on the main thread loading Ghostery
https://bugs.webkit.org/show_bug.cgi?id=270327
Summary
WebExtensionContext::loadDeclarativeNetRequestRules takes 1.54s on the main t...
Timothy Hatcher
Reported
2024-02-29 16:42:54 PST
1.54 s 60.2% 0 s WebKit::WebExtensionContext::loadDeclarativeNetRequestRules(WTF::CompletionHandler<void (bool)>&&)::$_3::operator()() 1.24 s 48.5% 0 s +[_WKWebExtensionDeclarativeNetRequestTranslator translateRules:errorStrings:] 715.00 ms 28.0% 0 s -[_WKWebExtensionDeclarativeNetRequestRule ruleInWebKitFormat] 695.00 ms 27.2% 0 s -[_WKWebExtensionDeclarativeNetRequestRule _convertedRulesForWebKitActionType:chromeActionType:] 621.00 ms 24.3% 1.00 ms -[_WKWebExtensionDeclarativeNetRequestRule _webKitRuleWithWebKitActionType:chromeActionType:chromeResourceTypes:] 310.00 ms 12.1% 0 s -[_WKWebExtensionDeclarativeNetRequestRule _regexURLFilterForChromeURLFilter:] 113.00 ms 4.4% 0 s WebKit::escapeCharactersInString(NSString*, NSString*) 109.00 ms 4.2% 0 s -[_WKWebExtensionDeclarativeNetRequestRule _convertedResourceTypesForChromeResourceTypes:] We should move the _WKWebExtensionDeclarativeNetRequestTranslator work off the main thread into a background queue.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-02-29 16:43:21 PST
<
rdar://problem/123867301
>
Rob Hudson
Comment 2
2024-03-11 15:05:45 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/25743
EWS
Comment 3
2024-03-11 19:55:41 PDT
Committed
275952@main
(cedd7cbe9803): <
https://commits.webkit.org/275952@main
> Reviewed commits have been landed. Closing PR #25743 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