Index: pkg/analysis_server/benchmark/perf/benchmarks_impl.dart |
diff --git a/pkg/analysis_server/benchmark/perf/benchmarks_impl.dart b/pkg/analysis_server/benchmark/perf/benchmarks_impl.dart |
index 8b2c0695abc9836a29f9b113c34afd4010bfb921..6e92d5f44d320107ac815deca5b621f8d030ffd3 100644 |
--- a/pkg/analysis_server/benchmark/perf/benchmarks_impl.dart |
+++ b/pkg/analysis_server/benchmark/perf/benchmarks_impl.dart |
@@ -18,16 +18,18 @@ import 'memory_tests.dart'; |
class ColdAnalysisBenchmark extends Benchmark { |
ColdAnalysisBenchmark() |
: super( |
- 'analysis-server-cold', |
- 'Analysis server benchmarks of a large project on start-up, no ' |
- 'existing driver cache.', |
- ); |
+ 'analysis-server-cold', |
+ 'Analysis server benchmarks of a large project on start-up, no ' |
+ 'existing driver cache.', |
+ kind: 'group'); |
int get maxIterations => 3; |
@override |
Future<BenchMarkResult> run({bool quick: false}) async { |
- deleteServerCache(); |
+ if (!quick) { |
+ deleteServerCache(); |
+ } |
Stopwatch stopwatch = new Stopwatch()..start(); |
@@ -59,10 +61,10 @@ class ColdAnalysisBenchmark extends Benchmark { |
class AnalysisBenchmark extends Benchmark { |
AnalysisBenchmark() |
: super( |
- 'analysis-server', |
- 'Analysis server benchmarks of a large project, with an existing ' |
- 'driver cache.', |
- ); |
+ 'analysis-server', |
+ 'Analysis server benchmarks of a large project, with an existing ' |
+ 'driver cache.', |
+ kind: 'group'); |
@override |
Future<BenchMarkResult> run({bool quick: false}) async { |