Skip to content

Analyzer: Improve app scan performance - #578

Merged
d4rken merged 5 commits into
mainfrom
analyzer_scan_performance
Aug 9, 2023
Merged

d4rken merged 5 commits into
mainfrom
analyzer_scan_performance

Conversation

@d4rken

@d4rken d4rken commented Aug 9, 2023

Copy link
Copy Markdown
Member

Cache more values and reduce duplicate checks that only need to be executed once per storage scan for all apps.

d4rken added 5 commits August 9, 2023 14:27
…UTO` as we could otherwise fail.

Scenario:
User has SAF access only to storage, and we try to check the existence of "/sdcard/Android/media" which then fails because there is no matching access mode.
… theoretically be anything (i.e. a SAFPath too).
Refactor app scanning code into an extra class and cache values that are the same for all apps we check during a scan.
@d4rken d4rken added enhancement New feature, request, improvement or optimization c: StorageAnalyzer labels Aug 9, 2023
@d4rken
d4rken merged commit 9ef5b2f into main Aug 9, 2023
@d4rken
d4rken deleted the analyzer_scan_performance branch August 9, 2023 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c: StorageAnalyzer enhancement New feature, request, improvement or optimization

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant