Skip to content

Commit 77a3619

Browse files
committed
fix: disable warmup
1 parent 7ab484a commit 77a3619

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

bench/bench.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import os
1212
import shlex
1313
import subprocess
14+
import sys
1415
from pathlib import Path
1516
import time
1617

@@ -196,7 +197,7 @@ def pytest_configure(self, config):
196197
config._valgrind_runner = runner
197198

198199
exit_code = pytest.main(
199-
[__file__, "-v", "--codspeed"],
200+
[__file__, "--codspeed", "--codspeed-warmup-time=0"],
200201
plugins=[RunnerPlugin()],
201202
)
202203
if exit_code != 0 and exit_code != 5:

0 commit comments

Comments
 (0)