scverse
fast-array-utils
BlogDocsChangelog

CuPy support

#51Merged
Comparing
pa/cupy
(
39a9da2
) with
main
(
7319f89
)
CodSpeed Performance Gauge
×2.9
Improvements
1
Untouched
87

Benchmarks

Improved

test_stats_benchmark[1-scipy.sparse.csr_array-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
×2.9
355.2 µs123.9 µs

Passed

test_stats_benchmark[1-scipy.sparse.csr_array-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
+3%
332.9 µs324 µs
test_stats_benchmark[1-scipy.sparse.csr_array-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
+2%
316.8 µs310 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
641.5 µs633.4 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
413.2 µs408 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
259.7 µs256.8 µs
test_stats_benchmark[None-numpy.ndarray-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
129.1 µs127.8 µs
test_stats_benchmark[1-scipy.sparse.csr_array-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
337.1 µs333.8 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
298.5 µs295.7 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
677.8 µs671.4 µs
test_stats_benchmark[1-scipy.sparse.csr_array-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
357.5 µs354.2 µs
test_stats_benchmark[1-numpy.ndarray-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
136.1 µs134.9 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
397.9 µs394.7 µs
test_stats_benchmark[None-numpy.ndarray-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
166.4 µs165.2 µs
test_stats_benchmark[1-numpy.ndarray-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
155 µs153.9 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
702.5 µs697.6 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
422.9 µs420 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
660.4 µs656.1 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
435.1 µs432.5 µs
test_stats_benchmark[0-numpy.ndarray-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
271.1 µs269.7 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
281.1 µs279.6 µs
test_stats_benchmark[0-numpy.ndarray-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
226.6 µs225.5 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
325 µs323.5 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
310.7 µs309.3 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
292.3 µs291.1 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
318.1 µs316.9 µs
test_stats_benchmark[1-numpy.ndarray-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
267.7 µs266.8 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
308.7 µs307.7 µs
test_stats_benchmark[None-numpy.ndarray-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
287.1 µs286.3 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
303.3 µs302.4 µs
test_stats_benchmark[1-numpy.ndarray-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
224.9 µs224.2 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
273.6 µs272.8 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
306.8 µs306 µs
test_stats_benchmark[0-numpy.ndarray-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
139.7 µs139.4 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
319.8 µs319.2 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
175.4 µs175 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
362 µs361.3 µs
test_stats_benchmark[None-numpy.ndarray-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
301.8 µs301.2 µs
test_stats_benchmark[0-numpy.ndarray-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
133.8 µs133.5 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
365.2 µs364.6 µs
test_stats_benchmark[0-numpy.ndarray-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
157.7 µs157.5 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
107.5 µs107.3 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
348.3 µs347.9 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
192.2 µs191.9 µs
test_stats_benchmark[1-scipy.sparse.csr_array-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
188.7 µs188.5 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
610.9 µs610.3 µs
test_stats_benchmark[1-numpy.ndarray-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
291.6 µs291.3 µs
test_stats_benchmark[1-numpy.ndarray-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
272.8 µs272.5 µs
test_stats_benchmark[0-numpy.ndarray-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
298.1 µs297.8 µs
test_stats_benchmark[0-numpy.ndarray-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
115.6 µs115.5 µs
test_stats_benchmark[1-numpy.ndarray-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
135.4 µs135.3 µs
test_stats_benchmark[None-numpy.ndarray-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
130.5 µs130.4 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
351 µs350.7 µs
test_stats_benchmark[None-numpy.ndarray-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
109.9 µs109.8 µs
test_stats_benchmark[None-numpy.ndarray-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
161 µs160.9 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
124.2 µs124.1 µs
test_to_dense_benchmark[float64-scipy.sparse.csr_array-F]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
8.3 ms8.3 ms
test_stats_benchmark[1-numpy.ndarray-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
118.2 µs118.2 µs
test_to_dense_benchmark[float64-scipy.sparse.csc_matrix-C]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
8.3 ms8.3 ms
test_to_dense_benchmark[float64-scipy.sparse.csr_matrix-F]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
8.3 ms8.3 ms
test_to_dense_benchmark[float64-scipy.sparse.csc_array-C]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
8.3 ms8.3 ms
test_to_dense_benchmark[float32-scipy.sparse.csr_array-C]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
4.2 ms4.2 ms
test_to_dense_benchmark[float64-scipy.sparse.csc_array-F]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
8.3 ms8.3 ms
test_to_dense_benchmark[float32-scipy.sparse.csr_array-F]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
4.2 ms4.2 ms
test_to_dense_benchmark[float32-scipy.sparse.csc_array-C]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
4.2 ms4.2 ms
test_to_dense_benchmark[float32-scipy.sparse.csr_matrix-C]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
4.2 ms4.2 ms
test_to_dense_benchmark[float64-scipy.sparse.csr_matrix-C]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
8.3 ms8.3 ms
test_to_dense_benchmark[float64-scipy.sparse.csr_array-C]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
8.3 ms8.3 ms
test_to_dense_benchmark[float32-scipy.sparse.csc_matrix-C]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
4.2 ms4.2 ms
test_to_dense_benchmark[float32-scipy.sparse.csc_matrix-F]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
4.2 ms4.2 ms
test_to_dense_benchmark[float32-scipy.sparse.csr_matrix-F]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
4.2 ms4.2 ms
test_to_dense_benchmark[float32-scipy.sparse.csc_array-F]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
4.2 ms4.2 ms
test_to_dense_benchmark[float64-scipy.sparse.csc_matrix-F]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
8.3 ms8.3 ms
test_stats_benchmark[None-scipy.sparse.csr_array-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
143.7 µs143.7 µs
test_stats_benchmark[None-numpy.ndarray-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
110.4 µs110.4 µs
test_stats_benchmark[1-scipy.sparse.csr_array-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
172.7 µs172.8 µs
test_stats_benchmark[0-numpy.ndarray-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
278.7 µs278.9 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
145.2 µs145.4 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
123.8 µs124 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
348.1 µs348.9 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
333.4 µs334.2 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
116.1 µs116.4 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
607 µs609.3 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
569.3 µs571.9 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
568.7 µs571.5 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
-1%
277.4 µs279.5 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
-1%
292.9 µs296.3 µs
test_stats_benchmark[1-scipy.sparse.csr_array-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
-2%
108.4 µs110.6 µs

Commits

Click on a commit to change the comparison range
Base
main
7319f89
+41.07%
Move cupy types to original locations
1555a2a
9 months ago
by flying-sheep
-75.09%
Merge branch 'main' into pa/cupy
3c542b7
9 months ago
by flying-sheep
+23.84%
fix test utils
7fa234f
9 months ago
by flying-sheep
-39.5%
get
f15338e
9 months ago
by flying-sheep
-4.86%
fix to_dense
afbabe5
9 months ago
by flying-sheep
×4.5
sum support without cupy-in-dask
871461e
9 months ago
by flying-sheep
sum works
350a21c
9 months ago
by flying-sheep
×4
mean and mean_var
5239a95
9 months ago
by flying-sheep
add workflow
2577cd3
9 months ago
by flying-sheep
-23.02%
cirun yml
b2a6633
9 months ago
by flying-sheep
+8.09%
color tests
53798d0
9 months ago
by flying-sheep
×4.8
skip remaining tests
4d4ed71
9 months ago
by flying-sheep
fix type
2144a17
9 months ago
by flying-sheep
+36.82%
fix docs
bbf256b
9 months ago
by flying-sheep
+20.89%
only sparse are limited to float
17fdffa
9 months ago
by flying-sheep
-31.14%
simpler
862faf4
9 months ago
by flying-sheep
+8.82%
Merge branch 'main' into pa/cupy
a0b0f8e
9 months ago
by flying-sheep
×3.3
b2151a3
9 months ago
by flying-sheep
-98.07%
no arraylike
9be7813
9 months ago
by flying-sheep
+18.94%
codecov
5978d1e
8 months ago
by flying-sheep
+67.35%
renames
39a9da2
8 months ago
by flying-sheep
© 2025 CodSpeed Technology
Home Terms Privacy Docs