Skip to content

Commit 104bf1c

Browse files
authored
bigger benchmarks (#75)
1 parent 3ff8522 commit 104bf1c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test_sparse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,6 @@ def test_to_dense_benchmark(
7070
order: Literal["C", "F"],
7171
dtype: _DTypeLikeFloat32 | _DTypeLikeFloat64,
7272
) -> None:
73-
mat = array_type.random((1_000, 1_000), dtype=dtype)
73+
mat = array_type.random((10_000, 10_000), dtype=dtype)
7474
to_dense(mat, order=order) # warmup: numba compile
7575
benchmark(to_dense, mat, order=order)

tests/test_stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def test_stats_benchmark(
207207
axis: Literal[0, 1, None],
208208
dtype: type[np.float32 | np.float64],
209209
) -> None:
210-
shape = (1_000, 1_000) if "sparse" in array_type.mod else (100, 100)
210+
shape = (10_000, 10_000) if "sparse" in array_type.mod else (1000, 1000)
211211
arr = array_type.random(shape, dtype=dtype)
212212

213213
func(arr, axis=axis) # warmup: numba compile

0 commit comments

Comments
 (0)