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

make initial directory scan much faster #19

Merged
merged 1 commit into from
Jan 24, 2022
Merged

make initial directory scan much faster #19

merged 1 commit into from
Jan 24, 2022

Conversation

billiford
Copy link
Owner

Using godirwalk.Walk instead of filepath.Wallk I was able to get the initial directory scan down from ~4 minutes to ~15 seconds for a directory with 300,000+ files.

Read more about godirwalk here.

@billiford billiford added the enhancement New feature or request label Jan 24, 2022
@billiford billiford merged commit a975b38 into main Jan 24, 2022
@billiford billiford deleted the faster-dir-walk branch January 24, 2022 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant