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

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

Issue 2844273003: Unify the server and plugin versions of the generators (Closed)
Patch Set: add missed files 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) 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.performance; 5 library server.performance;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:io'; 8 import 'dart:io';
9 9
10 import 'package:analysis_server/plugin/protocol/protocol.dart'; 10 import 'package:analysis_server/protocol/protocol_generated.dart';
11 import 'package:test/test.dart'; 11 import 'package:test/test.dart';
12 12
13 import '../../test/integration/integration_tests.dart'; 13 import '../../test/integration/support/integration_tests.dart';
14 14
15 /** 15 /**
16 * Base class for analysis server performance tests. 16 * Base class for analysis server performance tests.
17 */ 17 */
18 abstract class AbstractAnalysisServerPerformanceTest 18 abstract class AbstractAnalysisServerPerformanceTest
19 extends AbstractAnalysisServerIntegrationTest { 19 extends AbstractAnalysisServerIntegrationTest {
20 /** 20 /**
21 * Stopwatch for timing results; 21 * Stopwatch for timing results;
22 */ 22 */
23 Stopwatch stopwatch = new Stopwatch(); 23 Stopwatch stopwatch = new Stopwatch();
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 } 69 }
70 } 70 }
71 71
72 class AbstractTimingTest extends AbstractAnalysisServerPerformanceTest { 72 class AbstractTimingTest extends AbstractAnalysisServerPerformanceTest {
73 Future init(String source) async { 73 Future init(String source) async {
74 await super.setUp(); 74 await super.setUp();
75 sourceDirectory = new Directory(source); 75 sourceDirectory = new Directory(source);
76 return subscribeToStatusNotifications(); 76 return subscribeToStatusNotifications();
77 } 77 }
78 } 78 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/benchmark/perf/memory_tests.dart ('k') | pkg/analysis_server/lib/plugin/analysis/analysis_domain.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698