Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Optimized datashader aggregation of NdOverlays #1430
This PR provides major optimizations when using the datashader operations to aggregate multiple objects in an NdOverlay using the
Here are some benchmarks, the data here are 12 curves of increasing length where 1 minute is equivalent to 60000*60 samples. The four conditions are comparing line aggregation of multiple curves either by summing the aggregates (the new approach) or by aggregating over concatenated curves separated by NaNs.
You can see that the new approach is generally slightly slower than aggregating over already concatenated lines, but it scales much better when using dask.