ANU-Rocketry / control-panel

Control panel for ANU Rocketry's liquid rocket engine testing platform
5 stars 0 forks source link

Datalogger is laggy after 10 minutes #13

Closed OliverBalfour closed 2 years ago

OliverBalfour commented 2 years ago

I'm not sure what the issue here is - the algorithm for selecting points should run just as fast and get roughly the same number of points when it's been running for 10 minutes. Is the amount of memory we're allocating in our Float64Arrays causing Chrome problems?

Proposed fixes should be tested in other browsers too (Chrome, Firefox, Safari)

OliverBalfour commented 2 years ago

This is partially fixed by leaving the tab open all the time (Chrome on my macbook doesn't process new data when a different tab is open, so it lags for a while when switching back. Running Chrome in the background is fine though)

It's also partially fixed by hiding the text for the vertical valve fire timing indicators at high zoom levels (they're useless and text overlaps anyway)