scverse
fast-array-utils
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Add stats.is_constant
#21
Merged
Comparing
pa/is-constant
(
521fb63
) with
main
(
ef6b847
)
CodSpeed Performance Gauge
-1%
Improvements
0
Regressions
0
Untouched
34
New
18
Dropped
0
Ignored
0
Benchmarks
New
test_stats_benchmark[0-numpy.ndarray-float32-is_constant]
tests/test_stats.py::test_stats_benchmark[0-numpy.ndarray-float32-is_constant]
CodSpeed Performance Gauge
N/A
N/A
230.1 µs
test_stats_benchmark[0-numpy.ndarray-float64-is_constant]
tests/test_stats.py::test_stats_benchmark[0-numpy.ndarray-float64-is_constant]
CodSpeed Performance Gauge
N/A
N/A
274.7 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float32-is_constant]
tests/test_stats.py::test_stats_benchmark[0-scipy.sparse.csc_array-float32-is_constant]
CodSpeed Performance Gauge
N/A
N/A
93.5 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float64-is_constant]
tests/test_stats.py::test_stats_benchmark[0-scipy.sparse.csc_array-float64-is_constant]
CodSpeed Performance Gauge
N/A
N/A
102.3 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float32-is_constant]
tests/test_stats.py::test_stats_benchmark[0-scipy.sparse.csr_array-float32-is_constant]
CodSpeed Performance Gauge
N/A
N/A
567.4 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float64-is_constant]
tests/test_stats.py::test_stats_benchmark[0-scipy.sparse.csr_array-float64-is_constant]
CodSpeed Performance Gauge
N/A
N/A
607.8 µs
test_stats_benchmark[1-numpy.ndarray-float32-is_constant]
tests/test_stats.py::test_stats_benchmark[1-numpy.ndarray-float32-is_constant]
CodSpeed Performance Gauge
N/A
N/A
228.6 µs
test_stats_benchmark[1-numpy.ndarray-float64-is_constant]
tests/test_stats.py::test_stats_benchmark[1-numpy.ndarray-float64-is_constant]
CodSpeed Performance Gauge
N/A
N/A
272 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float32-is_constant]
tests/test_stats.py::test_stats_benchmark[1-scipy.sparse.csc_array-float32-is_constant]
CodSpeed Performance Gauge
N/A
N/A
566.6 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float64-is_constant]
tests/test_stats.py::test_stats_benchmark[1-scipy.sparse.csc_array-float64-is_constant]
CodSpeed Performance Gauge
N/A
N/A
606.9 µs
test_stats_benchmark[1-scipy.sparse.csr_array-float32-is_constant]
tests/test_stats.py::test_stats_benchmark[1-scipy.sparse.csr_array-float32-is_constant]
CodSpeed Performance Gauge
N/A
N/A
488.1 µs
test_stats_benchmark[1-scipy.sparse.csr_array-float64-is_constant]
tests/test_stats.py::test_stats_benchmark[1-scipy.sparse.csr_array-float64-is_constant]
CodSpeed Performance Gauge
N/A
N/A
152.7 µs
test_stats_benchmark[None-numpy.ndarray-float32-is_constant]
tests/test_stats.py::test_stats_benchmark[None-numpy.ndarray-float32-is_constant]
CodSpeed Performance Gauge
N/A
N/A
109.4 µs
test_stats_benchmark[None-numpy.ndarray-float64-is_constant]
tests/test_stats.py::test_stats_benchmark[None-numpy.ndarray-float64-is_constant]
CodSpeed Performance Gauge
N/A
N/A
129.9 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float32-is_constant]
tests/test_stats.py::test_stats_benchmark[None-scipy.sparse.csc_array-float32-is_constant]
CodSpeed Performance Gauge
N/A
N/A
111.4 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float64-is_constant]
tests/test_stats.py::test_stats_benchmark[None-scipy.sparse.csc_array-float64-is_constant]
CodSpeed Performance Gauge
N/A
N/A
132.7 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float32-is_constant]
tests/test_stats.py::test_stats_benchmark[None-scipy.sparse.csr_array-float32-is_constant]
CodSpeed Performance Gauge
N/A
N/A
111.1 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float64-is_constant]
tests/test_stats.py::test_stats_benchmark[None-scipy.sparse.csr_array-float64-is_constant]
CodSpeed Performance Gauge
N/A
N/A
131.7 µs
Passed
test_to_dense_benchmark[float32-scipy.sparse.csc_array-F]
tests/test_sparse.py::test_to_dense_benchmark[float32-scipy.sparse.csc_array-F]
CodSpeed Performance Gauge
0%
4.2 ms
4.2 ms
test_to_dense_benchmark[float64-scipy.sparse.csr_matrix-C]
tests/test_sparse.py::test_to_dense_benchmark[float64-scipy.sparse.csr_matrix-C]
CodSpeed Performance Gauge
0%
8.3 ms
8.3 ms
test_to_dense_benchmark[float32-scipy.sparse.csc_matrix-C]
tests/test_sparse.py::test_to_dense_benchmark[float32-scipy.sparse.csc_matrix-C]
CodSpeed Performance Gauge
0%
4.2 ms
4.2 ms
test_to_dense_benchmark[float64-scipy.sparse.csc_matrix-F]
tests/test_sparse.py::test_to_dense_benchmark[float64-scipy.sparse.csc_matrix-F]
CodSpeed Performance Gauge
0%
8.3 ms
8.3 ms
test_to_dense_benchmark[float32-scipy.sparse.csc_array-C]
tests/test_sparse.py::test_to_dense_benchmark[float32-scipy.sparse.csc_array-C]
CodSpeed Performance Gauge
0%
4.2 ms
4.2 ms
test_to_dense_benchmark[float32-scipy.sparse.csc_matrix-F]
tests/test_sparse.py::test_to_dense_benchmark[float32-scipy.sparse.csc_matrix-F]
CodSpeed Performance Gauge
0%
4.2 ms
4.2 ms
test_to_dense_benchmark[float32-scipy.sparse.csr_array-C]
tests/test_sparse.py::test_to_dense_benchmark[float32-scipy.sparse.csr_array-C]
CodSpeed Performance Gauge
0%
4.2 ms
4.2 ms
test_to_dense_benchmark[float64-scipy.sparse.csc_array-F]
tests/test_sparse.py::test_to_dense_benchmark[float64-scipy.sparse.csc_array-F]
CodSpeed Performance Gauge
0%
8.3 ms
8.3 ms
test_to_dense_benchmark[float32-scipy.sparse.csr_matrix-C]
tests/test_sparse.py::test_to_dense_benchmark[float32-scipy.sparse.csr_matrix-C]
CodSpeed Performance Gauge
0%
4.2 ms
4.2 ms
test_to_dense_benchmark[float32-scipy.sparse.csr_array-F]
tests/test_sparse.py::test_to_dense_benchmark[float32-scipy.sparse.csr_array-F]
CodSpeed Performance Gauge
0%
4.2 ms
4.2 ms
test_to_dense_benchmark[float64-scipy.sparse.csr_array-C]
tests/test_sparse.py::test_to_dense_benchmark[float64-scipy.sparse.csr_array-C]
CodSpeed Performance Gauge
0%
8.3 ms
8.3 ms
test_to_dense_benchmark[float64-scipy.sparse.csc_matrix-C]
tests/test_sparse.py::test_to_dense_benchmark[float64-scipy.sparse.csc_matrix-C]
CodSpeed Performance Gauge
0%
8.3 ms
8.3 ms
test_to_dense_benchmark[float64-scipy.sparse.csc_array-C]
tests/test_sparse.py::test_to_dense_benchmark[float64-scipy.sparse.csc_array-C]
CodSpeed Performance Gauge
0%
8.3 ms
8.3 ms
test_to_dense_benchmark[float64-scipy.sparse.csr_array-F]
tests/test_sparse.py::test_to_dense_benchmark[float64-scipy.sparse.csr_array-F]
CodSpeed Performance Gauge
0%
8.3 ms
8.3 ms
test_to_dense_benchmark[float64-scipy.sparse.csr_matrix-F]
tests/test_sparse.py::test_to_dense_benchmark[float64-scipy.sparse.csr_matrix-F]
CodSpeed Performance Gauge
0%
8.3 ms
8.3 ms
test_stats_benchmark[None-scipy.sparse.csc_array-float64-sum]
tests/test_stats.py::test_stats_benchmark[None-scipy.sparse.csc_array-float64-sum]
CodSpeed Performance Gauge
0%
330.5 µs
330.8 µs
test_stats_benchmark[None-scipy.sparse.csr_array-float32-sum]
tests/test_stats.py::test_stats_benchmark[None-scipy.sparse.csr_array-float32-sum]
CodSpeed Performance Gauge
0%
288.8 µs
289.1 µs
test_to_dense_benchmark[float32-scipy.sparse.csr_matrix-F]
tests/test_sparse.py::test_to_dense_benchmark[float32-scipy.sparse.csr_matrix-F]
CodSpeed Performance Gauge
0%
4.2 ms
4.2 ms
test_stats_benchmark[None-scipy.sparse.csr_array-float64-sum]
tests/test_stats.py::test_stats_benchmark[None-scipy.sparse.csr_array-float64-sum]
CodSpeed Performance Gauge
0%
314.1 µs
315 µs
test_stats_benchmark[None-numpy.ndarray-float64-sum]
tests/test_stats.py::test_stats_benchmark[None-numpy.ndarray-float64-sum]
CodSpeed Performance Gauge
0%
173.5 µs
174.2 µs
test_stats_benchmark[None-scipy.sparse.csc_array-float32-sum]
tests/test_stats.py::test_stats_benchmark[None-scipy.sparse.csc_array-float32-sum]
CodSpeed Performance Gauge
-1%
299.7 µs
301.2 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float64-sum]
tests/test_stats.py::test_stats_benchmark[0-scipy.sparse.csr_array-float64-sum]
CodSpeed Performance Gauge
-1%
454.2 µs
456.6 µs
test_stats_benchmark[None-numpy.ndarray-float32-sum]
tests/test_stats.py::test_stats_benchmark[None-numpy.ndarray-float32-sum]
CodSpeed Performance Gauge
-1%
154.3 µs
155.3 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float64-sum]
tests/test_stats.py::test_stats_benchmark[1-scipy.sparse.csc_array-float64-sum]
CodSpeed Performance Gauge
-2%
333.1 µs
338.5 µs
test_stats_benchmark[0-scipy.sparse.csr_array-float32-sum]
tests/test_stats.py::test_stats_benchmark[0-scipy.sparse.csr_array-float32-sum]
CodSpeed Performance Gauge
-2%
427.5 µs
435 µs
test_stats_benchmark[1-scipy.sparse.csr_array-float64-sum]
tests/test_stats.py::test_stats_benchmark[1-scipy.sparse.csr_array-float64-sum]
CodSpeed Performance Gauge
-2%
363.2 µs
371.2 µs
test_stats_benchmark[1-scipy.sparse.csr_array-float32-sum]
tests/test_stats.py::test_stats_benchmark[1-scipy.sparse.csr_array-float32-sum]
CodSpeed Performance Gauge
-2%
339.1 µs
347.2 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float64-sum]
tests/test_stats.py::test_stats_benchmark[0-scipy.sparse.csc_array-float64-sum]
CodSpeed Performance Gauge
-3%
366.7 µs
376.2 µs
test_stats_benchmark[1-scipy.sparse.csc_array-float32-sum]
tests/test_stats.py::test_stats_benchmark[1-scipy.sparse.csc_array-float32-sum]
CodSpeed Performance Gauge
-3%
307 µs
315.1 µs
test_stats_benchmark[0-numpy.ndarray-float64-sum]
tests/test_stats.py::test_stats_benchmark[0-numpy.ndarray-float64-sum]
CodSpeed Performance Gauge
-3%
181 µs
186.8 µs
test_stats_benchmark[0-scipy.sparse.csc_array-float32-sum]
tests/test_stats.py::test_stats_benchmark[0-scipy.sparse.csc_array-float32-sum]
CodSpeed Performance Gauge
-3%
337 µs
348.9 µs
test_stats_benchmark[1-numpy.ndarray-float64-sum]
tests/test_stats.py::test_stats_benchmark[1-numpy.ndarray-float64-sum]
CodSpeed Performance Gauge
-5%
179 µs
187.5 µs
test_stats_benchmark[1-numpy.ndarray-float32-sum]
tests/test_stats.py::test_stats_benchmark[1-numpy.ndarray-float32-sum]
CodSpeed Performance Gauge
-5%
157.8 µs
165.9 µs
test_stats_benchmark[0-numpy.ndarray-float32-sum]
tests/test_stats.py::test_stats_benchmark[0-numpy.ndarray-float32-sum]
CodSpeed Performance Gauge
-5%
157.2 µs
166.1 µs
Commits
Click on a commit to change the comparison range
Base
main
ef6b847
0%
undo h5 and zarr for now
f49a797
4 months ago
by flying-sheep
0%
Merge branch 'main' into pa/is-constant
dedd75a
4 months ago
by flying-sheep
0%
fix mypy
846e7d6
4 months ago
by flying-sheep
0%
Merge branch 'main' into pa/is-constant
3133c60
4 months ago
by flying-sheep
0%
doctests
7fefddb
4 months ago
by flying-sheep
0%
fix tests
edde305
4 months ago
by flying-sheep
0%
Merge branch 'main' into pa/is-constant
2141694
4 months ago
by flying-sheep
0%
doc
e06cd9d
4 months ago
by flying-sheep
0%
Merge branch 'main' into pa/is-constant
2e58b4e
4 months ago
by flying-sheep
0%
generalize benchmark
7a44781
4 months ago
by flying-sheep
0%
some renames
d6a1fa6
4 months ago
by flying-sheep
0%
fewer variables
7d6ac57
4 months ago
by flying-sheep
0%
extract validation
19a4187
4 months ago
by flying-sheep
0%
Merge branch 'main' into pa/is-constant
4619e57
4 months ago
by flying-sheep
0%
less type:ignore
2e767f4
4 months ago
by flying-sheep
-1%
Merge branch 'main' into pa/is-constant
79150e8
4 months ago
by flying-sheep
0%
actually test dask with sparse as well
64c2baa
4 months ago
by flying-sheep
0%
fix typing?
b53742a
4 months ago
by flying-sheep
0%
fix is_constant
c8f6fc2
4 months ago
by flying-sheep
0%
test that all blocks are individually constant
f498da9
4 months ago
by flying-sheep
0%
add viz
dc7b2d6
4 months ago
by flying-sheep
0%
asymmetric
86664ba
4 months ago
by flying-sheep
0%
rename test
521fb63
4 months ago
by flying-sheep
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs