cafonsomota
07/10/2025, 4:55 PMsmallBinary
feature released on 2.2.20-Beta1 but I didn’t noticed any change on the frameworks size; I’ve tested both added on gradle.properties
and on build.gradle.kts
. Am I missing something? 🤔sergey.bogolepov
07/11/2025, 5:55 AMcafonsomota
07/11/2025, 10:37 PMsergey.bogolepov
07/17/2025, 4:09 PM-Xverbose-phases=ModuleBitcodeOptimization
to freeCompilerArgs
and share the stdout?
It should be something like
Running New PM Module LLVM optimizations with the following parameters:
target_triple: x86_64-unknown-linux-gnu
cpu_model: x86-64
cpu_features: +cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87
optimization_level: 3
size_level: 2
inline_threshold: 100
passes: default<Oz>
cafonsomota
07/17/2025, 4:24 PMoptimization_level
parameter, no? I’ve got it set both on gradle.properties and on the release frameworks.
Running New PM Module LLVM optimizations with the following parameters:
> Task :shield:linkDebugFrameworkIosSimulatorArm64
target_triple: arm64-apple-ios14.0.0-simulator
cpu_model: apple-m1
cpu_features: +aes,+altnzcv,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8a,+zcm,+zcz
optimization_level: 0
size_level: 0
inline_threshold: default
passes: default<O0>
This is from the debug build. I’m generating now for release.cafonsomota
07/17/2025, 4:28 PMoptimization_level
is 2:
> Task :shield:linkReleaseFrameworkIosX64
Running New PM Module LLVM optimizations with the following parameters:
target_triple: x86_64-apple-ios12.0.0-simulator
cpu_model: core2
cpu_features: +cmov,+cx16,+cx8,+fxsr,+mmx,+sahf,+sse,+sse2,+sse3,+ssse3,+x87
optimization_level: 3
size_level: 2
inline_threshold: 100
passes: default<Oz>
sergey.bogolepov
07/17/2025, 4:35 PM