[webkit-changes] [WebKit/WebKit] 153655: WebsiteDataStore::setTrackingPreventionEnabled sho...

Sihui noreply at github.com
Tue Feb 27 13:49:46 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 15365541a8138ba8f48a423fec7fc52acd5ce2fe
      https://github.com/WebKit/WebKit/commit/15365541a8138ba8f48a423fec7fc52acd5ce2fe
  Author: Sihui Liu <sihui_liu at apple.com>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp

  Log Message:
  -----------
  WebsiteDataStore::setTrackingPreventionEnabled should not resolve directories
https://bugs.webkit.org/show_bug.cgi?id=270148
rdar://123669767

Reviewed by Brent Fulgham.

When investigating a performance issue, I noticed WebsiteDataStore::setTrackingPreventionEnabled spent a long time on
file operations. It turns out setTrackingPreventionEnabled tries to resolve directories, which is unnecessary for this
operation -- it does not need directory information at all.

* Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp:
(WebKit::WebsiteDataStore::setTrackingPreventionEnabled):

Canonical link: https://commits.webkit.org/275404@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list