Setup prefetcher during startup
Reviewed By: passy Differential Revision: D51198236 fbshipit-source-id: 00781afda72258f2aee64a9d0481117979c49031
This commit is contained in:
committed by
Facebook GitHub Bot
parent
4b3f572205
commit
04b4bf7bdf
@@ -25,6 +25,7 @@ import {
|
|||||||
compareServerVersion,
|
compareServerVersion,
|
||||||
getEnvironmentInfo,
|
getEnvironmentInfo,
|
||||||
openUI,
|
openUI,
|
||||||
|
setupPrefetcher,
|
||||||
shutdownRunningInstance,
|
shutdownRunningInstance,
|
||||||
startFlipperServer,
|
startFlipperServer,
|
||||||
startServer,
|
startServer,
|
||||||
@@ -297,6 +298,8 @@ async function start() {
|
|||||||
)} (${serverStartedMS} ms)`,
|
)} (${serverStartedMS} ms)`,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
setupPrefetcher(flipperServer.config.settings);
|
||||||
|
|
||||||
const startupMS = t10 - t0;
|
const startupMS = t10 - t0;
|
||||||
|
|
||||||
tracker.track('server-bootstrap-performance', {
|
tracker.track('server-bootstrap-performance', {
|
||||||
|
|||||||
Reference in New Issue
Block a user