tsdownsample icon indicating copy to clipboard operation
tsdownsample copied to clipboard

perf: use Zip instead of manual for loop

Open jvdd opened this issue 1 year ago • 1 comments

jvdd avatar Apr 25 '23 09:04 jvdd

CodSpeed Performance Report

Merging #47 optimize_mmlttb (0e1c696) will degrade performances by 14.11%.

Summary

🔥 3 improvements ❌ 2 regressions ✅ 385 untouched benchmarks

🆕 0 new benchmarks ⁉️ 0 dropped benchmarks

:warning: Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark main optimize_mmlttb Change
🔥 test_minmaxlttb_with_x[True-float64-100-100,000] 24 ms 16.6 ms +44.01%
🔥 test_m4_with_x[True-int32-1,000-100,000] 8.1 ms 6.4 ms +25.7%
🔥 test_minmaxlttb_with_x[True-int64-100-100,000] 39.4 ms 17.2 ms ×2.3
test_m4_with_x[True-int64-1,000-1,000,000] 14.1 ms 15.7 ms -10.37%
test_minmaxlttb_no_x[True-int32-1,000-100,000] 13.8 ms 16.1 ms -14.11%

codspeed-hq[bot] avatar Apr 25 '23 09:04 codspeed-hq[bot]