diff --git a/stress-http.js b/stress-http.js index 8a1d20343ec7c628ebda07757cb2031fa33bbd67..27c3f2f549a7c190cab34333670a5f95a969d197 100644 --- a/stress-http.js +++ b/stress-http.js @@ -249,7 +249,7 @@ class Client extends EventEmitter { time( ms ) { const _ms = Math.round( ms ); - return _ms < 1000 ? `${_ms} ms` : `${Math.round( _ms / 100 ) / 10 } s`; + return ( _ms < 1000 ? `${_ms} ms` : `${Math.round( _ms / 100 ) / 10 } s` ).padStart( 6 ); } }