Had some new findings on this:
- Increasing JVM settings has no effect on build time
- The "link" task on KGP is the main issue. This task delegates the linking process to LLVM.
- xcodebuild -create-xcframework seems to have a virtual impact.
- Could not find any LLVM hack to boost CPU usage
- Increasing JVM settings has no effect on build time
- The "link" task on KGP is the main issue. This task delegates the linking process to LLVM.
- xcodebuild -create-xcframework seems to have a virtual impact.
- Could not find any LLVM hack to boost CPU usage
Reposted from
Rodrigo Sicarelli
Found something interesting 🔎
XCFramework assembly on KMP uses ~9% of my CPU 👀 maybe that's why it takes so long to finish (40 minutes on my M3 pro)
Does anyone know how to speed up this execution? Maybe a hidden flag? 🤔
XCFramework assembly on KMP uses ~9% of my CPU 👀 maybe that's why it takes so long to finish (40 minutes on my M3 pro)
Does anyone know how to speed up this execution? Maybe a hidden flag? 🤔
Comments
Reading the release notes, there seems to have been serious work on linking performance 🤞