slowlydev / f1-dash

A real-time F1 dashboard
https://f1-dash.com
GNU General Public License v3.0
568 stars 56 forks source link

Performance and Memory #168

Open slowlydev opened 3 weeks ago

slowlydev commented 3 weeks ago

I think this is because of memory leaks which are more apparent on different platforms.

On Firefox the dashboard quickly becomes super laggy and is completely unusable. See #108

On Mobile devices the dashboard also starts lagging https://github.com/slowlydev/f1-dash/issues/146#issuecomment-2439740289 https://github.com/slowlydev/f1-dash/issues/146#issuecomment-2441754830

It probably has to do with the buffers not being cleared up and leaking.

slowlydev commented 3 weeks ago

I am currently working on a rewrite of the buffers and state management and I hope it will improve the situation. But I am always open for suggestions.

Mighty-Eagle27 commented 3 weeks ago

Just subscribing to this issue, ignore this

WolfganP commented 3 weeks ago

I am currently working on a rewrite of the buffers and state management and I hope it will improve the situation. But I am always open for suggestions.

If you have an alternate beta deployment to test this weekend just let us know.

slowlydev commented 3 weeks ago

If you have an alternate beta deployment to test this weekend just let us know.

okay Ill try to get it to a useable state, I also want to do some UI changes so its a bit of a mess right now 😅

slowlydev commented 5 days ago

At least the memory issues should be fixed now. Changes are live on https://dev.f1-dash.com and will arrive on prod soon.