Skip to content

Commit

Permalink
Add end point for initializecore
Browse files Browse the repository at this point in the history
Summary: Instead of having a single point at the top of InitializeCore, let's just create a subspan for it. Initially I just wanted to use this point to track JS start time, but it'll be useful to see how long initializeCore takes, too.

Reviewed By: alexeylang

Differential Revision: D10521595

fbshipit-source-id: 3025c34ffab39b79efc966f0c0eb6f502c91c550
  • Loading branch information
Emily Janzer authored and facebook-github-bot committed Oct 25, 2018
1 parent d743989 commit 9687090
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Libraries/Core/InitializeCore.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,5 +222,6 @@ if (__DEV__) {

if (startTime != null) {
const PerformanceLogger = require('PerformanceLogger');
PerformanceLogger.markPoint('InitializeCoreStartTime', startTime);
PerformanceLogger.markPoint('initializeCore_start', startTime);
PerformanceLogger.markPoint('initializeCore_end');
}

0 comments on commit 9687090

Please sign in to comment.