Skip to content

Remove ignore dependency and use rayon for file scanning for #1333 #1359

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tugtugtug
Copy link

@tugtugtug tugtugtug commented May 29, 2025

Fixes #1333

While ignore is great for collecting files while applying certain auto filters, it barely provides anything that is used by this tool. All we needed was a way to process the binary file searches in parallel.

  • Implemented a simple parallel file walker uses Rayon to parallelize the file search.
  • Added tests to cover the new implementation
  • Compared the benchmarks with ignore, and the new implementation performs better consistently on my setup (Apple M4 Max).
  • Verified this fixed the empty outputs for people running grcov with a .gitignore that includes the output folder.

@tugtugtug tugtugtug force-pushed the remove-ignore-dep branch 3 times, most recently from 9d77862 to 2111bcd Compare May 29, 2025 16:50
…1333

While ignore is great for collecting files while applying certain
auto filters, it barely provides anything that is used by this tool.
All we needed was a way to process the binary file searches in parallel.

- Implemented a simple parallel file walker uses Rayon to parallelize the
  file search.
- Added tests to cover the new implementation
- Compared the benchmarks with ignore, and the new implementation performs
  better consistently on my setup (Apple M4 Max).
- Verified this fixed the empty outputs for people running grcov with a
  .gitignore that includes the output folder.
@tugtugtug tugtugtug force-pushed the remove-ignore-dep branch from 2111bcd to 222cf52 Compare May 29, 2025 20:05
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.

Produces empty LCOV files since v0.9.0
1 participant