scverse
fast-array-utils
BlogDocsChangelog

Test PR to see sum speed

#17Merged
Comparing
pa/numpy-sum
(
5e497b3
) with
pa/sum
(
9ae63ae
)
CodSpeed Performance Gauge
+25%
Improvements
21
Untouched
17

Benchmarks

Improved

test_sum_benchmark[numpy.ndarray-0-float32]
tests/test_stats.py
CodSpeed Performance Gauge
+25%
106.7 µs85.6 µs
test_sum_benchmark[numpy.ndarray-None-float32]
tests/test_stats.py
CodSpeed Performance Gauge
+24%
107 µs86.1 µs
test_sum_benchmark[numpy.ndarray-1-float32]
tests/test_stats.py
CodSpeed Performance Gauge
+23%
111.4 µs90.3 µs
test_sum_benchmark[scipy.sparse.csc_matrix-0-float64]
tests/test_stats.py
CodSpeed Performance Gauge
+23%
404.1 µs329.1 µs
test_sum_benchmark[scipy.sparse.csr_matrix-1-float32]
tests/test_stats.py
CodSpeed Performance Gauge
+23%
382.5 µs312.2 µs
test_sum_benchmark[scipy.sparse.csc_matrix-0-float32]
tests/test_stats.py
CodSpeed Performance Gauge
+22%
374.9 µs306.1 µs
test_sum_benchmark[scipy.sparse.csr_matrix-1-float64]
tests/test_stats.py
CodSpeed Performance Gauge
+21%
408.6 µs339 µs
test_sum_benchmark[numpy.ndarray-None-float64]
tests/test_stats.py
CodSpeed Performance Gauge
+20%
125.4 µs104.4 µs
test_sum_benchmark[numpy.ndarray-1-float64]
tests/test_stats.py
CodSpeed Performance Gauge
+20%
130.7 µs108.9 µs
test_sum_benchmark[scipy.sparse.csc_matrix-1-float32]
tests/test_stats.py
CodSpeed Performance Gauge
+20%
337.8 µs281.7 µs
test_sum_benchmark[numpy.ndarray-0-float64]
tests/test_stats.py
CodSpeed Performance Gauge
+20%
127.9 µs106.8 µs
test_sum_benchmark[scipy.sparse.csr_matrix-None-float32]
tests/test_stats.py
CodSpeed Performance Gauge
+20%
319.4 µs267 µs
test_sum_benchmark[scipy.sparse.csc_matrix-None-float32]
tests/test_stats.py
CodSpeed Performance Gauge
+18%
336.2 µs285.1 µs
test_sum_benchmark[scipy.sparse.csr_matrix-None-float64]
tests/test_stats.py
CodSpeed Performance Gauge
+17%
344.5 µs294.9 µs
test_sum_benchmark[scipy.sparse.csc_matrix-1-float64]
tests/test_stats.py
CodSpeed Performance Gauge
+17%
366.1 µs313.9 µs
test_sum_benchmark[scipy.sparse.csc_matrix-None-float64]
tests/test_stats.py
CodSpeed Performance Gauge
+16%
353.1 µs304.4 µs
test_sum_benchmark[scipy.sparse.csc_array-None-float32]
tests/test_stats.py
CodSpeed Performance Gauge
+12%
268.7 µs240.7 µs
test_sum_benchmark[scipy.sparse.csr_array-None-float32]
tests/test_stats.py
CodSpeed Performance Gauge
+11%
254.1 µs228.3 µs
test_sum_benchmark[scipy.sparse.csc_array-1-float32]
tests/test_stats.py
CodSpeed Performance Gauge
+11%
273.5 µs246.2 µs
test_sum_benchmark[scipy.sparse.csc_array-None-float64]
tests/test_stats.py
CodSpeed Performance Gauge
+11%
290.5 µs262.6 µs
test_sum_benchmark[scipy.sparse.csr_array-None-float64]
tests/test_stats.py
CodSpeed Performance Gauge
+10%
279.6 µs253.8 µs

Passed

test_sum_benchmark[scipy.sparse.csc_array-1-float64]
tests/test_stats.py
CodSpeed Performance Gauge
+10%
299.8 µs273.7 µs
test_sum_benchmark[scipy.sparse.csc_array-0-float32]
tests/test_stats.py
CodSpeed Performance Gauge
+9%
313.4 µs286.3 µs
test_sum_benchmark[scipy.sparse.csr_array-1-float32]
tests/test_stats.py
CodSpeed Performance Gauge
+9%
313.5 µs287.2 µs
test_sum_benchmark[scipy.sparse.csr_matrix-0-float32]
tests/test_stats.py
CodSpeed Performance Gauge
+9%
459.5 µs420.9 µs
test_sum_benchmark[scipy.sparse.csc_array-0-float64]
tests/test_stats.py
CodSpeed Performance Gauge
+9%
337.7 µs310.7 µs
test_sum_benchmark[scipy.sparse.csr_array-1-float64]
tests/test_stats.py
CodSpeed Performance Gauge
+9%
339 µs312.1 µs
test_sum_benchmark[scipy.sparse.csr_matrix-0-float64]
tests/test_stats.py
CodSpeed Performance Gauge
+9%
482.9 µs444.8 µs
test_sum_benchmark[scipy.sparse.csr_array-0-float32]
tests/test_stats.py
CodSpeed Performance Gauge
+6%
411.8 µs387.8 µs
test_sum_benchmark[scipy.sparse.csr_array-0-float64]
tests/test_stats.py
CodSpeed Performance Gauge
+5%
437.6 µs416.4 µs
test_to_dense_benchmark[csc-float64-F]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
8.3 ms8.3 ms
test_to_dense_benchmark[csc-float64-C]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
8.3 ms8.3 ms
test_to_dense_benchmark[csr-float64-C]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
8.3 ms8.3 ms
test_to_dense_benchmark[csr-float64-F]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
8.3 ms8.3 ms
test_to_dense_benchmark[csc-float32-C]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
4.2 ms4.2 ms
test_to_dense_benchmark[csc-float32-F]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
4.2 ms4.2 ms
test_to_dense_benchmark[csr-float32-F]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
4.2 ms4.2 ms
test_to_dense_benchmark[csr-float32-C]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
4.2 ms4.2 ms

Commits

Click on a commit to change the comparison range
Base
pa/sum
9ae63ae
+24.73%
types
5e497b3
9 months ago
by flying-sheep
© 2025 CodSpeed Technology
Home Terms Privacy Docs