angular-cn/packages/core/test/bundling
crisbeto d5b87d32b0 perf(ivy): move attributes array into component def (#32798)
Currently Ivy stores the element attributes into an array above the component def and passes it into the relevant instructions, however the problem is that upon minification the array will get a unique name which won't compress very well. These changes move the attributes array into the component def and pass in the index into the instructions instead.

Before:
```
const _c0 = ['foo', 'bar'];

SomeComp.ngComponentDef = defineComponent({
  template: function() {
    element(0, 'div', _c0);
  }
});
```

After:
```
SomeComp.ngComponentDef = defineComponent({
  consts: [['foo', 'bar']],
  template: function() {
    element(0, 'div', 0);
  }
});
```

A couple of cases that this PR doesn't handle:
* Template references are still in a separate array.
* i18n attributes are still in a separate array.

PR Close #32798
2019-10-09 13:16:55 -07:00
..
animation_world build: update to rules_nodejs 0.38 (#32889) 2019-10-08 09:27:11 -07:00
core_all ci: update size benchmarks for core with 9.0.0-next.8 (#32947) 2019-10-02 13:22:36 -07:00
cyclic_import perf(ivy): avoid memory allocation in the isAnimationProp check (#32997) 2019-10-08 13:02:11 -07:00
hello_world build: update to rules_nodejs 0.38 (#32889) 2019-10-08 09:27:11 -07:00
hello_world_i18n build: update to rules_nodejs 0.38 (#32889) 2019-10-08 09:27:11 -07:00
hello_world_r2 build: update to rules_nodejs 0.38 (#32889) 2019-10-08 09:27:11 -07:00
injection build: update rxjs to 6.5.3 (#32812) 2019-10-01 14:56:45 -07:00
todo perf(ivy): move attributes array into component def (#32798) 2019-10-09 13:16:55 -07:00
todo_i18n build: update to rules_nodejs 0.38 (#32889) 2019-10-08 09:27:11 -07:00
todo_r2 build: update to rules_nodejs 0.38 (#32889) 2019-10-08 09:27:11 -07:00
util test: fix ivy ts_devserver tests under /packages/core/test/bunding/ (#32520) 2019-09-06 20:03:40 -04:00