scverse
fast-array-utils
BlogDocsChangelog

`anndata.abc.CS{RC}Dataset` support

#50Merged
Comparing
pa/cs-dataset
(
1af2d6a
) with
main
(
c854c5b
)
CodSpeed Performance Gauge
-15%
Regressions
2
(
2
)
Untouched
86

Benchmarks

Passed

test_stats_benchmark[1-numpy.ndarray-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
154.9 µs153.7 µs
test_stats_benchmark[1-numpy.ndarray-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
135.5 µs134.4 µs
test_stats_benchmark[None-numpy.ndarray-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
128.4 µs127.5 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
112.7 µs112.1 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
132.3 µs131.6 µs
test_stats_benchmark[1-numpy.ndarray-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
267.5 µs266.2 µs
test_stats_benchmark[None-numpy.ndarray-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
165.3 µs164.5 µs
test_stats_benchmark[0-numpy.ndarray-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
226.8 µs225.7 µs
test_stats_benchmark[0-numpy.ndarray-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
271.5 µs270.2 µs
test_stats_benchmark[1-numpy.ndarray-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
224.7 µs223.8 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
257.1 µs256.4 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
351.4 µs350.7 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
97.2 µs97 µs
test_stats_benchmark[1-numpy.ndarray-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
261.4 µs261 µs
test_stats_benchmark[1-numpy.ndarray-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
279.4 µs279.1 µs
test_stats_benchmark[1-scipy.sparse.csr_array-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
310.7 µs310.5 µs
test_stats_benchmark[1-scipy.sparse.csr_array-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
325.6 µs325.4 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
336.4 µs336.2 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
339 µs338.8 µs
test_stats_benchmark[0-numpy.ndarray-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
157.4 µs157.4 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
296.4 µs296.3 µs
test_stats_benchmark[0-numpy.ndarray-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
286 µs286 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
280.3 µs280.3 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
305.9 µs305.9 µs
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_array-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_matrix-F]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
4.2 ms4.2 ms
test_stats_benchmark[0-scipy.sparse.csr_array-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
349.4 µs349.4 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
667.2 µs667.2 µs
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[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_array-F]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
4.2 ms4.2 ms
test_stats_benchmark[0-scipy.sparse.csr_array-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
336 µs336 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
180.7 µs180.7 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
106.1 µs106.1 µs
test_stats_benchmark[0-numpy.ndarray-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
267.1 µs267.2 µs
test_to_dense_benchmark[float64-scipy.sparse.csr_array-C]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
8.3 ms8.3 ms
test_stats_benchmark[None-scipy.sparse.csr_array-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
295.6 µs295.7 µs
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.csc_array-F]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
8.3 ms8.3 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_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[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_matrix-C]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
8.3 ms8.3 ms
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-scipy.sparse.csr_array-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
176.4 µs176.5 µs
test_to_dense_benchmark[float64-scipy.sparse.csc_array-C]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
8.3 ms8.3 ms
test_stats_benchmark[1-scipy.sparse.csc_array-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
353.1 µs353.2 µs
test_stats_benchmark[1-scipy.sparse.csr_array-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
161 µs161 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
279 µs279.1 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
648.7 µs649 µs
test_stats_benchmark[None-numpy.ndarray-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
289.6 µs289.7 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
602.1 µs602.5 µs
test_stats_benchmark[1-scipy.sparse.csr_array-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
356 µs356.3 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
164 µs164.1 µs
test_stats_benchmark[1-scipy.sparse.csr_array-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
335.4 µs335.8 µs
test_stats_benchmark[0-numpy.ndarray-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
139 µs139.1 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
308.4 µs309 µs
test_stats_benchmark[1-numpy.ndarray-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
134.6 µs134.8 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
604.3 µs605.6 µs
test_stats_benchmark[None-numpy.ndarray-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
275.3 µs276.1 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
111.7 µs112 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
317.3 µs318.2 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
563.8 µs565.5 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
693.6 µs696 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
562.6 µs564.6 µs
test_stats_benchmark[1-numpy.ndarray-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
117.2 µs117.6 µs
test_stats_benchmark[None-numpy.ndarray-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
160 µs160.6 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
291.5 µs292.6 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
627.4 µs629.9 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
272.6 µs273.7 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
133 µs133.6 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
319.8 µs321.4 µs
test_stats_benchmark[None-numpy.ndarray-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
-1%
109.3 µs109.9 µs
test_stats_benchmark[None-numpy.ndarray-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
-1%
129.4 µs130.1 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
-1%
302.8 µs304.8 µs
test_stats_benchmark[None-numpy.ndarray-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
-1%
109 µs109.7 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
-1%
432.9 µs436.2 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
-1%
420.6 µs424.1 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
-1%
311.2 µs314.8 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
-1%
325.7 µs329.5 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
-1%
394.6 µs399.3 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
-2%
408.2 µs414.8 µs
test_stats_benchmark[0-numpy.ndarray-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
-6%
133.6 µs142.1 µs
test_stats_benchmark[0-numpy.ndarray-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
-7%
115.3 µs124.2 µs
test_stats_benchmark[1-scipy.sparse.csr_array-float32-is_constant]
tests/test_stats.py
Regression
CodSpeed Performance Gauge
-14%
277.1 µs323.7 µs
test_stats_benchmark[1-scipy.sparse.csr_array-float64-is_constant]
tests/test_stats.py
Regression
CodSpeed Performance Gauge
-15%
103.1 µs120.7 µs

Commits

Click on a commit to change the comparison range
Base
main
c854c5b
+98.41%
editorconfig
5d033e7
9 months ago
by flying-sheep
-77.21%
I hate mypy
4c1bbc4
9 months ago
by flying-sheep
-6.02%
to_dense works
31afbf1
9 months ago
by flying-sheep
×3
fix test_array_types
b7ceaee
9 months ago
by flying-sheep
fix ArrayType
ab85187
9 months ago
by flying-sheep
-13.04%
improve array type
c5654a5
9 months ago
by flying-sheep
-11.42%
skip individual array types
54c12c7
9 months ago
by flying-sheep
+29.18%
mypy :(
1af2d6a
9 months ago
by flying-sheep
© 2025 CodSpeed Technology
Home Terms Privacy Docs