-
-
Notifications
You must be signed in to change notification settings - Fork 113
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
use thought when calling to vfs for esoteric media #766
Conversation
10a545f
to
df2e0d5
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #766 +/- ##
=======================================
Coverage 21.07% 21.07%
=======================================
Files 63 63
Lines 8542 8542
Branches 1572 1572
=======================================
Hits 1800 1800
Misses 6726 6726
Partials 16 16 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are making a bunch of duplicate logic here, I think it would make sense to move this check into the validate_*_dir
functions (and probably just pass the obj
in there for now).
TODO
- verify if
validate_*_dir
functions are also called from elsewhere
Did some benchmarking here. Synced my entire movies and shows libraries from a fresh install on my main rig. Current master: 4 minutes, 23 seconds That's close enough I'd chalk it up to network speed variations, but also seems to indicate this is insignificant as far as speeding up the sync. It's possible this is only meaningful on lower power devices. Would need more investigating to say for sure. |
Add 50ms of latency between your Library and the client, or even 10ms. |
This would in theory cut out two round-trips when adding items in native mode. I'm not sure if
|
so I barely know python, but saw that there were massive stalls for populating the database with a very tiny media library. There's still some massive slowdown on series retrieval, but the episodes load in in about a second now from minutes previously. This results in a 7x performance improvement (time reduction) for library import overall, with about a 90x reduction on per-episode import.