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

Unified Diff: bin/deferred_library_size.dart

Issue 2380273003: Include more information when deserializing ProgramInfo (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | bin/function_size_analysis.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/deferred_library_size.dart
diff --git a/bin/deferred_library_size.dart b/bin/deferred_library_size.dart
index 349459ce6141e01724e22bc72508cd75a99f2bb8..129e95f986745f1f12cb24baa56e39f4be800588 100644
--- a/bin/deferred_library_size.dart
+++ b/bin/deferred_library_size.dart
@@ -35,7 +35,7 @@ void printSizes(Map<String, int> sizeByImport, int programSize) {
});
// Sort by size, largest first.
importSizes.sort((a, b) => b.size - a.size);
- var longest = importSizes.fold('Percent of code deferred'.length,
+ int longest = importSizes.fold('Percent of code deferred'.length,
(longest, importSize) => max(longest, importSize.import.length));
_printRow(label, data, {int width: 15}) {
« no previous file with comments | « no previous file | bin/function_size_analysis.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698