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.

21 lines
846 B

# 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)