angular-cn/packages/core/test/bundling
Miško Hevery bb53b6549c refactor(ivy): move all of the instruction state into a singe object (#33093)
Turns out that writing to global state is more expensive than writing to
a property on an object.

Slower:
````
let count = 0;

function increment() {
  count++;
}
```

Faster:
````
const state = {
  count: 0
};

function increment() {
  state.count++;
}
```

This change moves all of the instruction state into a single state object.

`noop_change_detection` benchmark
Pre refactoring: 16.7 us
Post refactoring: 14.523 us (-13.3%)

PR Close #33093
2019-10-17 16:00:55 -04: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 refactor(ivy): move all of the instruction state into a singe object (#33093) 2019-10-17 16:00:55 -04:00
hello_world refactor(ivy): move all of the instruction state into a singe object (#33093) 2019-10-17 16:00:55 -04: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 refactor(core): rename ngInjectableDef to ɵprov (#33151) 2019-10-16 16:36:19 -04:00
todo refactor(ivy): move all of the instruction state into a singe object (#33093) 2019-10-17 16:00:55 -04:00
todo_i18n test: fix //packages/core/test/bundling/todo_i18n:test test deps (#33073) 2019-10-14 20:25:57 +00: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