Skip to content

Commit 358a13c

Browse files
author
Raghuveer Devulapalli
authored
BENCH: Increase array sizes for ufunc and sort benchmarks (#29084)
1 parent ecb2f40 commit 358a13c

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy