-
Notifications
You must be signed in to change notification settings - Fork 750
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
perf: fix skipping streaming data #4252
perf: fix skipping streaming data #4252
Conversation
✅ Deploy Preview for teslamate ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
4x query improvement here - should be larger impact on slow hw. @JakobLichterfeld |
@JakobLichterfeld - data required for calculation is available in drives -> so: use drives instead of positions for another 60x runtime improvement (totalling to 240x on my instance) ;) |
e78bfec
to
aef21ee
Compare
aef21ee
to
f4fd426
Compare
Successfully tested. It is now nearly instant, more than 240x on Rpi 3B+ :-) Thanks so much! |
2b36bad
into
teslamate-org:master
* perf-fix-skipping-streaming-data * use drives instead of positions for another 60x improvement
fixes #4251 - positions table grows over time by the amount of data collected by streaming data. to exclude streaming data we are making use of the a new index (part of the upcoming release). when testing please make sure you are having latest migrations of master branch applied.