Commit 0838ef7d authored by Wyatt Arent's avatar Wyatt Arent Committed by Adam Barth

logger use milliseconds instead of seconds for reporting elapsed time (#6487)

* logger use milliseconds instead of seconds for reporting elapsed time (#5400)

* Update authors (#5400)

* Remove unnecessary comment
parent 0ac9fc63
...@@ -6,3 +6,4 @@ ...@@ -6,3 +6,4 @@
Google Inc. Google Inc.
Jim Simon <jim.j.simon@gmail.com> Jim Simon <jim.j.simon@gmail.com>
Lex Berezhny <lex@damoti.com> Lex Berezhny <lex@damoti.com>
Wyatt Arent <hello@wyatt.ninja>
...@@ -250,8 +250,7 @@ class _AnsiStatus extends Status { ...@@ -250,8 +250,7 @@ class _AnsiStatus extends Status {
live = false; live = false;
if (showElapsedTime) { if (showElapsedTime) {
double seconds = stopwatch.elapsedMilliseconds / 1000.0; print('\b\b\b\b${stopwatch.elapsedMilliseconds.toString()}ms');
print('\b\b\b\b${seconds.toStringAsFixed(1)}s');
} else { } else {
print('\b '); print('\b ');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment