News for hackers. Stuff that matters.
Re:Show HN: Gradle plugin for faster Java compiles by sgammon on Wednesday June 04, 2025 @03:20AM (#44178023)
Benchmarking a toy case (hello world) shows a 20x performance difference; this is true for both kotlinc and javac, when benchmarked through hyperfine. YMMV, but benchmarks of different build styles show native converging with JIT at about 10k classes[1]

So, if your project is 10k classes or less, you are looking at "up to" a 20x improvement in compile time vs. stock javac.

On the dependency fetching side, we haven't benchmarked yet. It definitely feels like 100x+ though on a wall-clock basis.

[1]: https://github.com/simonis/LeydenVsGraalNative

There are no comments on this comment yet.