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

Unified Diff: pkg/analysis_server/benchmark/perf/benchmarks_impl.dart

Issue 2998813002: Tweaks to the analysis server benchmarks. (Closed)
Patch Set: Created 3 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analysis_server/benchmark/benchmarks.dart ('k') | pkg/analysis_server/benchmark/readme.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « pkg/analysis_server/benchmark/benchmarks.dart ('k') | pkg/analysis_server/benchmark/readme.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698