[webkit-changes] [WebKit/WebKit] 3161dd: [GLib] Choose amount of painting threads depending...
Adrian Perez
noreply at github.com
Tue Apr 25 10:08:44 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3161dda2cc0ef51c2526aa3ce64d43c031990c83
https://github.com/WebKit/WebKit/commit/3161dda2cc0ef51c2526aa3ce64d43c031990c83
Author: Adrian Perez de Castro <aperez at igalia.com>
Date: 2023-04-25 (Tue, 25 Apr 2023)
Changed paths:
M Source/WebCore/platform/graphics/nicosia/NicosiaPaintingEngine.cpp
Log Message:
-----------
[GLib] Choose amount of painting threads depending on available CPU cores
https://bugs.webkit.org/show_bug.cgi?id=255923
Reviewed by Michael Catanzaro.
Pick default number of painting threads between 1 and 8, depending on
the amount of CPU cores. While at it, rework the environment variable
parsing to use WTF::parseInteger() and log the actual default number of
threads when the environment variable cannot be parsed or has a value
bigger than eight.
* Source/WebCore/platform/graphics/nicosia/NicosiaPaintingEngine.cpp:
(Nicosia::PaintingEngine::create):
Canonical link: https://commits.webkit.org/263378@main
More information about the webkit-changes
mailing list