Skip to content

Commit ae74ec2

Browse files
Raghuveer DevulapalliMaanasArora
authored andcommitted
BENCH: Increase array sizes for ufunc and sort benchmarks (numpy#29084)
1 parent 61d4334 commit ae74ec2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

benchmarks/benchmarks/bench_function_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ class Sort(Benchmark):
236236
param_names = ['kind', 'dtype', 'array_type']
237237

238238
# The size of the benchmarked arrays.
239-
ARRAY_SIZE = 10000
239+
ARRAY_SIZE = 1000000
240240

241241
def setup(self, kind, dtype, array_type):
242242
rnd = np.random.RandomState(507582308)

benchmarks/benchmarks/bench_ufunc_strides.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class _AbstractBinary(Benchmark):
1010
params = []
1111
param_names = ['ufunc', 'stride_in0', 'stride_in1', 'stride_out', 'dtype']
1212
timeout = 10
13-
arrlen = 10000
13+
arrlen = 1000000
1414
data_finite = True
1515
data_denormal = False
1616
data_zeros = False
@@ -63,7 +63,7 @@ class _AbstractUnary(Benchmark):
6363
params = []
6464
param_names = ['ufunc', 'stride_in', 'stride_out', 'dtype']
6565
timeout = 10
66-
arrlen = 10000
66+
arrlen = 1000000
6767
data_finite = True
6868
data_denormal = False
6969
data_zeros = False

0 commit comments

Comments
 (0)