mirror of
https://github.com/status-im/react-native.git
synced 2025-02-24 07:08:27 +00:00
Summary: Adding some more systrace markers to track load application and the initial bits of MarketplaceHomeApp. There are a couple big segments worth pointing out with timing from a local `__DEV__: false` run: * JSBundleRequireTime_end -> BundlePreInitializeCore_start: 360ms * MobileConfigModuleInit: 210ms * renderApplication_React_render_start -> MarketplaceHomeAppConstructorSuper_start: 180ms * MarketplaceHomeAppGetQueryParamsForCachedTopPicks: 100ms I'm not sure what we can do about any of these except for MarketplaceHomeAppGetQueryParamsForCachedTopPicks where we could break the query params out into a separate file so we don't have to load this 11-thousand-line behemoth just so we can get this snippet: diffusion/FBS/browse/master/xplat/js/RKJSModules/Apps/Wilde/Marketplace/apps/__generated__/MarketplaceHomeAppQuery.graphql.js$11831-11837 But maybe we have to load it anyway and the query just needs to be optimized (or maybe Relay can optimize the format here). Reviewed By: yungsters Differential Revision: D13969695 fbshipit-source-id: 4f39efa6cb591b814687bfe51b02ad92048f1c21