[Webkit-unassigned] [Bug 186737] New: cssTextCache wastes 102KB of HashTable capacity on cnn.com

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 16 12:32:43 PDT 2018


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

            Bug ID: 186737
           Summary: cssTextCache wastes 102KB of HashTable capacity on
                    cnn.com
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: simon.fraser at apple.com

Using tooling from bug 186698, loading can and running "notifyutil -p com.apple.WebKit.dumpHashTableCapacity" shows:

Wasted capacity: 101856 bytes (used 29216 of 131072 bytes, utilization: 22.29%) - 1 allocations
1   0x10749b465 WTF::HashTable<WebCore::CSSPrimitiveValue const*, WTF::KeyValuePair<WebCore::CSSPrimitiveValue const*, WTF::String>, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WebCore::CSSPrimitiveValue const*, WTF::String> >, WTF::PtrHash<WebCore::CSSPrimitiveValue const*>, WTF::HashMap<WebCore::CSSPrimitiveValue const*, WTF::String, WTF::PtrHash<WebCore::CSSPrimitiveValue const*>, WTF::HashTraits<WebCore::CSSPrimitiveValue const*>, WTF::HashTraits<WTF::String> >::KeyValuePairTraits, WTF::HashTraits<WebCore::CSSPrimitiveValue const*> >::HashTable()
2   0x10749b445 WTF::HashMap<WebCore::CSSPrimitiveValue const*, WTF::String, WTF::PtrHash<WebCore::CSSPrimitiveValue const*>, WTF::HashTraits<WebCore::CSSPrimitiveValue const*>, WTF::HashTraits<WTF::String> >::HashMap()
3   0x10749b3f5 WTF::HashMap<WebCore::CSSPrimitiveValue const*, WTF::String, WTF::PtrHash<WebCore::CSSPrimitiveValue const*>, WTF::HashTraits<WebCore::CSSPrimitiveValue const*>, WTF::HashTraits<WTF::String> >::HashMap()
4   0x10749b380 WTF::NeverDestroyed<WTF::HashMap<WebCore::CSSPrimitiveValue const*, WTF::String, WTF::PtrHash<WebCore::CSSPrimitiveValue const*>, WTF::HashTraits<WebCore::CSSPrimitiveValue const*>, WTF::HashTraits<WTF::String> > >::NeverDestroyed<>()
5   0x10749b325 WTF::NeverDestroyed<WTF::HashMap<WebCore::CSSPrimitiveValue const*, WTF::String, WTF::PtrHash<WebCore::CSSPrimitiveValue const*>, WTF::HashTraits<WebCore::CSSPrimitiveValue const*>, WTF::HashTraits<WTF::String> > >::NeverDestroyed<>()
6   0x107494a7d WebCore::cssTextCache()
7   0x107496cb7 WebCore::CSSPrimitiveValue::customCSSText() const
8   0x1074c15aa WebCore::CSSValue::cssText() const

-- 
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/20180616/55d8b37a/attachment.html>


More information about the webkit-unassigned mailing list