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

use ripgrep instead of vscode findFiles #909

Closed
wants to merge 4 commits into from

Conversation

alaindresse
Copy link
Contributor

@ggrossetie this attempt uses ripgrep directly (getting the right path to the version embedded in vscode using vscode-ripgrep published by Microsoft).

Significantly increases the performance, because ripgrep by default excludes gitignored files and symlinks.

Had to disregard the cancellation token used before. Not sure that is an issue.

This could be replaced by the upgraded findFiles once it is finalised by the vscode team.

Curious to know what you think.

resolves #907 to a great extent

@ggrossetie
Copy link
Member

Not really sure why tests are failing, I will checkout your branch locally and do some tests

@ggrossetie
Copy link
Member

It's actually a cache issue since we create/remove files during tests in the test-workspace directory

@ggrossetie
Copy link
Member

Superseded by #910

@ggrossetie ggrossetie closed this Oct 8, 2024
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.

Antora preview performance issues
2 participants