You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Nikita Lipsky ac1d6e7340
Add iOS target to multiplatform benchmarks (#5176)
2 days ago
..
benchmarks Add iOS target to multiplatform benchmarks (#5176) 2 days ago
gradle/wrapper Refactor Compose Multiplatform benchmarks to remove code duplication. (#5170) 2 weeks ago
iosApp Add iOS target to multiplatform benchmarks (#5176) 2 days ago
.gitignore Refactor Compose Multiplatform benchmarks to remove code duplication. (#5170) 2 weeks ago
README.md Add iOS target to multiplatform benchmarks (#5176) 2 days ago
build.gradle.kts Add iOS target to multiplatform benchmarks (#5176) 2 days ago
gradle.properties Add iOS target to multiplatform benchmarks (#5176) 2 days ago
gradlew Refactor Compose Multiplatform benchmarks to remove code duplication. (#5170) 2 weeks ago
gradlew.bat Refactor Compose Multiplatform benchmarks to remove code duplication. (#5170) 2 weeks ago
settings.gradle.kts Add iOS target to multiplatform benchmarks (#5176) 2 days ago

README.md

Compose Multiplatform benchmarks

Run Desktop

  • ./gradlew :benchmarks:run

Run native on iOS

Open the project in Fleet or Android Studio with KMM plugin installed and choose iosApp run configuration. Make sure that you build the app in Release configuration. Alternatively you may open iosApp/iosApp project in XCode and run the app from there.

Run native on MacOS

  • ./gradlew :benchmarks:runReleaseExecutableMacosArm64 (Works on Arm64 processors)
  • ./gradlew :benchmarks:runReleaseExecutableMacosX64 (Works on Intel processors)

Run in web browser:

Please run your browser with manual GC enabled before running the benchmark, like for Google Chrome:

open -a Google\ Chrome --args --js-flags="--expose-gc"

  • ./gradlew :benchmarks:wasmJsBrowserProductionRun (you can see the results printed on the page itself)