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

fix: improve variance precision

#127Merged
Comparing
pa/test-accuracy
(
0cd5237
) with
main
(
9df6b5a
)
CodSpeed Performance Gauge
+63%
Improvement
12
Untouched
148

Benchmarks

160 total
test_stats_benchmark[scipy.sparse.csr_array-1d-all-int32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
+63%
14.7 ms9 ms
test_stats_benchmark[scipy.sparse.csr_array-2d-all-int32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
+63%
14.7 ms9 ms
test_stats_benchmark[scipy.sparse.csc_array-2d-all-int32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
+63%
14.7 ms9 ms
test_stats_benchmark[scipy.sparse.csc_array-1d-all-int32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
+63%
14.7 ms9 ms
test_stats_benchmark[scipy.sparse.csc_array-2d-all-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
+61%
15 ms9.3 ms
test_stats_benchmark[scipy.sparse.csr_array-2d-all-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
+61%
15 ms9.3 ms
test_stats_benchmark[scipy.sparse.csc_array-1d-all-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
+61%
15 ms9.3 ms
test_stats_benchmark[scipy.sparse.csr_array-1d-all-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
+61%
14.9 ms9.3 ms
test_stats_benchmark[scipy.sparse.csr_array-1d-all-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
+24%
21.4 ms17.3 ms
test_stats_benchmark[scipy.sparse.csc_array-2d-all-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
+23%
21.4 ms17.4 ms
test_stats_benchmark[scipy.sparse.csr_array-2d-all-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
+23%
21.4 ms17.4 ms
test_stats_benchmark[scipy.sparse.csc_array-1d-all-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
+23%
21.4 ms17.4 ms
test_stats_benchmark[scipy.sparse.csr_array-2d-ax1-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
767 µs764.2 µs
test_stats_benchmark[scipy.sparse.csr_array-2d-ax1-int32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
11.6 ms11.6 ms
test_stats_benchmark[scipy.sparse.csr_array-2d-ax1-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
769 µs767.5 µs
test_stats_benchmark[numpy.ndarray-2d-all-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
9.2 ms9.1 ms
test_stats_benchmark[scipy.sparse.csc_array-2d-ax0-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
5.9 ms5.9 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.csc_array-2d-ax0-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
5.9 ms5.9 ms
test_stats_benchmark[scipy.sparse.csc_array-2d-ax1-int32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
23 ms23 ms
test_stats_benchmark[scipy.sparse.csr_array-2d-ax0-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
23 ms23 ms
test_stats_benchmark[scipy.sparse.csr_array-2d-ax0-int32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
23 ms23 ms
test_stats_benchmark[scipy.sparse.csr_array-2d-ax0-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
26.7 ms26.7 ms
test_stats_benchmark[numpy.ndarray-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-ax1-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
0%
6.4 ms6.4 ms

Commits

Click on a commit to change the comparison range
Base
main
9df6b5a
-0.05%
test with more tricky floats
5b7af35
4 months ago
by flying-sheep
+0.05%
reproduce flaky test
a780d67
4 months ago
by flying-sheep
-0.04%
skip doctest
7d67fa2
4 months ago
by flying-sheep
+0.03%
oops
76ab019
4 months ago
by flying-sheep
-0.05%
limit to broken cases
92483a4
4 months ago
by flying-sheep
+0.02%
try testing on osx
d3d80a7
4 months ago
by flying-sheep
+0.02%
fix
22cb70f
4 months ago
by flying-sheep
-0.02%
macos only on new
9e55691
4 months ago
by flying-sheep
+0.02%
compatible min dask version
edd6a9f
4 months ago
by flying-sheep
-0.02%
[pre-commit.ci] auto fixes from pre-commit.com hooks
bdb1ff2
4 months ago
by pre-commit-ci[bot]
-61.7%
better fix
864c2b1
4 months ago
by flying-sheep
+0.03%
cupy fix
e8d163d
4 months ago
by flying-sheep
-0.01%
whoops
25ccfb5
4 months ago
by flying-sheep
-0.01%
lower GPU precision
71a662e
4 months ago
by flying-sheep
+12.15%
hopefully speed up
7cc7a8e
4 months ago
by flying-sheep
+16.58%
conservative
62c30d7
4 months ago
by flying-sheep
-0.22%
mypy
b68c848
4 months ago
by flying-sheep
+96.12%
even faster
0cd5237
4 months ago
by flying-sheep
© 2026 CodSpeed Technology
Home Terms Privacy Docs