Index: pkg/compiler/lib/src/apiimpl.dart |
diff --git a/pkg/compiler/lib/src/apiimpl.dart b/pkg/compiler/lib/src/apiimpl.dart |
index 173c27ced268cb721094f73e69cc3e79cd591862..e802bd449fd4fb5b5066cc1d2abbe8d68e421d76 100644 |
--- a/pkg/compiler/lib/src/apiimpl.dart |
+++ b/pkg/compiler/lib/src/apiimpl.dart |
@@ -258,8 +258,7 @@ class CompilerImpl extends Compiler { |
Duration duration = task.duration; |
if (duration != Duration.ZERO) { |
cumulatedDuration += duration; |
- timings.writeln( |
- ' $running${task.name} took' |
+ timings.writeln(' $running${task.name} took' |
' ${duration.inMilliseconds}msec'); |
for (String subtask in task.subtasks) { |
int subtime = task.getSubtaskTime(subtask); |
@@ -271,10 +270,9 @@ class CompilerImpl extends Compiler { |
} |
Duration unaccountedDuration = |
totalDuration - cumulatedDuration - setupDuration - asyncDuration; |
- double percent = unaccountedDuration.inMilliseconds * 100 |
- / totalDuration.inMilliseconds; |
- timings.write( |
- ' Total compile-time ${totalDuration.inMilliseconds}msec;' |
+ double percent = |
+ unaccountedDuration.inMilliseconds * 100 / totalDuration.inMilliseconds; |
+ timings.write(' Total compile-time ${totalDuration.inMilliseconds}msec;' |
' setup ${setupDuration.inMilliseconds}msec;' |
' async ${asyncDuration.inMilliseconds}msec;' |
' unaccounted ${unaccountedDuration.inMilliseconds}msec' |