angular-cn/packages/compiler-cli/test/compliance
Kristiyan Kostadinov def73a6728 perf(ivy): avoid storing raw selectors in projectionDef (#29578)
Currently in Ivy we pass both the raw and parsed selectors to the projectionDef instruction, because the parsed selectors are used to match most nodes, whereas the raw ones are used to match against nodes with the ngProjectAs attribute. The raw selectors add a fair bit of code that won't be used in most cases, because ngProjectAs is somewhat rare.

These changes rework the compiler not to output the raw selectors in the projectionDef, but to parse the selector in ngProjectAs and to store it on the TAttributes. The logic for matching has also been changed so that it matches the pre-parsed ngProjectAs selector against the list of projection selectors.

PR Close #29578
2019-04-11 08:09:09 -07:00
..
BUILD.bazel build(bazel): back out of @bazel/jasmine 0.27.7 with shard count (#29444) 2019-03-21 09:59:13 -07:00
README.md build: use bazel version from node modules (#26691) 2018-10-30 16:19:13 -04:00
mock_compile.ts test(ivy): compiler compliance tests should support ? (#25435) 2018-08-10 17:12:18 -07:00
mock_compiler_spec.ts refactor(ivy): prefix all generated instructions (#29692) 2019-04-10 12:11:40 -07:00
r3_compiler_compliance_spec.ts perf(ivy): avoid storing raw selectors in projectionDef (#29578) 2019-04-11 08:09:09 -07:00
r3_view_compiler_binding_spec.ts refactor(ivy): prefix all generated instructions (#29692) 2019-04-10 12:11:40 -07:00
r3_view_compiler_di_spec.ts refactor(ivy): prefix all generated instructions (#29692) 2019-04-10 12:11:40 -07:00
r3_view_compiler_directives_spec.ts refactor(ivy): prefix all generated instructions (#29692) 2019-04-10 12:11:40 -07:00
r3_view_compiler_i18n_spec.ts refactor(ivy): prefix all generated instructions (#29692) 2019-04-10 12:11:40 -07:00
r3_view_compiler_input_outputs_spec.ts refactor(ivy): prefix all generated instructions (#29692) 2019-04-10 12:11:40 -07:00
r3_view_compiler_listener_spec.ts refactor(ivy): prefix all generated instructions (#29692) 2019-04-10 12:11:40 -07:00
r3_view_compiler_providers_spec.ts refactor(ivy): prefix all generated instructions (#29692) 2019-04-10 12:11:40 -07:00
r3_view_compiler_spec.ts refactor(ivy): prefix all generated instructions (#29692) 2019-04-10 12:11:40 -07:00
r3_view_compiler_styling_spec.ts refactor(ivy): prefix all generated instructions (#29692) 2019-04-10 12:11:40 -07:00
r3_view_compiler_template_spec.ts refactor(ivy): prefix all generated instructions (#29692) 2019-04-10 12:11:40 -07:00

README.md

Tests in this directory should be run with:

yarn bazel test --define=compile=aot  packages/compiler-cli/test/compliance:compliance