From d61116efc116845d32cd56b82089addd6b9327cc Mon Sep 17 00:00:00 2001 From: "Michael Hirsch, Ph.D" Date: Fri, 21 Jun 2019 10:07:55 -0400 Subject: [PATCH] windows project_test speedup by 2 --- run_project_tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run_project_tests.py b/run_project_tests.py index 585a700f6..1d7409c31 100755 --- a/run_project_tests.py +++ b/run_project_tests.py @@ -652,7 +652,8 @@ def _run_tests(all_tests, log_name_base, failfast, extra_args): # # Remove this once the following issue has been resolved: # https://github.com/mesonbuild/meson/pull/2082 - num_workers *= 2 + if not mesonlib.is_windows(): # twice as fast on Windows by *not* multiplying by 2. + num_workers *= 2 executor = ProcessPoolExecutor(max_workers=num_workers) for name, test_cases, skipped in all_tests: