[webkit-changes] [WebKit/WebKit] 4232ea: Reading logging preference file takes time on launch

Per Arne Vollan noreply at github.com
Thu Jul 27 09:05:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4232eab5d0d4a3136da3f71ea201ce03dce31727
      https://github.com/WebKit/WebKit/commit/4232eab5d0d4a3136da3f71ea201ce03dce31727
  Author: Per Arne Vollan <pvollan at apple.com>
  Date:   2023-07-27 (Thu, 27 Jul 2023)

  Changed paths:
    M Source/WebKit/Configurations/WebKit.xcconfig
    R Source/WebKit/Resources/Signposts/LoggingPreferences.plist
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj

  Log Message:
  -----------
  Reading logging preference file takes time on launch
https://bugs.webkit.org/show_bug.cgi?id=259483
rdar://112840318

Reviewed by Brent Fulgham.

Reading the logging preference file is using 30-40ms of CPU time when launching the WebContent process on iOS.
This patch proposes that we remove the file, and instead set the preferences manually when needed.

* Source/WebKit/Configurations/WebKit.xcconfig:
* Source/WebKit/Resources/Signposts/LoggingPreferences.plist: Removed.
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:

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




More information about the webkit-changes mailing list