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

fix: Have `sum` operate on the passed dtype.

#125Merged
Comparing
pa/fix-precision
(
7b08275
) with
main
(
49bdfac
)
CodSpeed Performance Gauge
0%
Untouched
160

Benchmarks

160 total
test_stats_benchmark[numpy.ndarray-2d-ax0-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
+2%
16.7 ms16.4 ms
test_stats_benchmark[numpy.ndarray-2d-ax1-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
+2%
17.3 ms17 ms
test_stats_benchmark[numpy.ndarray-2d-all-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
+2%
17.2 ms16.9 ms
test_stats_benchmark[numpy.ndarray-2d-ax0-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
5.8 ms5.7 ms
test_stats_benchmark[scipy.sparse.csr_array-2d-all-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
21.4 ms21.3 ms
test_stats_benchmark[scipy.sparse.csc_array-1d-all-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
21.4 ms21.3 ms
test_stats_benchmark[scipy.sparse.csc_array-2d-all-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
21.4 ms21.3 ms
test_stats_benchmark[numpy.ndarray-2d-ax1-int32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
8.9 ms8.9 ms
test_stats_benchmark[scipy.sparse.csr_array-1d-all-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
21.4 ms21.3 ms
test_stats_benchmark[numpy.ndarray-2d-ax1-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
9.2 ms9.1 ms
test_stats_benchmark[numpy.ndarray-1d-all-int32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
8.9 ms8.9 ms
test_stats_benchmark[numpy.ndarray-1d-all-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
9.2 ms9.2 ms
test_stats_benchmark[numpy.ndarray-2d-all-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
9.2 ms9.2 ms
test_stats_benchmark[numpy.ndarray-2d-all-int32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
8.9 ms8.9 ms
test_stats_benchmark[scipy.sparse.csr_array-2d-all-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
15 ms14.9 ms
test_stats_benchmark[scipy.sparse.csr_array-2d-all-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
2.8 ms2.8 ms
test_stats_benchmark[scipy.sparse.csr_array-1d-all-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
2.8 ms2.8 ms
test_stats_benchmark[scipy.sparse.csc_array-1d-all-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
2.8 ms2.8 ms
test_stats_benchmark[scipy.sparse.csc_array-2d-all-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
2.8 ms2.8 ms
test_stats_benchmark[scipy.sparse.csc_array-2d-all-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
2.8 ms2.8 ms
test_stats_benchmark[scipy.sparse.csc_array-1d-all-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
2.8 ms2.8 ms
test_stats_benchmark[scipy.sparse.csr_array-1d-all-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
2.8 ms2.8 ms
test_stats_benchmark[scipy.sparse.csr_array-2d-all-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
2.8 ms2.8 ms
test_stats_benchmark[scipy.sparse.csr_array-1d-all-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
4.7 ms4.7 ms
test_stats_benchmark[scipy.sparse.csc_array-2d-all-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
15 ms14.9 ms

Commits

Click on a commit to change the comparison range
Base
main
49bdfac
-0.02%
Add precision test
c435704
4 months ago
by flying-sheep
0%
fix float32→float64
008e6ea
4 months ago
by flying-sheep
+0.01%
only for dask
29333a8
4 months ago
by flying-sheep
-14.54%
simplify
f5f270f
4 months ago
by flying-sheep
-0.02%
revert
a4c4111
4 months ago
by flying-sheep
+0.06%
oof
4c60e1e
4 months ago
by flying-sheep
+0.02%
less broken
eb6526b
4 months ago
by flying-sheep
+0.03%
huh
5c802fd
4 months ago
by flying-sheep
-47.42%
all fixed
25b87c8
4 months ago
by flying-sheep
0%
fix coercion
e67eeff
4 months ago
by flying-sheep
0%
Merge branch 'main' into pa/fix-precision
7433aac
4 months ago
by flying-sheep
+61.88%
fast path for 0d sum
41840cc
4 months ago
by flying-sheep
+0.04%
reformat
7b08275
4 months ago
by flying-sheep
© 2026 CodSpeed Technology
Home Terms Privacy Docs