diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2023-01-23 19:44:41 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2023-01-24 19:23:48 -0500 |
commit | 4cc32922685c6971275f522304b3754ad1a233c1 (patch) | |
tree | 59ab9a76180a22a20fbd34b5d2188191daee4c0b /coverage/version.py | |
parent | 674204fc958f30815fe482fe1ed36d01eb74c489 (diff) | |
download | python-coveragepy-git-4cc32922685c6971275f522304b3754ad1a233c1.tar.gz |
perf: avoid needless sql operations. #1538
If the set of arcs is empty, skip the SQL operations. We also need to
allow setting a file tracer for an unmeasured file, to avoid the Cython
problem whose fix caused the performance issue in the first place.
TBH, I don't know why we had to prevent file tracers on unmeasured
files. Perhaps pytest-cov has changed to avoid the behavior that caused
problems.
Diffstat (limited to 'coverage/version.py')
0 files changed, 0 insertions, 0 deletions