Java 21+ Gradle project for comparing Duration.dividedBy(Duration) with primitive arithmetic using JMH 1.37.
./gradlew benchmarkThe benchmark runs both methods and includes JMH's GC profiler, which reports allocation data such as gc.alloc.rate.norm (B/op). The initial run downloads Gradle dependencies.