Skip to content

perf: start the threads reading directories as they are needed - #1487

Merged
dsherret merged 1 commit into
mainfrom
perf/lazy-reader-threads
Nov 30, 2026
Merged

dsherret merged 1 commit into
mainfrom
perf/lazy-reader-threads

Conversation

@dsherret

Copy link
Copy Markdown
Member

All the threads for reading directories (8 by default) were started even when there was only a single directory to read. They are now started as there are more directories to read.

Checking a single small file with the TypeScript plugin on Linux is about 9% faster (ex. 5.5ms to 4.7ms). There was no difference globbing large repositories.

@dsherret
dsherret merged commit 340c898 into main Nov 30, 2026
6 checks passed
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.

1 participant