Skip to content

Commit 82b4bc9

Browse files
committed
numpy: adjust benchmark runner to perform a warmup iteration
1 parent 7d2cfd2 commit 82b4bc9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

numpy/conftest.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
def tacoBench(benchmark):
44
def f(func):
55
# Take statistics based on 10 rounds.
6-
benchmark.pedantic(func, rounds=10, iterations=1)
7-
# How do i set please use 10 rounds...
8-
# benchmark(func)
6+
benchmark.pedantic(func, rounds=10, iterations=1, warmup_rounds=1)
97
return f
108

119
def pytest_addoption(parser):

0 commit comments

Comments
 (0)