angular-docs-cn/packages/core/test/bundling/todo
Andrew Kushnir 6cff877f4f perf(core): make DI decorators tree-shakable when used for `useFactory` deps config (#40145)
This commit updates the logic that calculates `useFactory` function arguments to avoid relying on `instanceof`
checks (thus always retaining symbols) and relies on flags that DI decorators contain (as a monkey-patched property).

Another perf benefit is having less megamorphic reads while calculating args for the `useFactory` call: we used to
check whether a token has `ngMetadataName` property 4 times (in worst case), now we have just 1 megamorphic read in
all cases.

Closes #40143.

PR Close #40145
2021-01-13 14:08:45 -08:00
..
BUILD.bazel build: set default ts_devserver serving_path to /app_bundle.js to match g3 (#33996) 2019-11-26 16:09:32 -08:00
OUTSTANDING_WORK.md test(ivy): update todo app to http://todomvc.com (#23168) 2018-04-10 13:14:20 -07:00
base.css test(ivy): update todo app to http://todomvc.com (#23168) 2018-04-10 13:14:20 -07:00
bundle.golden_symbols.json perf(core): make DI decorators tree-shakable when used for `useFactory` deps config (#40145) 2021-01-13 14:08:45 -08:00
index.html test: fix ivy ts_devserver tests under /packages/core/test/bunding/ (#32520) 2019-09-06 20:03:40 -04:00
index.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
todo.css refactor: remove obsolete font-smoothing property (#28174) 2019-01-23 15:44:35 -08:00
todo_e2e_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00