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

Unified Diff: pkg/analyzer_cli/tool/perf.dart

Issue 2946313003: Restore partial analysis of analysis options files (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_cli/tool/perf.dart
diff --git a/pkg/analyzer_cli/tool/perf.dart b/pkg/analyzer_cli/tool/perf.dart
index b5e3729722b1210f52c52944e7df260d8c2fc915..f8a7803803608fd592fc5929d07dab67d33b9934 100644
--- a/pkg/analyzer_cli/tool/perf.dart
+++ b/pkg/analyzer_cli/tool/perf.dart
@@ -99,7 +99,7 @@ void parseFiles(Set<Source> files) {
parseTimer.stop();
// Report size and scanning time again. See discussion above.
- if (old != scanTotalChars) print('input size changed? ${old} chars');
+ if (old != scanTotalChars) print('input size changed? $old chars');
report("scan", scanTimer.elapsedMicroseconds);
var pTime = parseTimer.elapsedMicroseconds - scanTimer.elapsedMicroseconds;
@@ -136,7 +136,7 @@ void scanFiles(Set<Source> files) {
}
// Report size and scanning time again. See discussion above.
- if (old != scanTotalChars) print('input size changed? ${old} chars');
+ if (old != scanTotalChars) print('input size changed? $old chars');
report("scan", scanTimer.elapsedMicroseconds);
}
@@ -167,7 +167,7 @@ Set<Source> scanReachableFiles(Uri entryUri) {
loadTimer.stop();
- print('input size: ${scanTotalChars} chars');
+ print('input size: $scanTotalChars chars');
var loadTime = loadTimer.elapsedMicroseconds - scanTimer.elapsedMicroseconds;
report("load", loadTime);
report("scan", scanTimer.elapsedMicroseconds);

Powered by Google App Engine
This is Rietveld 408576698