
- add ng2_switch benchmark to track `ngFor` over `ngSwitch` - measure create only, createDestroy and update - simplify the created dom - always add a style binding
34 lines
640 B
HTML
34 lines
640 B
HTML
<!doctype html>
|
|
<html>
|
|
|
|
<head>
|
|
<link rel="import" href="binary_tree.html">
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h2>Params</h2>
|
|
<form>
|
|
Depth:
|
|
<input type="number" name="depth" placeholder="depth" value="9">
|
|
<br>
|
|
<button>Apply</button>
|
|
</form>
|
|
|
|
<h2>Polymer 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>
|
|
<binary-tree id="root"></binary-tree>
|
|
</div>
|
|
|
|
<script src="../../bootstrap_plain.js"></script>
|
|
|
|
</body>
|
|
|
|
</html> |