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

Side by Side Diff: pkg/analysis_server/benchmark/perf/benchmark_flutter.dart

Issue 2879273002: Make server use the common protocol classes (Closed)
Patch Set: Created 3 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
OLDNEW
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/protocol/protocol_generated.dart'; 9 import 'package:analysis_server/protocol/protocol_generated.dart';
10 import 'package:analyzer_plugin/protocol/protocol_common.dart';
10 11
11 import 'benchmark_scenario.dart'; 12 import 'benchmark_scenario.dart';
12 import 'memory_tests.dart'; 13 import 'memory_tests.dart';
13 14
14 main(List<String> args) async { 15 main(List<String> args) async {
15 int length = args.length; 16 int length = args.length;
16 if (length < 1) { 17 if (length < 1) {
17 print('Usage: dart benchmark_local.dart path_to_flutter_checkout' 18 print('Usage: dart benchmark_local.dart path_to_flutter_checkout'
18 ' [benchmark_id]'); 19 ' [benchmark_id]');
19 return; 20 return;
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 209
209 PathHolder({String flutterPath}) { 210 PathHolder({String flutterPath}) {
210 exampleHelloWorld = '$flutterPath/examples/hello_world'; 211 exampleHelloWorld = '$flutterPath/examples/hello_world';
211 exampleGallery = '$flutterPath/examples/flutter_gallery'; 212 exampleGallery = '$flutterPath/examples/flutter_gallery';
212 exampleStocks = '$flutterPath/examples/stocks'; 213 exampleStocks = '$flutterPath/examples/stocks';
213 packageFlutter = '$flutterPath/packages/flutter'; 214 packageFlutter = '$flutterPath/packages/flutter';
214 packageMarkdown = '$flutterPath/packages/flutter_markdown'; 215 packageMarkdown = '$flutterPath/packages/flutter_markdown';
215 packageSprites = '$flutterPath/packages/flutter_sprites'; 216 packageSprites = '$flutterPath/packages/flutter_sprites';
216 } 217 }
217 } 218 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698