-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Open
Labels
Domain: PerformanceReports of unusually slow behaviorReports of unusually slow behaviorSuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone
Description
Recently I investigated optimizing path matching in #59048 since an internal project had over 5500 path mapping entries.
@dmichon-msft brought up a similar issue they had with a project where using wildcard entries in include
caused a 14 second slowdown in their builds. Some of the same optimizations might be usable in include
/exclude
globbing, or we could adapt a different solution with a radix tree or a similar data structure (e.g. https://github.com/microsoft/rushstack/blob/1bf90f890d59de5babaf07ccc2551b77df704b18/libraries/rush-lib/src/logic/LookupByPath.ts as pointed out at #59048 (comment)).
dmichon-msfth3adache
Metadata
Metadata
Assignees
Labels
Domain: PerformanceReports of unusually slow behaviorReports of unusually slow behaviorSuggestionAn idea for TypeScriptAn idea for TypeScript