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

Side by Side Diff: pkg/analysis_server/benchmark/integration/driver.dart

Issue 1310263003: Reformat code to minimize churn (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « no previous file | pkg/analysis_server/benchmark/integration/instrumentation_input_converter.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library server.driver; 5 library server.driver;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:math' show max, sqrt; 8 import 'dart:math' show max, sqrt;
9 9
10 import 'package:logging/logging.dart'; 10 import 'package:logging/logging.dart';
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 _printTotals( 257 _printTotals(
258 keyLen, totalCount, totalErrorCount, totalUnexpectedResultCount); 258 keyLen, totalCount, totalErrorCount, totalUnexpectedResultCount);
259 print(''); 259 print('');
260 _printGroupHeader('Notifications', keyLen); 260 _printGroupHeader('Notifications', keyLen);
261 for (String tag in keys) { 261 for (String tag in keys) {
262 Measurement m = measurements[tag]; 262 Measurement m = measurements[tag];
263 if (m.notification) { 263 if (m.notification) {
264 m.printSummary(keyLen); 264 m.printSummary(keyLen);
265 } 265 }
266 } 266 }
267
267 /// TODO(danrubel) *** print warnings if driver caches are not empty **** 268 /// TODO(danrubel) *** print warnings if driver caches are not empty ****
268 print(''' 269 print('''
269 270
270 (1) uxr = UneXpected Results or responses received from the server 271 (1) uxr = UneXpected Results or responses received from the server
271 that do not match the recorded response for that request. 272 that do not match the recorded response for that request.
272 (2) all times in milliseconds'''); 273 (2) all times in milliseconds''');
273 } 274 }
274 275
275 /** 276 /**
276 * Record the elapsed time for the given operation. 277 * Record the elapsed time for the given operation.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 int totalUnexpectedResultCount) { 311 int totalUnexpectedResultCount) {
311 StringBuffer sb = new StringBuffer(); 312 StringBuffer sb = new StringBuffer();
312 _printColumn(sb, 'Totals', keyLen); 313 _printColumn(sb, 'Totals', keyLen);
313 _printColumn(sb, totalCount.toString(), 6, rightJustified: true); 314 _printColumn(sb, totalCount.toString(), 6, rightJustified: true);
314 _printColumn(sb, totalErrorCount.toString(), 6, rightJustified: true); 315 _printColumn(sb, totalErrorCount.toString(), 6, rightJustified: true);
315 _printColumn(sb, totalUnexpectedResultCount.toString(), 6, 316 _printColumn(sb, totalUnexpectedResultCount.toString(), 6,
316 rightJustified: true); 317 rightJustified: true);
317 print(sb.toString()); 318 print(sb.toString());
318 } 319 }
319 } 320 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/benchmark/integration/instrumentation_input_converter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698