Looking for system fallbacks is expensive. We can prewarm them for processes that are likely need them.
Created attachment 352159 [details] patch
Created attachment 352165 [details] patch
Comment on attachment 352165 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=352165&action=review > Source/WebCore/page/ProcessWarming.cpp:93 > + prewarmInformation.fontCache = FontCache::singleton().collectPrewarmInformation(); > + return prewarmInformation; Can't we just do this?: return { FontCache::singleton().collectPrewarmInformation() }; > Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp:1538 > + if (prewarmInformation.seenFamilies.isEmpty() && prewarmInformation.fontNamesRequiringSystemFallback.isEmpty()) Maybe we can add PrewarmInformation::isEmpty?
Created attachment 352308 [details] patch
Created attachment 352310 [details] patch
Created attachment 352323 [details] patch
Comment on attachment 352323 [details] patch Clearing flags on attachment: 352323 Committed r237116: <https://trac.webkit.org/changeset/237116>
All reviewed patches have been landed. Closing bug.
<rdar://problem/45272576>