react-native-v8 icon indicating copy to clipboard operation
react-native-v8 copied to clipboard

App Size Is Still Large Even After Using No Intl Version

Open jagadeesh-k-2802 opened this issue 4 years ago • 4 comments

Hello @Kudo

My app was about 12 MB (ARM V7) when using the intl version but after switching to no intl version it is now 10 MB (ARM V7) but the readme says it reduces 7 MB Per ABI. The same app was around 6 MB when using Hermes engine.

Side note: I am having pro guard enabled too

Please Help Me

  • Computer: Windows 10 Pro
  • React Native Version: 0.61.5
  • React Native V8 Version: 0.61.5-patch.3

jagadeesh-k-2802 avatar May 26 '20 02:05 jagadeesh-k-2802

I think my issue like you, it's actually faster than hermes. But app size issue has not been resolved.

hoanglam10499 avatar Jun 02 '20 13:06 hoanglam10499

I am sorry that I may not able to improve the binary size in the meantime. V8 size is large compared to other VMs. There were some discussions before: https://twitter.com/kudochien/status/1265838038745112576

Kudo avatar Jun 11 '20 01:06 Kudo

I am sorry that I may not able to improve the binary size in the meantime. V8 size is large compared to other VMs. There were some discussions before: https://twitter.com/kudochien/status/1265838038745112576

So seems like we have to trade off size for performance anyway it doesn't matter for some large apps 3 MB is not that much bad.

jagadeesh-k-2802 avatar Jun 11 '20 13:06 jagadeesh-k-2802

V8 lite mode stills has room to tune about the binary size. I am looking forward to seeing if V8 team could do it.

Kudo avatar Jun 15 '20 01:06 Kudo