Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Unity] Question: What's the difference between PuerTS_V8_10_2.1.0.tgz and PuerTS_V8_2.1.0.tgz in the latest release? #1843

Open
DoctorGester opened this issue Sep 22, 2024 · 3 comments

Comments

@DoctorGester
Copy link

detail | 详细描述

In the latest Unity release, PuerTS_V8_10_2.1.0.tgz and PuerTS_V8_2.1.0.tgz have a large difference in size, especially when unpacked, but I haven't found the actual difference to be specified anywhere. Previous releases only have one V8 archive.

@chexiongsheng
Copy link
Collaborator

They using difference version of v8:
PuerTS_V8_2.1.0.tgz is 9.4.146.24 and PuerTS_V8_10_2.1.0.tgz is 10.6.194.

@DoctorGester
Copy link
Author

@chexiongsheng is that the only reason why is the package almost 2x bigger? 720mb vs 416mb

@chexiongsheng
Copy link
Collaborator

chexiongsheng commented Sep 24, 2024

The size difference is mainly caused by the strip. You can also use the strip of the corresponding architecture to optimize the size.

for example, android arm64 calling path_to_android_ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/aarch64-linux-android/bin/strip -g -S -d --strip-debug --verbose libpuerts.so

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants