angular-cn/packages/core/test/bundling/todo
Matias Niemelä dcdb433b7d perf(ivy): apply [style]/[class] bindings directly to style/className (#33336)
This patch ensures that the `[style]` and `[class]` based bindings
are directly applied to an element's style and className attributes.

This patch optimizes the algorithm so that it...
- Doesn't construct an update an instance of `StylingMapArray` for
  `[style]` and `[class]` bindings
- Doesn't apply `[style]` and `[class]` based entries using
  `classList` and `style` (direct attributes are used instead)
- Doesn't split or iterate over all string-based tokens in a
  string value obtained from a `[class]` binding.

This patch speeds up the following cases:
- `<div [class]>` and `<div class="..." [class]>`
- `<div [style]>` and `<div style="..." [style]>`

The overall speec increase is by over 5x.

PR Close #33336
2019-10-24 17:42:46 -07:00
..
BUILD.bazel build: update to rules_nodejs 0.38 (#32889) 2019-10-08 09:27:11 -07: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(ivy): apply [style]/[class] bindings directly to style/className (#33336) 2019-10-24 17:42:46 -07: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 feat(ivy): type checking of event bindings (#33125) 2019-10-18 14:41:53 -04:00
todo.css refactor: remove obsolete font-smoothing property (#28174) 2019-01-23 15:44:35 -08:00
todo_e2e_spec.ts test(ivy): add bundling test `todo_i18n` (#27420) 2018-12-04 19:59:12 -08:00