Index: client/dom/benchmarks/dromaeo/tests/dom-attr.dart |
diff --git a/client/dom/benchmarks/dromaeo/tests/dom-attr.dart b/client/dom/benchmarks/dromaeo/tests/dom-attr.dart |
deleted file mode 100644 |
index e2cace43cb039e89b194d7d4b0d6279804dcb1f6..0000000000000000000000000000000000000000 |
--- a/client/dom/benchmarks/dromaeo/tests/dom-attr.dart |
+++ /dev/null |
@@ -1,32 +0,0 @@ |
-#library("dom-attr.dart"); |
-#import("dart:dom"); |
-#import('runner.dart'); |
- |
-void main() { |
- final int num = 10240; |
- |
- // Try to force real results. |
- var ret; |
- |
- HTMLElement elem = document.getElementById('test1'); |
- HTMLElement a = document.getElementsByTagName('a')[0]; |
- |
- new Suite(window, 'dom-attr') |
- .test('getAttribute', void _() { |
- for (int i = 0; i < num; i++) |
- ret = elem.getAttribute('id'); |
- }) |
- .test('element.property', () { |
- for (int i = 0; i < num * 2; i++) |
- ret = elem.id; |
- }) |
- .test('setAttribute', () { |
- for (int i = 0; i < num; i++) |
- a.setAttribute('id', 'foo'); |
- }) |
- .test('element.property = value', () { |
- for (int i = 0; i < num; i++) |
- a.id = 'foo'; |
- }) |
- .end(); |
-} |