scverse
fast-array-utils
BlogDocsChangelog

Add mean_var

#46Merged
Comparing
pa/mean-var
(
8317937
) with
main
(
2c7a94a
)
CodSpeed Performance Gauge
-52%
Improvements
1
Regressions
1
Untouched
68
New
18

Benchmarks

Failed

test_stats_benchmark[1-scipy.sparse.csr_array-float32-is_constant]
tests/test_stats.py
Regression
CodSpeed Performance Gauge
-52%
97.6 µs204.7 µs

Improved

test_stats_benchmark[1-scipy.sparse.csr_array-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
×2.3
216.3 µs96.1 µs

New

test_stats_benchmark[1-scipy.sparse.csc_array-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
N/A
N/A353 µs
test_stats_benchmark[0-numpy.ndarray-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
N/A
N/A345.7 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
N/A
N/A335.5 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
N/A
N/A698.6 µs
test_stats_benchmark[0-numpy.ndarray-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
N/A
N/A326.2 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
N/A
N/A348.8 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
N/A
N/A740.2 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
N/A
N/A164.1 µs
test_stats_benchmark[1-numpy.ndarray-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
N/A
N/A320.9 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
N/A
N/A180.5 µs
test_stats_benchmark[1-numpy.ndarray-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
N/A
N/A339.1 µs
test_stats_benchmark[None-numpy.ndarray-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
N/A
N/A346.3 µs
test_stats_benchmark[1-scipy.sparse.csr_array-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
N/A
N/A176.6 µs
test_stats_benchmark[None-numpy.ndarray-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
N/A
N/A331 µs
test_stats_benchmark[1-scipy.sparse.csr_array-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
N/A
N/A160.7 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
N/A
N/A679.5 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float32-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
N/A
N/A338.8 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float64-mean_var]
tests/test_stats.py
CodSpeed Performance Gauge
N/A
N/A714.7 µs

Passed

test_stats_benchmark[1-scipy.sparse.csc_array-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
+2%
314.3 µs307.7 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
+2%
360 µs353.6 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
+2%
344.9 µs339.6 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
+2%
344.2 µs338.9 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
468.9 µs462.1 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
88.6 µs87.4 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
328.2 µs324.2 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
445.3 µs440.2 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
327 µs323.6 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
454.2 µs449.6 µs
test_stats_benchmark[1-numpy.ndarray-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
177.8 µs176 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
342.7 µs339.6 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
352.7 µs349.5 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
353.6 µs350.6 µs
test_stats_benchmark[1-numpy.ndarray-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
177.7 µs176.6 µs
test_stats_benchmark[1-scipy.sparse.csr_array-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
341.8 µs340 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
+1%
335.6 µs333.9 µs
test_stats_benchmark[1-numpy.ndarray-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
224.9 µs223.9 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
381 µs379.2 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
427.5 µs425.6 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
607.7 µs605.1 µs
test_stats_benchmark[None-numpy.ndarray-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
196.6 µs195.8 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
133.5 µs133 µs
test_stats_benchmark[None-numpy.ndarray-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
202.3 µs201.8 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
365.2 µs364.3 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
329.3 µs328.5 µs
test_stats_benchmark[1-scipy.sparse.csr_array-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
354.7 µs354.1 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
111.9 µs111.7 µs
test_stats_benchmark[1-scipy.sparse.csr_array-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
385.5 µs384.8 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
112.3 µs112.1 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
313.6 µs313.3 µs
test_stats_benchmark[None-numpy.ndarray-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
171.9 µs171.8 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
565.7 µs565.4 µs
test_stats_benchmark[1-scipy.sparse.csr_array-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
364.2 µs364 µs
test_stats_benchmark[1-numpy.ndarray-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
158.5 µs158.4 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
567.6 µs567.5 µs
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_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.csr_array-F]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
8.3 ms8.3 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[float64-scipy.sparse.csr_matrix-C]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
8.3 ms8.3 ms
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-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_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[float32-scipy.sparse.csc_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_matrix-F]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
8.3 ms8.3 ms
test_stats_benchmark[0-numpy.ndarray-float64-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
180.3 µs180.4 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
132.2 µs132.3 µs
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.csr_array-C]
tests/test_sparse.py
CodSpeed Performance Gauge
0%
4.2 ms4.2 ms
test_stats_benchmark[0-scipy.sparse.csc_array-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
96.5 µs96.6 µs
test_stats_benchmark[1-numpy.ndarray-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
195.8 µs196.1 µs
test_stats_benchmark[0-numpy.ndarray-float64-mean]
tests/test_stats.py
CodSpeed Performance Gauge
0%
198.7 µs199.1 µs
test_stats_benchmark[0-numpy.ndarray-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
269.6 µs270.2 µs
test_stats_benchmark[None-numpy.ndarray-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
129.4 µs129.8 µs
test_stats_benchmark[0-numpy.ndarray-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
225.5 µs226.2 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
603.8 µs606.1 µs
test_stats_benchmark[None-numpy.ndarray-float32-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
0%
108.9 µs109.3 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
304.3 µs305.6 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
0%
288.6 µs290 µs
test_stats_benchmark[None-numpy.ndarray-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
-1%
152.4 µs153.2 µs
test_stats_benchmark[1-numpy.ndarray-float64-is_constant]
tests/test_stats.py
CodSpeed Performance Gauge
-1%
265.3 µs266.7 µs
test_stats_benchmark[0-numpy.ndarray-float32-sum]
tests/test_stats.py
CodSpeed Performance Gauge
-4%
158.4 µs164.4 µs
test_stats_benchmark[0-numpy.ndarray-float32-mean]
tests/test_stats.py
CodSpeed Performance Gauge
-5%
175 µs183.6 µs

Commits

Click on a commit to change the comparison range
Base
main
2c7a94a
-42.27%
skeleton
a78fc9d
9 months ago
by flying-sheep
-10.65%
works
5cdcc43
9 months ago
by flying-sheep
-24.68%
just ignore stuff
0608d4a
9 months ago
by flying-sheep
+17.16%
add mean_var benchmarks
7be0ddd
9 months ago
by flying-sheep
-18.35%
Update tests/test_stats.py Co-authored-by: Philipp A. <flying-sheep@web.de>
03e2761
9 months ago
by ilan-gold
+26.46%
add note
8317937
9 months ago
by flying-sheep
© 2025 CodSpeed Technology
Home Terms Privacy Docs