Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: parse and walk globs in parallel (#7244)
### Description This PR brings parallelism to 2 aspects of our globwalk behavior: - parsing the input globs - walking of each of the input globs This will primarily provide a speedup for tasks which have a large amount of input globs, but from quick spot checks I think this doesn't negatively impact tasks with small (2-3) inputs. ### Testing Instructions Run lint against our examples (this is a noop, we just calculate task hash for this task) `turbo lint --filter=turborepo-examples`. Main: <img width="1610" alt="Screenshot 2024-02-02 at 3 33 40 PM" src="https://github.com/vercel/turbo/assets/4131117/dc468c8c-89de-4a51-b6cf-ebeb5416fdbd"> <img width="1829" alt="Screenshot 2024-02-02 at 3 48 38 PM" src="https://github.com/vercel/turbo/assets/4131117/4d42dc73-e99f-41b3-86eb-dc3b4e93fccd"> This PR: <img width="1602" alt="Screenshot 2024-02-02 at 3 33 53 PM" src="https://github.com/vercel/turbo/assets/4131117/cbbf7d52-56a1-4b2d-a925-91879162b1b8"> <img width="1324" alt="Screenshot 2024-02-02 at 3 48 52 PM" src="https://github.com/vercel/turbo/assets/4131117/e227f104-a5fd-4643-b05d-808bdfb51357"> Closes TURBO-2234
- Loading branch information