Skip to content

Commit 2ddf1b7

Browse files
committed
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
1 parent dd389d7 commit 2ddf1b7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,9 @@ include = [
446446
parallel = true
447447
branch = true
448448
patch = [ "subprocess" ]
449+
# The sysmon core (default since Python 3.14) is much slower.
450+
# Perhaps: https://github.com/coveragepy/coveragepy/issues/2082
451+
core = "ctrace"
449452

450453
[tool.coverage.paths]
451454
source = [

0 commit comments

Comments
 (0)