Benchmarking Gradle

2022/03/15

Tags: JVM benchmarking linux

See article here: https://gist.github.com/melix/c09f6d8d27b0005302cc3317c9c9be05

The benchmark requires JDK 11

So first install that, pacman -S jdk11-openjdk on arch Set that to be the default JDK archlinux-java set java-11-openjdk

git clone git@github.com:gradle/gradle-profiler.git
./gradlew installDist

git clone git@github.com:gradle/gradle.git
./gradlew largeMonolithicJavaProject

~/gradle-profiler/build/install/gradle-profiler/bin/gradle-profiler --gradle-version 7.2 \
--benchmark --scenario-file performance.scenarios --project-dir .