
- add ng2_switch benchmark to track `ngFor` over `ngSwitch` - measure create only, createDestroy and update - simplify the created dom - always add a style binding
27 lines
562 B
HTML
27 lines
562 B
HTML
<!doctype html>
|
|
<html>
|
|
<body>
|
|
|
|
<h2>Params</h2>
|
|
<form>
|
|
Depth:
|
|
<input type="number" name="depth" placeholder="depth" value="9">
|
|
<br>
|
|
<button>Apply</button>
|
|
</form>
|
|
|
|
<h2>Baseline Tree Benchmark</h2>
|
|
<p>
|
|
<button id="destroyDom">destroyDom</button>
|
|
<button id="createDom">createDom</button>
|
|
<button id="updateDomProfile">profile updateDom</button>
|
|
<button id="createDomProfile">profile createDom</button>
|
|
</p>
|
|
|
|
<div>
|
|
<tree id="root"></tree>
|
|
</div>
|
|
|
|
<script src="../../bootstrap_plain.js"></script>
|
|
</body>
|
|
</html> |