Summary: | 2-3% of main thread time under UTTypeCreatePreferredIdentifierForTag on wunderground map | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Tim Horton <thorton> | ||||||||||||||||||||
Component: | New Bugs | Assignee: | Tim Horton <thorton> | ||||||||||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||||||||||
Severity: | Normal | CC: | aestes, bdakin, commit-queue, simon.fraser, webkit-bug-importer | ||||||||||||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||||||||||||
Version: | WebKit Nightly Build | ||||||||||||||||||||||
Hardware: | Unspecified | ||||||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||||||
Attachments: |
|
Description
Tim Horton
2017-08-15 21:35:27 PDT
Created attachment 318222 [details]
Patch
Created attachment 318223 [details]
Patch
Created attachment 318224 [details]
Patch
Comment on attachment 318224 [details]
Patch
r=me if you fix the iOS build.
Created attachment 318226 [details]
Patch
Created attachment 318227 [details]
Patch
Created attachment 318230 [details]
Patch
Created attachment 318233 [details]
Patch
Created attachment 318237 [details]
Patch
😠Comment on attachment 318237 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=318237&action=review > Source/WebCore/platform/network/mac/UTIUtilities.mm:90 > + static NeverDestroyed<TinyLRUCache<String, String, 16, UTIFromMIMETypeCachePolicy>> cache; Is this code only ever called from main thread? (In reply to Alexey Proskuryakov from comment #11) > Comment on attachment 318237 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=318237&action=review > > > Source/WebCore/platform/network/mac/UTIUtilities.mm:90 > > + static NeverDestroyed<TinyLRUCache<String, String, 16, UTIFromMIMETypeCachePolicy>> cache; > > Is this code only ever called from main thread? I believe so (looking through the callers). I threw an assert in and am running the tests, and I'll keep it in the landed patch. Created attachment 318276 [details]
Patch
Comment on attachment 318276 [details] Patch Clearing flags on attachment: 318276 Committed r220808: <http://trac.webkit.org/changeset/220808> All reviewed patches have been landed. Closing bug. |