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

Unified Diff: pkg/analyzer_cli/lib/src/perf_report.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/perf_report.dart
diff --git a/pkg/analyzer_cli/lib/src/perf_report.dart b/pkg/analyzer_cli/lib/src/perf_report.dart
index 452b2ff300d52693dacb904a6a302740b8aca2b9..60acdf1cc3e738cedeb53e56cfcaa80be071437e 100644
--- a/pkg/analyzer_cli/lib/src/perf_report.dart
+++ b/pkg/analyzer_cli/lib/src/perf_report.dart
@@ -66,7 +66,7 @@ String makePerfReport(int startTime, int endTime, CommandLineOptions options,
// Convert performance tags to JSON representation.
var perfTagsJson = <String, dynamic>{};
for (PerformanceTag tag in PerformanceTag.all) {
- if (tag != PerformanceTag.UNKNOWN) {
+ if (tag != PerformanceTag.unknown) {
int tagTime = tag.elapsedMs;
perfTagsJson[tag.label] = tagTime;
otherTime -= tagTime;

Powered by Google App Engine
This is Rietveld 408576698