If your test suite can run on #Python 3.14, and you use branch coverage measurement, please get Python 3.14.0a6 and coverage․py 7.7.0 and let me know how the speed compares to older versions! It will be faster!
@nedbatNed Batchelder wow. Trying it on a very small pure Python lib (inifix), branch coverage on:
coverage 7.6.11 (default): ~3s
coverage 7.6.11 (COVERAGE_CORE=sysmon): ~1.5s
coverage 7.7.0 (COVERAGE_CORE=sysmon): ~<1.0s
without coverage, the test suite runs in about 800ms, so the overhead needed to measure coverage went from ~275% to a measly 25%.
If you have a fediverse account, you can quote this note from your own instance. Search https://fosstodon.org/users/neutrinoceros/statuses/114183626173820588 on your instance and quote it. (Note that quoting is not supported in Mastodon.)