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

Unified Diff: pkg/analyzer/lib/src/task/driver.dart

Issue 2917183003: update the analyzer and analysis server perf tags (Closed)
Patch Set: Created 3 years, 6 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
Index: pkg/analyzer/lib/src/task/driver.dart
diff --git a/pkg/analyzer/lib/src/task/driver.dart b/pkg/analyzer/lib/src/task/driver.dart
index bf6da4e2a2f08dddf919538ce3a88c69c7091bbe..3be627954a7b9b08c731882fb89950324832273a 100644
--- a/pkg/analyzer/lib/src/task/driver.dart
+++ b/pkg/analyzer/lib/src/task/driver.dart
@@ -16,11 +16,16 @@ import 'package:analyzer/src/task/inputs.dart';
import 'package:analyzer/src/task/manager.dart';
import 'package:analyzer/task/model.dart';
+final PerformanceTag driverTag =
+ PerformanceStatistics.analyzer.createChild('driver');
scheglov 2017/06/04 00:30:44 Hm... We use this tag for different "drivers".
devoncarew 2017/06/04 01:45:53 Updated this one to be 'taskDriver'.
+
+final PerformanceTag driverCacheTag = driverTag.createChild('cache');
scheglov 2017/06/04 00:30:44 Unless I miss something, we use this for the diffe
devoncarew 2017/06/04 01:45:53 Moved these to 'analysis/driver.dart'. There are
+
final PerformanceTag analysisDriverProcessOutputs =
- new PerformanceTag('AnalysisDriver.processOutputs');
+ driverTag.createChild('processOutputs');
final PerformanceTag workOrderMoveNextPerformanceTag =
- new PerformanceTag('WorkOrder.moveNext');
+ driverTag.createChild('workOrderMoveNext');
/**
* An object that is used to cause analysis to be performed until all of the

Powered by Google App Engine
This is Rietveld 408576698