angular-cn/packages/compiler-cli/ngcc/test/entry_point_finder
Pete Bacon Darwin ec9f4d5bc6 perf(ngcc): use the `EntryPointManifest` in `DirectoryWalkerEntryPointFinder` (#35931)
The `DirectoryWalkerEntryPointFinder` has to traverse the
entire node_modules library everytime it executes in order to
identify the entry-points that need to be processed. This is
very time consuming (several seconds for big projects on
Windows).

This commit changes the `DirectoryWalkerEntryPointFinder` to
use the `EntryPointManifest` to store the paths to entry-points
that were found when doing this initial node_modules traversal
in a file to be reused for subsequent calls.

This dramatically speeds up ngcc processing when it has been run once
already.

PR Close #35931
2020-03-11 15:01:59 -07:00
..
directory_walker_entry_point_finder_spec.ts perf(ngcc): use the `EntryPointManifest` in `DirectoryWalkerEntryPointFinder` (#35931) 2020-03-11 15:01:59 -07:00
targeted_entry_point_finder_spec.ts fix(ngcc): allow deep-import warnings to be ignored (#35683) 2020-02-27 10:48:48 -08:00