From 610ff331e4dc4ee569df164405d615531124d018 Mon Sep 17 00:00:00 2001 From: Bogdan Chadkin Date: Sun, 11 Sep 2016 11:18:57 +0300 Subject: [PATCH] Trim debug numbers --- src/utils/flushTime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/flushTime.js b/src/utils/flushTime.js index 683e28c..9f32e45 100644 --- a/src/utils/flushTime.js +++ b/src/utils/flushTime.js @@ -19,7 +19,7 @@ if ( typeof process === 'undefined' ) { timeEndHelper = function timeEndHelper ( previous ) { const hrtime = process.hrtime( previous ); - return hrtime[0] * 1e3 + hrtime[1] / 1e6; + return hrtime[0] * 1e3 + Math.floor( hrtime[1] / 1e6 ); }; }