diff --git a/modules/benchmarks/src/tree/polymer_leaves/index.html b/modules/benchmarks/src/tree/polymer_leaves/index.html deleted file mode 100644 index fe51d79feb..0000000000 --- a/modules/benchmarks/src/tree/polymer_leaves/index.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - -

Params

-
- Depth: - -
- -
- -

Polymer Leaves Benchmark

-

- - - - -

- -
- -
- - - - - - diff --git a/modules/benchmarks/src/tree/polymer_leaves/index.ts b/modules/benchmarks/src/tree/polymer_leaves/index.ts deleted file mode 100644 index 6c2549197a..0000000000 --- a/modules/benchmarks/src/tree/polymer_leaves/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -import {bindAction} from '../../util'; -import {buildTree, flattenTree} from '../util'; - -declare var Polymer: any; - -export function main() { - const rootEl: any = document.querySelector('binary-tree'); - - function destroyDom() { - while (rootEl.firstChild) rootEl.removeChild(rootEl.firstChild); - } - - function createDom() { - const flatTree = flattenTree(buildTree(), []); - for (let i = 0; i < flatTree.length; i++) { - const el: any = document.createElement('tree-leaf'); - el.data = flatTree[i]; - rootEl.appendChild(el); - } - } - - bindAction('#destroyDom', destroyDom); - bindAction('#createDom', createDom); -} diff --git a/modules/benchmarks/src/tree/polymer_leaves/tree_leaf.html b/modules/benchmarks/src/tree/polymer_leaves/tree_leaf.html deleted file mode 100644 index 28f3fce8ff..0000000000 --- a/modules/benchmarks/src/tree/polymer_leaves/tree_leaf.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - -