topPrivatelyControlledDomain is slow
[WebKit-https.git] / Source / WebCore / ChangeLog
index 1c76e20..3acb81c 100644 (file)
@@ -1,3 +1,17 @@
+2018-10-22  Antti Koivisto  <antti@apple.com>
+
+        topPrivatelyControlledDomain is slow
+        https://bugs.webkit.org/show_bug.cgi?id=190792
+
+        Reviewed by Alex Christensen and Chris Dumez.
+
+        It calls into some slowish CFNetwork code and ends up showing up in profiles.
+
+        * platform/mac/PublicSuffixMac.mm:
+        (WebCore::topPrivatelyControlledDomain):
+
+        Add a cache that avoids calls into frameworks.
+
 2018-10-22  Jer Noble  <jer.noble@apple.com>
 
         Use WeakPtr and GenericTaskQueue within ObjC classes used by MediaPlayerPrivateAVFoundationObjC