dask-benchmarks
dask-benchmarks copied to clipboard
Add a benchmark for dask.array.block comparing it to numpy and straight copy
@mrocklin I guess it wasn't as slow as I remember :S.
Dask is doing better than numpy, at least for now :dancing_women:
===== ========== ================= =============== ========================= ============= ========== ==========
-- mode
----- ----------------------------------------------------------------------------------------------------------
n block block optimized block persist block optimized persist concatenate np_block np_copy
===== ========== ================= =============== ========================= ============= ========== ==========
1 4.50±0ms 2.59±0ms 1.82±0ms 2.46±0ms 3.20±0ms 139±0μs 62.5±0μs
10 3.01±0ms 2.13±0ms 2.69±0ms 2.73±0ms 4.41±0ms 1.41±0ms 427±0μs
100 164±0ms 163±0ms 1.84±0ms 1.72±0ms 139±0ms 440±0ms 141±0ms
===== ========== ================= =============== ========================= ============= ========== ==========
Is this ready to merge?