Avatar for the scverse user
scverse
fast-array-utils
BlogDocsChangelog

Refactor test utils to use a class

#30Merged
Comparing
pa/test-type
(
fb5d1fa
) with
main
(
042b108
)
CodSpeed Performance Gauge
N/A
Improvements
0
Regressions
0
Untouched
0
New
46
Dropped
38
Ignored
0

Benchmarks

New

test_to_dense_benchmark[float32-scipy.sparse.csc_array-C]
tests/test_sparse.py::test_to_dense_benchmark[float32-scipy.sparse.csc_array-C]
CodSpeed Performance Gauge
N/A
N/A
4.2 ms
test_to_dense_benchmark[float32-scipy.sparse.csc_array-F]
tests/test_sparse.py::test_to_dense_benchmark[float32-scipy.sparse.csc_array-F]
CodSpeed Performance Gauge
N/A
N/A
4.2 ms
test_to_dense_benchmark[float32-scipy.sparse.csc_matrix-C]
tests/test_sparse.py::test_to_dense_benchmark[float32-scipy.sparse.csc_matrix-C]
CodSpeed Performance Gauge
N/A
N/A
4.2 ms
test_to_dense_benchmark[float32-scipy.sparse.csc_matrix-F]
tests/test_sparse.py::test_to_dense_benchmark[float32-scipy.sparse.csc_matrix-F]
CodSpeed Performance Gauge
N/A
N/A
4.2 ms
test_to_dense_benchmark[float32-scipy.sparse.csr_array-C]
tests/test_sparse.py::test_to_dense_benchmark[float32-scipy.sparse.csr_array-C]
CodSpeed Performance Gauge
N/A
N/A
4.2 ms
test_to_dense_benchmark[float32-scipy.sparse.csr_array-F]
tests/test_sparse.py::test_to_dense_benchmark[float32-scipy.sparse.csr_array-F]
CodSpeed Performance Gauge
N/A
N/A
4.2 ms
test_to_dense_benchmark[float32-scipy.sparse.csr_matrix-C]
tests/test_sparse.py::test_to_dense_benchmark[float32-scipy.sparse.csr_matrix-C]
CodSpeed Performance Gauge
N/A
N/A
4.2 ms
test_to_dense_benchmark[float32-scipy.sparse.csr_matrix-F]
tests/test_sparse.py::test_to_dense_benchmark[float32-scipy.sparse.csr_matrix-F]
CodSpeed Performance Gauge
N/A
N/A
4.2 ms
test_to_dense_benchmark[float64-scipy.sparse.csc_array-C]
tests/test_sparse.py::test_to_dense_benchmark[float64-scipy.sparse.csc_array-C]
CodSpeed Performance Gauge
N/A
N/A
8.3 ms
test_to_dense_benchmark[float64-scipy.sparse.csc_array-F]
tests/test_sparse.py::test_to_dense_benchmark[float64-scipy.sparse.csc_array-F]
CodSpeed Performance Gauge
N/A
N/A
8.3 ms
test_to_dense_benchmark[float64-scipy.sparse.csc_matrix-C]
tests/test_sparse.py::test_to_dense_benchmark[float64-scipy.sparse.csc_matrix-C]
CodSpeed Performance Gauge
N/A
N/A
8.3 ms
test_to_dense_benchmark[float64-scipy.sparse.csc_matrix-F]
tests/test_sparse.py::test_to_dense_benchmark[float64-scipy.sparse.csc_matrix-F]
CodSpeed Performance Gauge
N/A
N/A
8.3 ms
test_to_dense_benchmark[float64-scipy.sparse.csr_array-C]
tests/test_sparse.py::test_to_dense_benchmark[float64-scipy.sparse.csr_array-C]
CodSpeed Performance Gauge
N/A
N/A
8.3 ms
test_to_dense_benchmark[float64-scipy.sparse.csr_array-F]
tests/test_sparse.py::test_to_dense_benchmark[float64-scipy.sparse.csr_array-F]
CodSpeed Performance Gauge
N/A
N/A
8.3 ms
test_to_dense_benchmark[float64-scipy.sparse.csr_matrix-C]
tests/test_sparse.py::test_to_dense_benchmark[float64-scipy.sparse.csr_matrix-C]
CodSpeed Performance Gauge
N/A
N/A
8.3 ms
test_to_dense_benchmark[float64-scipy.sparse.csr_matrix-F]
tests/test_sparse.py::test_to_dense_benchmark[float64-scipy.sparse.csr_matrix-F]
CodSpeed Performance Gauge
N/A
N/A
8.3 ms
test_sum_benchmark[0-numpy.ndarray-float32]
tests/test_stats.py::test_sum_benchmark[0-numpy.ndarray-float32]
CodSpeed Performance Gauge
N/A
N/A
155.4 µs
test_sum_benchmark[0-numpy.ndarray-float64]
tests/test_stats.py::test_sum_benchmark[0-numpy.ndarray-float64]
CodSpeed Performance Gauge
N/A
N/A
179.9 µs
test_sum_benchmark[0-scipy.sparse.csc_array-float32]
tests/test_stats.py::test_sum_benchmark[0-scipy.sparse.csc_array-float32]
CodSpeed Performance Gauge
N/A
N/A
336.7 µs
test_sum_benchmark[0-scipy.sparse.csc_array-float64]
tests/test_stats.py::test_sum_benchmark[0-scipy.sparse.csc_array-float64]
CodSpeed Performance Gauge
N/A
N/A
362.1 µs
test_sum_benchmark[0-scipy.sparse.csc_matrix-float32]
tests/test_stats.py::test_sum_benchmark[0-scipy.sparse.csc_matrix-float32]
CodSpeed Performance Gauge
N/A
N/A
385.5 µs
test_sum_benchmark[0-scipy.sparse.csc_matrix-float64]
tests/test_stats.py::test_sum_benchmark[0-scipy.sparse.csc_matrix-float64]
CodSpeed Performance Gauge
N/A
N/A
410.4 µs
test_sum_benchmark[0-scipy.sparse.csr_array-float32]
tests/test_stats.py::test_sum_benchmark[0-scipy.sparse.csr_array-float32]
CodSpeed Performance Gauge
N/A
N/A
423.4 µs
test_sum_benchmark[0-scipy.sparse.csr_array-float64]
tests/test_stats.py::test_sum_benchmark[0-scipy.sparse.csr_array-float64]
CodSpeed Performance Gauge
N/A
N/A
449 µs
test_sum_benchmark[0-scipy.sparse.csr_matrix-float32]
tests/test_stats.py::test_sum_benchmark[0-scipy.sparse.csr_matrix-float32]
CodSpeed Performance Gauge
N/A
N/A
453.6 µs
test_sum_benchmark[0-scipy.sparse.csr_matrix-float64]
tests/test_stats.py::test_sum_benchmark[0-scipy.sparse.csr_matrix-float64]
CodSpeed Performance Gauge
N/A
N/A
480 µs
test_sum_benchmark[1-numpy.ndarray-float32]
tests/test_stats.py::test_sum_benchmark[1-numpy.ndarray-float32]
CodSpeed Performance Gauge
N/A
N/A
158.4 µs
test_sum_benchmark[1-numpy.ndarray-float64]
tests/test_stats.py::test_sum_benchmark[1-numpy.ndarray-float64]
CodSpeed Performance Gauge
N/A
N/A
179.5 µs
test_sum_benchmark[1-scipy.sparse.csc_array-float32]
tests/test_stats.py::test_sum_benchmark[1-scipy.sparse.csc_array-float32]
CodSpeed Performance Gauge
N/A
N/A
311.5 µs
test_sum_benchmark[1-scipy.sparse.csc_array-float64]
tests/test_stats.py::test_sum_benchmark[1-scipy.sparse.csc_array-float64]
CodSpeed Performance Gauge
N/A
N/A
332.3 µs
test_sum_benchmark[1-scipy.sparse.csc_matrix-float32]
tests/test_stats.py::test_sum_benchmark[1-scipy.sparse.csc_matrix-float32]
CodSpeed Performance Gauge
N/A
N/A
352.8 µs
test_sum_benchmark[1-scipy.sparse.csc_matrix-float64]
tests/test_stats.py::test_sum_benchmark[1-scipy.sparse.csc_matrix-float64]
CodSpeed Performance Gauge
N/A
N/A
381.6 µs
test_sum_benchmark[1-scipy.sparse.csr_array-float32]
tests/test_stats.py::test_sum_benchmark[1-scipy.sparse.csr_array-float32]
CodSpeed Performance Gauge
N/A
N/A
340.8 µs
test_sum_benchmark[1-scipy.sparse.csr_array-float64]
tests/test_stats.py::test_sum_benchmark[1-scipy.sparse.csr_array-float64]
CodSpeed Performance Gauge
N/A
N/A
363.5 µs
test_sum_benchmark[1-scipy.sparse.csr_matrix-float32]
tests/test_stats.py::test_sum_benchmark[1-scipy.sparse.csr_matrix-float32]
CodSpeed Performance Gauge
N/A
N/A
380.5 µs
test_sum_benchmark[1-scipy.sparse.csr_matrix-float64]
tests/test_stats.py::test_sum_benchmark[1-scipy.sparse.csr_matrix-float64]
CodSpeed Performance Gauge
N/A
N/A
410.1 µs
test_sum_benchmark[None-numpy.ndarray-float32]
tests/test_stats.py::test_sum_benchmark[None-numpy.ndarray-float32]
CodSpeed Performance Gauge
N/A
N/A
154.8 µs
test_sum_benchmark[None-numpy.ndarray-float64]
tests/test_stats.py::test_sum_benchmark[None-numpy.ndarray-float64]
CodSpeed Performance Gauge
N/A
N/A
173.6 µs
test_sum_benchmark[None-scipy.sparse.csc_array-float32]
tests/test_stats.py::test_sum_benchmark[None-scipy.sparse.csc_array-float32]
CodSpeed Performance Gauge
N/A
N/A
299.1 µs
test_sum_benchmark[None-scipy.sparse.csc_array-float64]
tests/test_stats.py::test_sum_benchmark[None-scipy.sparse.csc_array-float64]
CodSpeed Performance Gauge
N/A
N/A
329.6 µs
test_sum_benchmark[None-scipy.sparse.csc_matrix-float32]
tests/test_stats.py::test_sum_benchmark[None-scipy.sparse.csc_matrix-float32]
CodSpeed Performance Gauge
N/A
N/A
346.5 µs
test_sum_benchmark[None-scipy.sparse.csc_matrix-float64]
tests/test_stats.py::test_sum_benchmark[None-scipy.sparse.csc_matrix-float64]
CodSpeed Performance Gauge
N/A
N/A
372.9 µs
test_sum_benchmark[None-scipy.sparse.csr_array-float32]
tests/test_stats.py::test_sum_benchmark[None-scipy.sparse.csr_array-float32]
CodSpeed Performance Gauge
N/A
N/A
287.9 µs
test_sum_benchmark[None-scipy.sparse.csr_array-float64]
tests/test_stats.py::test_sum_benchmark[None-scipy.sparse.csr_array-float64]
CodSpeed Performance Gauge
N/A
N/A
313.6 µs
test_sum_benchmark[None-scipy.sparse.csr_matrix-float32]
tests/test_stats.py::test_sum_benchmark[None-scipy.sparse.csr_matrix-float32]
CodSpeed Performance Gauge
N/A
N/A
329.3 µs
test_sum_benchmark[None-scipy.sparse.csr_matrix-float64]
tests/test_stats.py::test_sum_benchmark[None-scipy.sparse.csr_matrix-float64]
CodSpeed Performance Gauge
N/A
N/A
353.6 µs

Passed

test_to_dense_benchmark[csc-float32-C]Missing
tests/test_sparse.py::test_to_dense_benchmark[csc-float32-C]
CodSpeed Performance Gauge
N/A
4.2 ms
N/A
test_to_dense_benchmark[csc-float32-F]Missing
tests/test_sparse.py::test_to_dense_benchmark[csc-float32-F]
CodSpeed Performance Gauge
N/A
4.2 ms
N/A
test_to_dense_benchmark[csc-float64-C]Missing
tests/test_sparse.py::test_to_dense_benchmark[csc-float64-C]
CodSpeed Performance Gauge
N/A
8.3 ms
N/A
test_to_dense_benchmark[csc-float64-F]Missing
tests/test_sparse.py::test_to_dense_benchmark[csc-float64-F]
CodSpeed Performance Gauge
N/A
8.3 ms
N/A
test_to_dense_benchmark[csr-float32-C]Missing
tests/test_sparse.py::test_to_dense_benchmark[csr-float32-C]
CodSpeed Performance Gauge
N/A
4.2 ms
N/A
test_to_dense_benchmark[csr-float32-F]Missing
tests/test_sparse.py::test_to_dense_benchmark[csr-float32-F]
CodSpeed Performance Gauge
N/A
4.2 ms
N/A
test_to_dense_benchmark[csr-float64-C]Missing
tests/test_sparse.py::test_to_dense_benchmark[csr-float64-C]
CodSpeed Performance Gauge
N/A
8.3 ms
N/A
test_to_dense_benchmark[csr-float64-F]Missing
tests/test_sparse.py::test_to_dense_benchmark[csr-float64-F]
CodSpeed Performance Gauge
N/A
8.3 ms
N/A
test_sum_benchmark[numpy.ndarray-0-float32]Missing
tests/test_stats.py::test_sum_benchmark[numpy.ndarray-0-float32]
CodSpeed Performance Gauge
N/A
114.3 µs
N/A
test_sum_benchmark[numpy.ndarray-0-float64]Missing
tests/test_stats.py::test_sum_benchmark[numpy.ndarray-0-float64]
CodSpeed Performance Gauge
N/A
138.3 µs
N/A
test_sum_benchmark[numpy.ndarray-1-float32]Missing
tests/test_stats.py::test_sum_benchmark[numpy.ndarray-1-float32]
CodSpeed Performance Gauge
N/A
115.6 µs
N/A
test_sum_benchmark[numpy.ndarray-1-float64]Missing
tests/test_stats.py::test_sum_benchmark[numpy.ndarray-1-float64]
CodSpeed Performance Gauge
N/A
135.2 µs
N/A
test_sum_benchmark[numpy.ndarray-None-float32]Missing
tests/test_stats.py::test_sum_benchmark[numpy.ndarray-None-float32]
CodSpeed Performance Gauge
N/A
111.8 µs
N/A
test_sum_benchmark[numpy.ndarray-None-float64]Missing
tests/test_stats.py::test_sum_benchmark[numpy.ndarray-None-float64]
CodSpeed Performance Gauge
N/A
130.3 µs
N/A
test_sum_benchmark[scipy.sparse.csc_array-0-float32]Missing
tests/test_stats.py::test_sum_benchmark[scipy.sparse.csc_array-0-float32]
CodSpeed Performance Gauge
N/A
305.2 µs
N/A
test_sum_benchmark[scipy.sparse.csc_array-0-float64]Missing
tests/test_stats.py::test_sum_benchmark[scipy.sparse.csc_array-0-float64]
CodSpeed Performance Gauge
N/A
330.4 µs
N/A
test_sum_benchmark[scipy.sparse.csc_array-1-float32]Missing
tests/test_stats.py::test_sum_benchmark[scipy.sparse.csc_array-1-float32]
CodSpeed Performance Gauge
N/A
273.8 µs
N/A
test_sum_benchmark[scipy.sparse.csc_array-1-float64]Missing
tests/test_stats.py::test_sum_benchmark[scipy.sparse.csc_array-1-float64]
CodSpeed Performance Gauge
N/A
302.3 µs
N/A
test_sum_benchmark[scipy.sparse.csc_array-None-float32]Missing
tests/test_stats.py::test_sum_benchmark[scipy.sparse.csc_array-None-float32]
CodSpeed Performance Gauge
N/A
269.8 µs
N/A
test_sum_benchmark[scipy.sparse.csc_array-None-float64]Missing
tests/test_stats.py::test_sum_benchmark[scipy.sparse.csc_array-None-float64]
CodSpeed Performance Gauge
N/A
291.9 µs
N/A
test_sum_benchmark[scipy.sparse.csc_matrix-0-float32]Missing
tests/test_stats.py::test_sum_benchmark[scipy.sparse.csc_matrix-0-float32]
CodSpeed Performance Gauge
N/A
350.9 µs
N/A
test_sum_benchmark[scipy.sparse.csc_matrix-0-float64]Missing
tests/test_stats.py::test_sum_benchmark[scipy.sparse.csc_matrix-0-float64]
CodSpeed Performance Gauge
N/A
375.2 µs
N/A
test_sum_benchmark[scipy.sparse.csc_matrix-1-float32]Missing
tests/test_stats.py::test_sum_benchmark[scipy.sparse.csc_matrix-1-float32]
CodSpeed Performance Gauge
N/A
319.3 µs
N/A
test_sum_benchmark[scipy.sparse.csc_matrix-1-float64]Missing
tests/test_stats.py::test_sum_benchmark[scipy.sparse.csc_matrix-1-float64]
CodSpeed Performance Gauge
N/A
347.9 µs
N/A
test_sum_benchmark[scipy.sparse.csc_matrix-None-float32]Missing
tests/test_stats.py::test_sum_benchmark[scipy.sparse.csc_matrix-None-float32]
CodSpeed Performance Gauge
N/A
316.4 µs
N/A
test_sum_benchmark[scipy.sparse.csc_matrix-None-float64]Missing
tests/test_stats.py::test_sum_benchmark[scipy.sparse.csc_matrix-None-float64]
CodSpeed Performance Gauge
N/A
334.9 µs
N/A
test_sum_benchmark[scipy.sparse.csr_array-0-float32]Missing
tests/test_stats.py::test_sum_benchmark[scipy.sparse.csr_array-0-float32]
CodSpeed Performance Gauge
N/A
391.3 µs
N/A
test_sum_benchmark[scipy.sparse.csr_array-0-float64]Missing
tests/test_stats.py::test_sum_benchmark[scipy.sparse.csr_array-0-float64]
CodSpeed Performance Gauge
N/A
420 µs
N/A
test_sum_benchmark[scipy.sparse.csr_array-1-float32]Missing
tests/test_stats.py::test_sum_benchmark[scipy.sparse.csr_array-1-float32]
CodSpeed Performance Gauge
N/A
304.9 µs
N/A
test_sum_benchmark[scipy.sparse.csr_array-1-float64]Missing
tests/test_stats.py::test_sum_benchmark[scipy.sparse.csr_array-1-float64]
CodSpeed Performance Gauge
N/A
331 µs
N/A
test_sum_benchmark[scipy.sparse.csr_array-None-float32]Missing
tests/test_stats.py::test_sum_benchmark[scipy.sparse.csr_array-None-float32]
CodSpeed Performance Gauge
N/A
254.6 µs
N/A
test_sum_benchmark[scipy.sparse.csr_array-None-float64]Missing
tests/test_stats.py::test_sum_benchmark[scipy.sparse.csr_array-None-float64]
CodSpeed Performance Gauge
N/A
280.9 µs
N/A
test_sum_benchmark[scipy.sparse.csr_matrix-0-float32]Missing
tests/test_stats.py::test_sum_benchmark[scipy.sparse.csr_matrix-0-float32]
CodSpeed Performance Gauge
N/A
427.5 µs
N/A
test_sum_benchmark[scipy.sparse.csr_matrix-0-float64]Missing
tests/test_stats.py::test_sum_benchmark[scipy.sparse.csr_matrix-0-float64]
CodSpeed Performance Gauge
N/A
450.6 µs
N/A
test_sum_benchmark[scipy.sparse.csr_matrix-1-float32]Missing
tests/test_stats.py::test_sum_benchmark[scipy.sparse.csr_matrix-1-float32]
CodSpeed Performance Gauge
N/A
357.7 µs
N/A
test_sum_benchmark[scipy.sparse.csr_matrix-1-float64]Missing
tests/test_stats.py::test_sum_benchmark[scipy.sparse.csr_matrix-1-float64]
CodSpeed Performance Gauge
N/A
384.6 µs
N/A
test_sum_benchmark[scipy.sparse.csr_matrix-None-float32]Missing
tests/test_stats.py::test_sum_benchmark[scipy.sparse.csr_matrix-None-float32]
CodSpeed Performance Gauge
N/A
300.6 µs
N/A
test_sum_benchmark[scipy.sparse.csr_matrix-None-float64]Missing
tests/test_stats.py::test_sum_benchmark[scipy.sparse.csr_matrix-None-float64]
CodSpeed Performance Gauge
N/A
326.6 µs
N/A

Commits

Click on a commit to change the comparison range
Base
main
15b5877
0%
Less stringly typed
3845bf6
4 months ago
by flying-sheep
0%
move conversion
6ddf322
4 months ago
by flying-sheep
0%
freeze
7c35ec7
4 months ago
by flying-sheep
0%
docs
e19ea7e
4 months ago
by flying-sheep
0%
document all exported members
5756fad
4 months ago
by flying-sheep
0%
avoid extra numpy coercion
06d28f1
4 months ago
by flying-sheep
0%
enable cupy-in-dask
5c622e2
4 months ago
by flying-sheep
0%
fix including testing module
2bb951d
4 months ago
by flying-sheep
0%
fix docs
80ce4fb
4 months ago
by flying-sheep
0%
move arry stuff into submodule
359d07d
4 months ago
by flying-sheep
0%
explicit benchmarks
9c9f3ca
3 months ago
by flying-sheep
0%
switch to flags
b14cb74
3 months ago
by flying-sheep
© 2025 CodSpeed Technology
Home Terms PrivacyDocs