summaryrefslogtreecommitdiff
path: root/lab/benchmark.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-05-28 16:12:14 -0400
committerNed Batchelder <ned@nedbatchelder.com>2022-05-28 16:12:14 -0400
commit4b592fe30a7ebf871ba9a3d883ec955dae198c15 (patch)
treecf2572b4d846c267833510591db0a7673a6b1e9d /lab/benchmark.py
parent65033080e0ad33f2615a40bbdd54d8abed48c19a (diff)
downloadpython-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.py51
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,
+ # )