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

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

Issue 1834423002: Sort the files in analysis_server (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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
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 import 'dart:io'; 5 import 'dart:io';
6
6 import 'package:path/path.dart'; 7 import 'package:path/path.dart';
8
7 import 'main.dart' as performance; 9 import 'main.dart' as performance;
8 10
9 // Local driver for performance measurement 11 // Local driver for performance measurement
10 12
11 main(List<String> args) { 13 main(List<String> args) {
12 /* 14 /*
13 * Parse arguments 15 * Parse arguments
14 */ 16 */
15 if (args.length < 3) printHelp('Expected 3 arguments'); 17 if (args.length < 3) printHelp('Expected 3 arguments');
16 var gitDir = new Directory(args[0]); 18 var gitDir = new Directory(args[0]);
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 } 79 }
78 print('''Required arguments: <gitDir> <branch> <inputFile> 80 print('''Required arguments: <gitDir> <branch> <inputFile>
79 gitDir = a path to the git repository containing the initial target source 81 gitDir = a path to the git repository containing the initial target source
80 branch = the branch containing the initial target source 82 branch = the branch containing the initial target source
81 inputFile = the instrumentation or log file 83 inputFile = the instrumentation or log file
82 84
83 Optional arguments:'''); 85 Optional arguments:''');
84 print(performance.argParser.usage); 86 print(performance.argParser.usage);
85 exit(1); 87 exit(1);
86 } 88 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698