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

Unified Diff: pkg/analyzer_cli/lib/src/analyzer_impl.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_cli/lib/src/analyzer_impl.dart
diff --git a/pkg/analyzer_cli/lib/src/analyzer_impl.dart b/pkg/analyzer_cli/lib/src/analyzer_impl.dart
index d9ea1ab350e83dbaaf638bc49685363f89985981..d3734fd573328d523c350dd38690576cbf8bc987 100644
--- a/pkg/analyzer_cli/lib/src/analyzer_impl.dart
+++ b/pkg/analyzer_cli/lib/src/analyzer_impl.dart
@@ -227,7 +227,7 @@ class AnalyzerImpl {
int totalTime = currentTimeMillis - startTime;
int otherTime = totalTime;
for (PerformanceTag tag in PerformanceTag.all) {
- if (tag != PerformanceTag.UNKNOWN) {
+ if (tag != PerformanceTag.unknown) {
int tagTime = tag.elapsedMs;
outSink.writeln('${tag.label}-cold:$tagTime');
otherTime -= tagTime;

Powered by Google App Engine
This is Rietveld 408576698