Avatar for the predict-idlab user
predict-idlab
tsdownsample
BlogDocsChangelog

:muscle: add FPCS downsampling algorithm

#84
Comparing
feat/fpcs
(
499d538
) with
main
(
7e2f14a
)
CodSpeed Performance Gauge
-45%
Improvement
17
Regression
6
Untouched
655

Benchmarks

678 total
test_nanminmax_with_x[True-float32-1,000-100,000]
tests/benchmarks/test_downsamplers.py
CodSpeed Performance Gauge
-45%
1.5 ms2.7 ms
test_nanminmaxlttb_with_x[True-float64-100-100,000]
tests/benchmarks/test_downsamplers.py
CodSpeed Performance Gauge
-23%
1.3 ms1.7 ms
test_nanminmax_with_x[True-int32-1,000-100,000]
tests/benchmarks/test_downsamplers.py
CodSpeed Performance Gauge
-21%
1.6 ms2 ms
test_m4_with_x[True-float64-1,000-100,000]
tests/benchmarks/test_downsamplers.py
CodSpeed Performance Gauge
-20%
1.6 ms2 ms
test_m4_with_x[True-int32-1,000-100,000]
tests/benchmarks/test_downsamplers.py
CodSpeed Performance Gauge
-20%
1.5 ms1.9 ms
test_m4_no_x[True-int32-100-100,000]
tests/benchmarks/test_downsamplers.py
CodSpeed Performance Gauge
-16%
520 µs618.6 µs
test_nanminmaxlttb_with_x[True-int64-100-100,000]
tests/benchmarks/test_downsamplers.py
CodSpeed Performance Gauge
×2.3
3.1 ms1.4 ms
test_minmax_with_x[True-int64-1,000-100,000]
tests/benchmarks/test_downsamplers.py
CodSpeed Performance Gauge
+33%
3 ms2.2 ms
test_nanminmaxlttb_no_x[True-float32-100-100,000]
tests/benchmarks/test_downsamplers.py
CodSpeed Performance Gauge
+33%
610.4 µs459.3 µs
test_minmax_with_x[True-int32-1,000-100,000]
tests/benchmarks/test_downsamplers.py
CodSpeed Performance Gauge
+26%
2 ms1.6 ms
test_nanm4_no_x[True-int32-100-100,000]
tests/benchmarks/test_downsamplers.py
CodSpeed Performance Gauge
+19%
645.4 µs541.7 µs
test_m4_no_x[True-int64-5,000-100,000]
tests/benchmarks/test_downsamplers.py
CodSpeed Performance Gauge
+18%
1,070.9 µs904.9 µs
test_minmaxlttb_no_x[True-float32-5,000-100,000]
tests/benchmarks/test_downsamplers.py
CodSpeed Performance Gauge
+18%
2.7 ms2.3 ms
test_nanm4_with_x[True-int64-1,000-100,000]
tests/benchmarks/test_downsamplers.py
CodSpeed Performance Gauge
+15%
1.9 ms1.7 ms
test_nanm4_with_x[True-int32-1,000-100,000]
tests/benchmarks/test_downsamplers.py
CodSpeed Performance Gauge
+14%
1.6 ms1.4 ms
test_nanminmaxlttb_with_x[True-float32-100-100,000]
tests/benchmarks/test_downsamplers.py
CodSpeed Performance Gauge
+14%
1.2 ms1 ms
test_nanminmax_with_x[True-int32-1,000-1,000,000]
tests/benchmarks/test_downsamplers.py
CodSpeed Performance Gauge
+14%
4.1 ms3.6 ms
test_m4_with_x[True-int64-1,000-100,000]
tests/benchmarks/test_downsamplers.py
CodSpeed Performance Gauge
+13%
1.9 ms1.6 ms
test_m4_with_x[True-int32-1,000-1,000,000]
tests/benchmarks/test_downsamplers.py
CodSpeed Performance Gauge
+12%
3.8 ms3.4 ms
test_nanminmax_with_x[True-float64-1,000-100,000]
tests/benchmarks/test_downsamplers.py
CodSpeed Performance Gauge
+12%
2.4 ms2.1 ms
test_nanminmax_with_x[True-float64-1,000-1,000,000]
tests/benchmarks/test_downsamplers.py
CodSpeed Performance Gauge
+12%
6.5 ms5.8 ms
test_nanminmax_with_x[True-int64-5,000-100,000]
tests/benchmarks/test_downsamplers.py
CodSpeed Performance Gauge
+11%
5.2 ms4.7 ms
test_nanminmaxlttb_no_x[True-float32-5,000-100,000]
tests/benchmarks/test_downsamplers.py
CodSpeed Performance Gauge
+10%
2.5 ms2.3 ms
test_minmaxlttb_no_x[False-float32-5,000-100,000]
tests/benchmarks/test_downsamplers.py
CodSpeed Performance Gauge
+9%
2.4 ms2.2 ms
test_nanminmaxlttb_no_x[True-int32-5,000-100,000]
tests/benchmarks/test_downsamplers.py
CodSpeed Performance Gauge
+9%
2.5 ms2.3 ms

Commits

Click on a commit to change the comparison range
Base
main
7e2f14a
-56.77%
:muscle: add FPCS downsampling algorithm
a3cbea6
11 months ago
by jonasvdd
+7.63%
:mag: improve clean target in Makefile to exclude virtual environment files
90c18e5
11 months ago
by jonasvdd
-6.51%
:goat: adding first tests
fbf546c
11 months ago
by jonasvdd
+23.53%
:construction: WiP include minmaxlttb tests
73208b2
11 months ago
by jonasvdd
-10.6%
:goat: identify non-alignment between LTTB_py and LTTB_rs :mag:
0339deb
11 months ago
by jonasvdd
+5.34%
:dash: formatting + adding more tests
95b29af
11 months ago
by jonasvdd
-2.79%
:mag: add per-file ignores for line length in downsamplers.py
d40f5a4
11 months ago
by jonasvdd
-5.85%
:pushpin: add tests for NaN and non-NaN resampler accordance
5fcc477
11 months ago
by jonasvdd
+1.03%
:see_no_evil: remove debug trait
499d538
11 months ago
by jonasvdd
© 2026 CodSpeed Technology
Home Terms Privacy Docs