Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 00634c1b3ea6169be499097a1e8304afbfd984b0
      
https://github.com/WebKit/WebKit/commit/00634c1b3ea6169be499097a1e8304afbfd984b0
  Author: Per Arne Vollan <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to