dask-benchmarks icon indicating copy to clipboard operation
dask-benchmarks copied to clipboard

Add a benchmark for dask.array.block comparing it to numpy and straight copy

Open hmaarrfk opened this issue 7 years ago • 1 comments

@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  
===== ========== ================= =============== ========================= ============= ========== ==========

hmaarrfk avatar Sep 18 '18 03:09 hmaarrfk

Is this ready to merge?

jakirkham avatar Oct 04 '18 18:10 jakirkham