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

Side by Side Diff: samples/third_party/dromaeo/tests/dom-traverse-html.dart

Issue 15742016: Fix up Performance testing. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | tools/testing/perf_testing/run_perf_tests.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library dromaeo; 1 library dromaeo;
2 import 'dart:async'; 2 import 'dart:async';
3 import 'dart:html'; 3 import 'dart:html';
4 import 'dart:json' as json; 4 import 'dart:json' as json;
5 import '../common/common.dart'; 5 import '../common/common.dart';
6 import 'dart:math' as Math; 6 import 'dart:math' as Math;
7 import 'dart:json' as json;
8 part 'Common.dart'; 7 part 'Common.dart';
9 part 'RunnerSuite.dart'; 8 part 'RunnerSuite.dart';
10 9
11 10
12 void main() { 11 void main() {
13 final int num = 40; 12 final int num = 40;
14 13
15 // Try to force real results. 14 // Try to force real results.
16 var ret; 15 var ret;
17 16
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 .test('childNodes', () { 82 .test('childNodes', () {
84 for (int i = 0; i < num; i++) { 83 for (int i = 0; i < num; i++) {
85 final nodes = document.body.$dom_childNodes; 84 final nodes = document.body.$dom_childNodes;
86 for (int j = 0; j < nodes.length; j++) { 85 for (int j = 0; j < nodes.length; j++) {
87 ret = nodes[j]; 86 ret = nodes[j];
88 } 87 }
89 } 88 }
90 }) 89 })
91 .end(); 90 .end();
92 } 91 }
OLDNEW
« no previous file with comments | « no previous file | tools/testing/perf_testing/run_perf_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698