Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ea9857a1ce1ad395f9ea52b6be99568223f52203
      
https://github.com/WebKit/WebKit/commit/ea9857a1ce1ad395f9ea52b6be99568223f52203
  Author: Charlie Wolfe <[email protected]>
  Date:   2026-09-29 (Tue, 29 Sep 2026)

  Changed paths:
    M Source/WebKit/WebProcess/WebProcess.cpp

  Log Message:
  -----------
  Prewarm AppKit's appearance initialization
https://bugs.webkit.org/show_bug.cgi?id=325676
rdar://188727102

Reviewed by Ben Nham and Per Arne Vollan.

AppKit does a one-time appearance setup the first time a 
LocalDefaultSystemAppearance is created.
Today that happens when the first page commits its initial empty document and 
resolves system
colors, so the cost lands on the first page load.

Create and immediately destroy a LocalDefaultSystemAppearance during global 
prewarming so this work
happens before the first load.

~1% cold PLT improvement.

* Source/WebKit/WebProcess/WebProcess.cpp:
(WebKit::WebProcess::prewarmGlobally):

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



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

Reply via email to