Add marker start and end to App to measure the startup time for Flipper (#1398)
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/1398 Pull Request resolved: https://github.com/facebook/flipper/pull/1397 Reviewed By: nubbel Differential Revision: D22549700 fbshipit-source-id: 7553ba075e45f1a515922012d7db4fdefefcaa24
This commit is contained in:
committed by
Facebook GitHub Bot
parent
33cd7d29df
commit
7d06571cfa
@@ -34,6 +34,7 @@ import {cache} from 'emotion';
|
||||
import {CacheProvider} from '@emotion/core';
|
||||
import {enableMapSet} from 'immer';
|
||||
import os from 'os';
|
||||
import QuickPerformanceLogger, {FLIPPER_QPL_EVENTS} from './fb-stubs/QPL';
|
||||
|
||||
if (process.env.NODE_ENV === 'development' && os.platform() === 'darwin') {
|
||||
// By default Node.JS has its internal certificate storage and doesn't use
|
||||
@@ -46,6 +47,8 @@ if (process.env.NODE_ENV === 'development' && os.platform() === 'darwin') {
|
||||
|
||||
const logger = initLogger(store);
|
||||
|
||||
QuickPerformanceLogger.markerStart(FLIPPER_QPL_EVENTS.STARTUP);
|
||||
|
||||
enableMapSet();
|
||||
|
||||
GK.init();
|
||||
|
||||
Reference in New Issue
Block a user