Open mrecachinas opened 5 years ago
Updates from profiling and discussing with @maihde:
bluefile.js:BitArray
and vlogscale
cmode: 3
bluefile.js:BitArray.subarray
or reducing number of times it needs to be called
overlay_bluefile
takes 6 seconds to execute.create_image
work in chunks and release the control thread back periodically.Effort in https://github.com/LGSInnovations/sigfile to integrate BitArray WASM.
Describe the bug Plotting scalar packed files on larger (~15 MB) files (i.e.,
overlay_href
) is currently inefficient. Changing SP to SB on the server-side, while space-inefficient, speeds up plotting. Also, plotting SP blocks the entire page, so if you have multiple plots and the SP overlay_href triggers first, none of the other plots will render until SP is done.