OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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.performance.local; | 5 library server.performance.local; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 | 8 |
9 import 'package:analysis_server/plugin/protocol/protocol.dart'; | 9 import 'package:analysis_server/protocol/protocol_generated.dart'; |
10 | 10 |
11 import 'benchmark_scenario.dart'; | 11 import 'benchmark_scenario.dart'; |
12 import 'memory_tests.dart'; | 12 import 'memory_tests.dart'; |
13 | 13 |
14 main(List<String> args) async { | 14 main(List<String> args) async { |
15 int length = args.length; | 15 int length = args.length; |
16 if (length < 1) { | 16 if (length < 1) { |
17 print('Usage: dart benchmark_local.dart path_to_flutter_checkout' | 17 print('Usage: dart benchmark_local.dart path_to_flutter_checkout' |
18 ' [benchmark_id]'); | 18 ' [benchmark_id]'); |
19 return; | 19 return; |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 | 208 |
209 PathHolder({String flutterPath}) { | 209 PathHolder({String flutterPath}) { |
210 exampleHelloWorld = '$flutterPath/examples/hello_world'; | 210 exampleHelloWorld = '$flutterPath/examples/hello_world'; |
211 exampleGallery = '$flutterPath/examples/flutter_gallery'; | 211 exampleGallery = '$flutterPath/examples/flutter_gallery'; |
212 exampleStocks = '$flutterPath/examples/stocks'; | 212 exampleStocks = '$flutterPath/examples/stocks'; |
213 packageFlutter = '$flutterPath/packages/flutter'; | 213 packageFlutter = '$flutterPath/packages/flutter'; |
214 packageMarkdown = '$flutterPath/packages/flutter_markdown'; | 214 packageMarkdown = '$flutterPath/packages/flutter_markdown'; |
215 packageSprites = '$flutterPath/packages/flutter_sprites'; | 215 packageSprites = '$flutterPath/packages/flutter_sprites'; |
216 } | 216 } |
217 } | 217 } |
OLD | NEW |