angular-cn/packages/core/schematics
Keen Yee Liau adb562bca6 fix(language-service): create StaticReflector once only (#32543)
The creation of StaticReflector in createMetadataResolver() is a very expensive operation because it involves numerous module resolutions.
To make matter worse, since the API of the Reflector does not provide the ability to invalidate its internal caches, it has to be destroyed and recreated on *every* program change.
This has a HUGE impact on performance.
This PR fixes this problem by carefully invalidating all StaticSymbols in a file that has changed, thereby reducing the overhead of recomputation on program change.

PR Close #32543
2019-10-03 15:02:03 -07:00
..
migrations fix(language-service): create StaticReflector once only (#32543) 2019-10-03 15:02:03 -07:00
test refactor(core): undecorated-classes-with-di migration should ignore referenced resources (#32953) 2019-10-02 14:54:33 -07:00
utils feat(core): add undecorated classes migration schematic (#31650) 2019-08-13 14:40:52 -07:00
BUILD.bazel feat(core): add dynamic queries schematic (#32231) 2019-09-11 19:14:03 -04:00
migrations.json build: temporarily disable dynamic queries migration (#32837) 2019-09-24 17:57:15 -07:00
tsconfig.json feat(core): add undecorated classes migration schematic (#31650) 2019-08-13 14:40:52 -07:00