OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 test.timing.simple; | |
6 | |
7 import 'dart:async'; | 5 import 'dart:async'; |
8 import 'dart:io'; | 6 import 'dart:io'; |
9 | 7 |
10 import 'package:analysis_server/plugin/protocol/protocol.dart'; | 8 import 'package:analysis_server/protocol/protocol_generated.dart'; |
11 import 'package:path/path.dart'; | 9 import 'package:path/path.dart'; |
12 | 10 |
13 import '../timing_framework.dart'; | 11 import '../timing_framework.dart'; |
14 | 12 |
15 /** | 13 /** |
16 * Perform the timing test, printing the minimum, average and maximum times, as | 14 * Perform the timing test, printing the minimum, average and maximum times, as |
17 * well as the standard deviation to the output. | 15 * well as the standard deviation to the output. |
18 */ | 16 */ |
19 void main(List<String> args) { | 17 void main(List<String> args) { |
20 SimpleTest test = new SimpleTest(); | 18 SimpleTest test = new SimpleTest(); |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 {mainFilePath: new AddContentOverlay(originalContent)}); | 102 {mainFilePath: new AddContentOverlay(originalContent)}); |
105 return new Future.value(); | 103 return new Future.value(); |
106 } | 104 } |
107 | 105 |
108 @override | 106 @override |
109 Future tearDown() { | 107 Future tearDown() { |
110 sendAnalysisSetAnalysisRoots([], []); | 108 sendAnalysisSetAnalysisRoots([], []); |
111 return new Future.value(); | 109 return new Future.value(); |
112 } | 110 } |
113 } | 111 } |
OLD | NEW |