Fix logging JSAppRequireTime
Reviewed By: andreicoman11 Differential Revision: D2690760 fb-gh-sync-id: 41e88c48deec05539e7681862d794ed650b81bfa
This commit is contained in:
parent
37f81341a0
commit
b4beba5217
|
@ -65,6 +65,15 @@ var PerformanceLogger = {
|
|||
}
|
||||
return;
|
||||
}
|
||||
if (timespans[key].endTime) {
|
||||
if (__DEV__) {
|
||||
console.log(
|
||||
'PerformanceLogger: Attempting to end a timespan that has already ended ',
|
||||
key
|
||||
);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
timespans[key].endTime = performanceNow();
|
||||
timespans[key].totalTime =
|
||||
|
|
Loading…
Reference in New Issue