[webkit-changes] [WebKit/WebKit] a1ec0a: Bump the QoS of the IPC receive queue in the UIPro...

Chris Dumez noreply at github.com
Wed Feb 28 13:24:04 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a1ec0afd089816638d36426a46298c019ae12246
      https://github.com/WebKit/WebKit/commit/a1ec0afd089816638d36426a46298c019ae12246
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-02-28 (Wed, 28 Feb 2024)

  Changed paths:
    M Source/WebKit/Platform/IPC/Connection.cpp
    M Source/WebKit/Platform/IPC/Connection.h
    M Source/WebKit/UIProcess/AuxiliaryProcessProxy.cpp

  Log Message:
  -----------
  Bump the QoS of the IPC receive queue in the UIProcess
https://bugs.webkit.org/show_bug.cgi?id=270178
rdar://120745771

Reviewed by Geoffrey Garen and Sihui Liu.

Bump the QoS of the IPC receive queue in the UIProcess. The IPC receive queue was
running at a much lower QoS than the main thread, potentially causing delay in
some performance-sensitive tasks. We've seen examples (see radar) of the main
thread hanging, waiting on the IPC receive queue to release a lock for e.g.

This tested as performance-neutral on most benchmarks. However, this tested as
a ~0.7% progression on PLT5 on Apple Silicon.

* Source/WebKit/Platform/IPC/Connection.cpp:
(IPC::Connection::createServerConnection):
(IPC::Connection::Connection):
* Source/WebKit/Platform/IPC/Connection.h:
* Source/WebKit/UIProcess/AuxiliaryProcessProxy.cpp:
(WebKit::AuxiliaryProcessProxy::didFinishLaunching):

Canonical link: https://commits.webkit.org/275462@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