-
-
Notifications
You must be signed in to change notification settings - Fork 25.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI Use statement coverage rather than branch coverage #29473
base: main
Are you sure you want to change the base?
Conversation
@lesteve Have you experimented with https://github.com/plasma-umass/slipcover on this repo before? The author did run benchmarks with scikit-learn's testing: https://github.com/plasma-umass/slipcover?tab=readme-ov-file#performance I tried slipcover ~2 years ago and did see some improvements, but did not have time to purse it. |
I have heard of it recently but not run anything. It seems like it is missing a few integration that we need e.g. pytest-xdist support, XML results file. There are some discussions about merging SlipCover and coverage according to this slide of the PyConUS 2024 SlipCover talk. coveragepy with Python 3.12 can use Right now coveragepy does not really support branch coverage with The summary so far:
|
Could you please trigger another run for |
Note that in a67708e, Debian 32bit build took 35 minutes see build log. I think since we upgraded the Debian version for the 32bit CI (11->12) this build is a lot slower with quite some variability (the Debian 11->12 upgrade was done when getting rid of setuptools PR #29400). My hunch is that this is due to upgrading Python to 3.11 and that this might be related to coverage too but I am not 100% sure. For example on |
@lesteve this PR is still draft but I have the impression that it's a net improvement, no? |
Follow-up of #29444 (comment), trying to see if using statement coverage makes a difference.
Reference run (same as
main
) build logRun with using statement coverage rather than branch coverage build log
Run with using statement coverage + COVERAGE_CORE=sysmon, this should make Python 3.12 builds faster build log
Run with using statement coverage + COVERAGE_CORE=sysmon, this should make Python 3.12 builds + updating openblas_pandas to Python 3.12 build log