Microbenchmarks for experimental WasmGC-based Kotlin/Wasm compiler running in V8 against Kotlin/JS.
Adapted from Kotlin/Native project
Run
-
Build Kotlin from sources
- Clone https://github.com/JetBrains/kotlin
- Set up JDKs and variables
- Run
./gradlew install --parallel
to publish it to~/.m2
-
Get d8 shell. You can use JSVU or build it from sources
-
Run
./gradlew bench -Pv8=/path/to/d8