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 @@
Google Inc.
Jim Simon <jim.j.simon@gmail.com>
Lex Berezhny <lex@damoti.com>
Wyatt Arent <hello@wyatt.ninja>
......@@ -250,8 +250,7 @@ class _AnsiStatus extends Status {
live = false;
if (showElapsedTime) {
double seconds = stopwatch.elapsedMilliseconds / 1000.0;
print('\b\b\b\b${seconds.toStringAsFixed(1)}s');
print('\b\b\b\b${stopwatch.elapsedMilliseconds.toString()}ms');
} else {
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