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

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

Issue 2917183003: update the analyzer and analysis server perf tags (Closed)
Patch Set: updates for review comments 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..c3e1e5b878bb70017e98cb1248102883f884e53e 100644
--- a/pkg/analyzer/lib/src/task/driver.dart
+++ b/pkg/analyzer/lib/src/task/driver.dart
@@ -16,11 +16,14 @@ import 'package:analyzer/src/task/inputs.dart';
import 'package:analyzer/src/task/manager.dart';
import 'package:analyzer/task/model.dart';
+final PerformanceTag _taskDriverTag =
+ PerformanceStatistics.analyzer.createChild('taskDriver');
+
final PerformanceTag analysisDriverProcessOutputs =
- new PerformanceTag('AnalysisDriver.processOutputs');
+ _taskDriverTag.createChild('processOutputs');
final PerformanceTag workOrderMoveNextPerformanceTag =
- new PerformanceTag('WorkOrder.moveNext');
+ _taskDriverTag.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