From fef414eca49c44180fba9a0ab32e647c0373e67f Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Wed, 3 Sep 2025 13:44:42 -0500 Subject: tools/metrics.py: Use all CPUs during comparison builds. Don't simply hard-code a parallelism of 3 for the build. Signed-off-by: Jeff Epler --- tools/metrics.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/metrics.py') diff --git a/tools/metrics.py b/tools/metrics.py index 150b40bff..9f2496d35 100755 --- a/tools/metrics.py +++ b/tools/metrics.py @@ -43,9 +43,9 @@ Other commands: """ -import collections, sys, re, subprocess +import collections, sys, re, subprocess, multiprocessing -MAKE_FLAGS = ["-j3", "CFLAGS_EXTRA=-DNDEBUG"] +MAKE_FLAGS = ["-j{}".format(multiprocessing.cpu_count()), "CFLAGS_EXTRA=-DNDEBUG"] class PortData: -- cgit v1.2.3