Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5fc5182bcf83571abe6b499cba9a871202086606
      
https://github.com/WebKit/WebKit/commit/5fc5182bcf83571abe6b499cba9a871202086606
  Author: Carlos Alberto Lopez Perez <[email protected]>
  Date:   2026-08-13 (Thu, 13 Aug 2026)

  Changed paths:
    M Source/WTF/wtf/NumberOfCores.cpp

  Log Message:
  -----------
  [WTF] numberOfProcessorCores() should honor the env var NUMBER_OF_PROCESSORS 
if set
https://bugs.webkit.org/show_bug.cgi?id=321672

Reviewed by Justin Michaud.

We use this env var on the CI bots to tell the test runner how much parallelism 
it
can use, so WTF::numberOfProcessorCores() should honor that if set.

The other env var honored there which is named "WTF_numberOfProcessorCores" was
added on 185692@main and I don't see it used anywhere, but I kept it out of
precaution and with higher priority than NUMBER_OF_PROCESSORS.

* Source/WTF/wtf/NumberOfCores.cpp:
(WTF::numberOfProcessorCores):

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



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

Reply via email to