From 2ddf1b780feb9e3da20fae069cbb54757a4c7527 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Thu, 20 Nov 2025 23:31:00 +0200 Subject: [PATCH] coverage: use `ctrace` core to avoid CI slowdown on Python 3.14 While `sysmon` (default since Python 3.14) is supposed to be faster, it about 3x slower in CI (~24m vs. ~8m) ATM. https://coverage.readthedocs.io/en/latest/config.html#config-run-core https://coverage.readthedocs.io/en/latest/faq.html#q-coverage-py-is-much-slower-than-i-remember-what-s-going-on --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 72cfdcb03c8..5956eff9f68 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -446,6 +446,9 @@ include = [ parallel = true branch = true patch = [ "subprocess" ] +# The sysmon core (default since Python 3.14) is much slower. +# Perhaps: https://github.com/coveragepy/coveragepy/issues/2082 +core = "ctrace" [tool.coverage.paths] source = [