Open breznak opened 8 years ago
ad 4) I fugured with "hide all" option, the graph renders much faster. Could be show the loading screen, keep loading (if not streaming) and Show All when reached end of file?
I think that 60MB might be too large. That said, we can profile the different parts of the process.
Ok, we can try how reducing the size solves the issue.
Currently we resort to "Windowing" on large files, which is great for streaming data, but not ok if you want to work with the whole file, as in the hotgym_full
.
What do you think about adding a toggle: Whole file (slow), Sliding window, Compressed
, that would appear only if file>MAX_SIZE? Whole file & Windowing are implemented, Compressed would be idea of #43.
That might be the solution. This ties into my thoughts about a revamped UX, where we perhaps have a step after the file has been checked, to ask the user how they would like the file to be processed.
Related to problem in #41
hotgym_full
, garbage collection takes 49% time, can we reduce it?strokeBorderWidth
(=0.1) the functionDygraph.stroke._drawSeries()
rampages from about 10sec/graph to 280sec/graph!highlightSeriesOpts
also causing slowdown