feat(benchmarks): add static tree benchmark

This commit is contained in:
Tobias Bosch
2016-09-01 10:29:35 -07:00
committed by Martin Probst
parent 4287f1716d
commit eef4c22e87
8 changed files with 120 additions and 371 deletions

View File

@ -0,0 +1,26 @@
<!doctype html>
<html>
<body>
<h2>Params</h2>
<form>
Depth:
<input type="number" name="depth" placeholder="depth" value="9">
<br>
<button>Apply</button>
</form>
<h2>Angular2 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_ng2.js"></script>
</body>
</html>