From 8416691719910ecf59cb8a73acc661eac83d0e65 Mon Sep 17 00:00:00 2001 From: Jing Chen Date: Wed, 29 Jul 2015 10:37:32 -0700 Subject: [PATCH] [events] Move start point of EventsDashboard to work with early boot --- Libraries/Utilities/PerformanceLogger.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Libraries/Utilities/PerformanceLogger.js b/Libraries/Utilities/PerformanceLogger.js index c7f0e316c..e75611974 100644 --- a/Libraries/Utilities/PerformanceLogger.js +++ b/Libraries/Utilities/PerformanceLogger.js @@ -84,7 +84,9 @@ var PerformanceLogger = { logTimespans() { for (var key in timespans) { - console.log(key + ': ' + timespans[key].totalTime + 'ms'); + if (timespans[key].totalTime) { + console.log(key + ': ' + timespans[key].totalTime + 'ms'); + } } },