Skip to content
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

Improve reports discovery speed #221

Merged
merged 3 commits into from
Feb 11, 2024
Merged

Conversation

martis42
Copy link
Owner

@martis42 martis42 commented Feb 11, 2024

For full details see individual commits

os.walk() is almost twice as fast as Path.glob() in a test setup with
6.250 million files distributed about a structure nested up to 250 levels.
Also it requires significantly less RAM for large file trees.
Users don't have to provide a search path pointing exactly to the root of
'bazel-bin'. This is merely the default for the automatic deduction logic.
When users manually provide the search path, they can freely provide any
sub tree of 'bazel-bin'
@martis42 martis42 merged commit 8c3fb3d into main Feb 11, 2024
11 checks passed
@martis42 martis42 deleted the improve_reports_discovery_speed branch February 11, 2024 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant