Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Checking which paths are ignored by Git cripples path searching performance #361

Closed
mattlyons0 opened this issue Nov 21, 2018 · 1 comment

Comments

@mattlyons0
Copy link

if (this.repo && this.repo.isPathIgnored(relativePath)) {

Disabling the line included above causes the searching of paths to go from 6000-7000ms to 2000-3000ms.

I am benchmarking by opening this project and the Linux Kernel in Atom. Although the Linux Kernel is an extreme case when considering #88 every improvement to path searching counts.

A proof of concept implementation with scandal seems to be able to drop the initial scanning time to 5000-6000ms and then 3000-4000ms for future searches.

@winstliu
Copy link
Contributor

I believe this has been improved substantially by #366 and will improve even further with #369 - please let me know if you think this issue should remain open.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants