[Webkit-unassigned] [Bug 180979] Web Inspector: Slow Load Time When Connected To Specific iCloud Account

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 19 20:03:12 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=180979

Joseph Pecoraro <joepeck at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mmaxfield at apple.com,
                   |                            |webkit at devinrousso.com

--- Comment #4 from Joseph Pecoraro <joepeck at webkit.org> ---
Thanks for the spindump. It produced some very useful information. The radar doesn't appear to have a sysdiagnose attached, maybe it failed to attached?

The spindump shows nearly 100% of the samples in the inspected page's process (2 seconds of CPU time) was enumerating the system fonts.

> Process:         com.apple.WebKit.WebContent [24549]
> Responsible:     Safari [24486]
> CPU Time:        3.874s
> ...
>   Thread           DispatchQueue 1           1000 samples (1-1000)     priority 38-46 (base 46)  cpu time 3.819s
>    ...
>     419  Inspector::BackendDispatcher::dispatch(WTF::String const&) + 2330 (JavaScriptCore + 7255306) [0x7fff4a87c50a]
>       418  Inspector::CSSBackendDispatcher::dispatch(long, WTF::String const&, WTF::Ref<Inspector::InspectorObject>&&) + 570 (JavaScriptCore + 7272730) [0x7fff4a88091a]
>         418  Inspector::CSSBackendDispatcher::getSupportedSystemFontFamilyNames(long, WTF::RefPtr<Inspector::InspectorObject>&&) + 96 (JavaScriptCore + 7283136) [0x7fff4a8831c0]
>           418  WebCore::InspectorCSSAgent::getSupportedSystemFontFamilyNames(WTF::String&, WTF::RefPtr<Inspector::Protocol::Array<WTF::String> >&) + 69 (WebCore + 7807109) [0x7fff54909085]
>             418  WebCore::FontCache::systemFontFamilies() + 79 (WebCore + 5651663) [0x7fff546faccf]
>               418  CTFontDescriptorCreateMatchingFontDescriptors ...
>                 ...

This amount of time is unexpectedly long, and would certainly block other messages the inspector (and even the page) need to remain responsive.

Do you happen to have a lot of custom fonts installed?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171220/82fd9f8b/attachment.html>


More information about the webkit-unassigned mailing list