Increase in App launch time with repack #738
Unanswered
ayushnathani
asked this question in
Q&A
Replies: 2 comments 4 replies
-
@ayushnathani can you share the metrics? Are you loading any of this remote chunks at startup? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Startup JS time in ms with metro - 736.492, 721.989, 724.472, 735.307, 675.848, 907.207 I am using react navigation and creating a nested stack and then loading that stack lazily in my parent stack. But it is loaded only when I try to access that nested stack not on app launch. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am seeing increase in app launch time specifically STARTUP_JS which is time measured from
onCreate
method inMainApplication.kt
toApp.tsx
. I understand this is very project specific but still checking if someone can explain the reason behind this.I am creating remote chunks of sufficiently big size and not using
ChunksToHermesBytecode
. The main bundle size is reduced so the app launch should technically improve.Is this because I am transpiling all my nodeModules with babel-loader and that is causing performance issues maybe??
Webpack Config
Beta Was this translation helpful? Give feedback.
All reactions