diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2022-05-28 16:12:14 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-05-28 16:12:14 -0400 |
commit | 4b592fe30a7ebf871ba9a3d883ec955dae198c15 (patch) | |
tree | cf2572b4d846c267833510591db0a7673a6b1e9d /lab/benchmark.py | |
parent | 65033080e0ad33f2615a40bbdd54d8abed48c19a (diff) | |
download | python-coveragepy-git-4b592fe30a7ebf871ba9a3d883ec955dae198c15.tar.gz |
perf: set frame->f_trace_lines=0 when not tracing. ~3% faster
Diffstat (limited to 'lab/benchmark.py')
-rw-r--r-- | lab/benchmark.py | 51 |
1 files changed, 21 insertions, 30 deletions
diff --git a/lab/benchmark.py b/lab/benchmark.py index 27d05423..608cfd51 100644 --- a/lab/benchmark.py +++ b/lab/benchmark.py @@ -257,44 +257,35 @@ with change_dir(PERF_DIR): run_experiments( py_versions=[ + Python(3, 7), Python(3, 10), ], cov_versions=[ ("none", None, None), ("6.4", "coverage==6.4", ""), - ("6.4 timid", "coverage==6.4", "timid=True"), - ( - "PR 1381", - "git+https://github.com/cfbolz/coveragepy.git@f_trace_lines", - "", - ), - ( - "PR 1381 timid", - "git+https://github.com/cfbolz/coveragepy.git@f_trace_lines", - "timid=True", - ), + ("tip", "-e ~/coverage/trunk", ""), ], projects=[ PytestHtml(), ], - num_runs=3, + num_runs=5, ) - run_experiments( - py_versions=[ - PyPy(3, 9), - ], - cov_versions=[ - ("none", None, None), - ("6.4", "coverage==6.4", ""), - ( - "PR 1381", - "git+https://github.com/cfbolz/coveragepy.git@f_trace_lines", - "", - ), - ], - projects=[ - PytestHtml(), - ], - num_runs=3, - ) + # run_experiments( + # py_versions=[ + # PyPy(3, 9), + # ], + # cov_versions=[ + # ("none", None, None), + # ("6.4", "coverage==6.4", ""), + # ( + # "PR 1381", + # "git+https://github.com/cfbolz/coveragepy.git@f_trace_lines", + # "", + # ), + # ], + # projects=[ + # PytestHtml(), + # ], + # num_runs=3, + # ) |