[webkit-changes] [WebKit/WebKit] 00634c: Calling SecStaticCodeCheckValidity() takes 16ms on...

Per Arne Vollan noreply at github.com
Mon May 8 13:13:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 00634c1b3ea6169be499097a1e8304afbfd984b0
      https://github.com/WebKit/WebKit/commit/00634c1b3ea6169be499097a1e8304afbfd984b0
  Author: Per Arne Vollan <pvollan at apple.com>
  Date:   2023-05-08 (Mon, 08 May 2023)

  Changed paths:
    M Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm

  Log Message:
  -----------
  Calling SecStaticCodeCheckValidity() takes 16ms on WebProcess launch
https://bugs.webkit.org/show_bug.cgi?id=256251
rdar://108020395

Reviewed by Geoffrey Garen.

Dispatch work on a secondary thread, so we can do other useful work while this XPC communication is in progress.
Local measurements show that this change reduces the blocking of the main thread from ~15ms to < 1ms.

* Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:
(WebKit::WebProcess::platformInitializeWebProcess):

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




More information about the webkit-changes mailing list