refactor(benchmarks): align tree benchmark with largetable benchmark

- add ng2_switch benchmark to track `ngFor` over `ngSwitch`
- measure create only, createDestroy and update
- simplify the created dom
- always add a style binding
This commit is contained in:
Tobias Bosch
2016-09-01 16:56:45 -07:00
committed by Martin Probst
parent b4363bc8af
commit df4c0a3d1f
24 changed files with 381 additions and 324 deletions

View File

@ -10,7 +10,7 @@
<button>Apply</button>
</form>
<h2>Baseline tree benchmark</h2>
<h2>Incremental-Dom Tree Benchmark</h2>
<p>
<button id="destroyDom">destroyDom</button>
<button id="createDom">createDom</button>