2-3% of main thread time under UTTypeCreatePreferredIdentifierForTag on wunderground map
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.
<rdar://problem/33925934>