Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Unified Diff: lib/html/benchmarks/dromaeo/tests/DomAttr.dart

Issue 9950103: Remove obsolete version of dromaeo (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/html/benchmarks/dromaeo/tests/Common.dart ('k') | lib/html/benchmarks/dromaeo/tests/DomModify.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/benchmarks/dromaeo/tests/DomAttr.dart
diff --git a/lib/html/benchmarks/dromaeo/tests/DomAttr.dart b/lib/html/benchmarks/dromaeo/tests/DomAttr.dart
deleted file mode 100644
index a810a655716bac8784222d9b9cb95e4a69edef4e..0000000000000000000000000000000000000000
--- a/lib/html/benchmarks/dromaeo/tests/DomAttr.dart
+++ /dev/null
@@ -1,31 +0,0 @@
-class Main {
- static void main() {
- final int num = 10240;
-
- // Try to force real results.
- var ret;
- window.on.load.add((Event evt) {
- Element elem = document.query('#test1');
- Element a = document.query('a');
-
- new Suite('dom-attr')
- .test('getAttribute', void _() {
- for (int i = 0; i < num; i++)
- ret = elem.attributes['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.attributes['id'] = 'foo';
- })
- .test('element.property = value', () {
- for (int i = 0; i < num; i++)
- a.id = 'foo';
- })
- .end();
- });
- }
-}
« no previous file with comments | « lib/html/benchmarks/dromaeo/tests/Common.dart ('k') | lib/html/benchmarks/dromaeo/tests/DomModify.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698