3-graalvm
Part of bachelor thesis @ TH Bingen
This pipeline compiles the source code with the GraalVM AOT compiler and puts the binary into a distroless image.
The exemplary source code is a variant of kotlin-benchmarks adapted to run with kotlinx-benchmark.
Requirements
- Linux system (Windows users can use WSL)
- Docker
- GraalVM 11 on PATH with native-image installed
- Additional packages (gcc, glibc, zlib)
Usage
Building image
./gradlew assembleBenchmarks
./gradlew createImage # will create tagged image 'pipeline-3-graalvm'
Running benchmarks
./gradlew benchmark