scverse
fast-array-utils
BlogDocsChangelog

Switch to lazy exports

#22
Comparing
pa/lazy
(
a83784b
) with
main
(
a7e216b
)
CodSpeed Performance Gauge
×3.6
Improvements
2
Untouched
50

Benchmarks

Improved

test_stats_benchmark[1-scipy.sparse.csr_array-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
×3.6
417.3 µs115 µs
test_stats_benchmark[1-scipy.sparse.csr_array-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
+68%
250.1 µs148.5 µs

Passed

test_stats_benchmark[0-numpy.ndarray-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
166.2 µs163.9 µs
test_stats_benchmark[None-numpy.ndarray-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
155.6 µs153.5 µs
test_stats_benchmark[0-numpy.ndarray-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
188.8 µs186.7 µs
test_stats_benchmark[1-numpy.ndarray-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
166.5 µs165 µs
test_stats_benchmark[1-numpy.ndarray-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
187.5 µs186.1 µs
test_stats_benchmark[None-numpy.ndarray-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
174.1 µs172.9 µs
test_stats_benchmark[1-numpy.ndarray-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
272.4 µs271.2 µs
test_stats_benchmark[1-numpy.ndarray-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
229.4 µs228.7 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
111.9 µs111.6 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
93.5 µs93.2 µs
test_stats_benchmark[0-numpy.ndarray-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
274.8 µs274.1 µ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_stats_benchmark[None-scipy.sparse.csc_array-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
133.4 µs133.3 µs
test_stats_benchmark[0-numpy.ndarray-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
230.2 µs230.1 µ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_array-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[float64-scipy.sparse.csr_array-C]
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[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-C]
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%
132.3 µs132.3 µs
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[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.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-F]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
4.2 ms4.2 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_array-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_stats_benchmark[None-scipy.sparse.csc_array-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
112.1 µs112.1 µs
test_stats_benchmark[None-numpy.ndarray-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
129.6 µs129.8 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
606.4 µs607.8 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
605.3 µs606.8 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
565.4 µs567.4 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
565.1 µs567.7 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
102.3 µs102.8 µs
test_stats_benchmark[None-numpy.ndarray-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
-1%
109.2 µs109.9 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
-2%
455.1 µs465.6 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
-2%
431.4 µs441.6 µs
test_stats_benchmark[1-scipy.sparse.csr_array-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
-3%
371.2 µs382.8 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
-3%
375 µs387.5 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
-3%
338.9 µs350.5 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
-3%
314.8 µs326.1 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
-4%
330.6 µs343.4 µs
test_stats_benchmark[1-scipy.sparse.csr_array-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
-4%
346.5 µs360.5 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
-4%
300.9 µs314.2 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
-4%
345.8 µs362.1 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
-5%
313.6 µs328.4 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
-5%
288.7 µs302.6 µs

Commits

Click on a commit to change the comparison range
Base
main
a7e216b
-0.09%
fix min job
e66a8c2
8 months ago
by flying-sheep
-0.05%
simplify
ae53c2f
8 months ago
by flying-sheep
+0.05%
better comment
fa08b03
8 months ago
by flying-sheep
-2.09%
Merge branch 'main' into pa/lazy
7479ae6
8 months ago
by flying-sheep
-0.01%
fix docs
6fb1583
8 months ago
by flying-sheep
+0.3%
Merge branch 'main' into pa/lazy
a828753
8 months ago
by flying-sheep
-51.25%
Merge branch 'main' into pa/lazy
f4b66c9
7 months ago
by flying-sheep
×4.2
Merge branch 'main' into pa/lazy
a83784b
7 months ago
by flying-sheep
© 2025 CodSpeed Technology
Home Terms Privacy Docs