angular-cn/packages/core/schematics/migrations/undecorated-classes-with-di
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
..
decorator_rewrite refactor(core): undecorated-classes migration should properly construct object literal from metadata (#32319) 2019-08-28 17:11:36 -07:00
BUILD.bazel feat(core): add undecorated classes migration schematic (#31650) 2019-08-13 14:40:52 -07:00
create_ngc_program.ts refactor(core): undecorated-classes-with-di migration should ignore referenced resources (#32953) 2019-10-02 14:54:33 -07:00
find_base_classes.ts feat(core): add undecorated classes migration schematic (#31650) 2019-08-13 14:40:52 -07:00
import_manager.ts feat(core): add undecorated classes migration schematic (#31650) 2019-08-13 14:40:52 -07:00
index.ts feat(core): add undecorated classes migration schematic (#31650) 2019-08-13 14:40:52 -07:00
ng_declaration_collector.ts feat(core): add undecorated classes migration schematic (#31650) 2019-08-13 14:40:52 -07:00
transform.ts fix(language-service): create StaticReflector once only (#32543) 2019-10-03 15:02:03 -07:00
update_recorder.ts feat(core): add undecorated classes migration schematic (#31650) 2019-08-13 14:40:52 -07:00