Skip to content

Commit 39655ee

Browse files
committed
No pystats warmups
1 parent d8f08b1 commit 39655ee

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
### Bugfixes
44

5+
#### No warmup runs for pystats
6+
7+
When collecting pystats, pyperformance will no longer perform "warmup runs", to
8+
make sure that the pystats don't have missing information.
9+
510
#### Removing a git repo on Windows fails
611

712
One needs to remove the "read only" flags on certain files in the git repo in order to remove it.

bench_runner/benchmark_definitions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class BenchmarkRepo:
1818

1919
BENCHMARK_REPOS = [
2020
BenchmarkRepo(
21-
"56d12a8fd7cc1432835965d374929bfa7f6f7a07",
21+
"29cd683acc3eddfd878aa87ef52c15aa4a53641e",
2222
"https://github.com/python/pyperformance.git",
2323
"pyperformance",
2424
),

bench_runner/scripts/run_benchmarks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def collect_pystats(
145145
if LOOPS_FILE_ENV_VAR not in os.environ:
146146
os.environ[LOOPS_FILE_ENV_VAR] = "loops.json"
147147

148-
extra_args = ["--hook", "pystats"]
148+
extra_args = ["--hook", "pystats", "--warmups", "0"]
149149

150150
if flags is None:
151151
flags = []

0 commit comments

Comments
 (0)