angular-docs-cn/packages/core/schematics/migrations
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
..
dynamic-queries feat(core): add dynamic queries schematic (#32231) 2019-09-11 19:14:03 -04:00
google3 feat(core): add dynamic queries schematic (#32231) 2019-09-11 19:14:03 -04:00
missing-injectable refactor(core): move google3 migration rules into single directory (#30956) 2019-07-23 15:52:40 -07:00
move-document fix(core): TypeScript related migrations should cater for BOM (#30719) 2019-05-30 20:48:45 -07:00
renderer-to-renderer2 refactor(core): move renderer2 migration lint rule into google3 folder (#31817) 2019-08-09 10:46:45 -07:00
static-queries refactor(core): static-queries migration should never use ngtsc (#32954) 2019-10-02 14:53:41 -07:00
template-var-assignment refactor(core): move google3 migration rules into single directory (#30956) 2019-07-23 15:52:40 -07:00
undecorated-classes-with-decorated-fields refactor(core): undecorated-classes-with-decorated-fields migration commits empty updates (#32391) 2019-08-30 12:46:01 -07:00
undecorated-classes-with-di fix(language-service): create StaticReflector once only (#32543) 2019-10-03 15:02:03 -07:00