This is kotlin multiplatform benchmarks to compare Kotlin Wasm vs Kotlin JS performance.
These benchmarks are based on JetBrains micro-benchmarks benchmarks and macro-benchmarks based on are-we-fast-yet benchmarks collection. To perform benchmarks it uses kotlinx-benchmarks library.
Specify Kotlin version in gradle.properties
file or use additional gradle argument -Pkotlin_version=1.8.0
.
./gradlew benchmark
./gradlew wasmBenchmark
To run All Kotlin/Wasm benchmarks with binaries optimized by Binaryen in V8:
./gradlew wasmOptBenchmark
./gradlew jsBenchmark
./gradlew tasks
See LICENSE.md file for details.