The post highlights the high performance of the Java compiler, capable of compiling over 100,000 lines of code per second on a single core. However, it points out the significant overhead added by various build tools such as Maven, Gradle, and Mill. Benchmarks show Mill performing better than Maven and Gradle, but all build tools still introduce substantial delays compared to direct compilation with javac. Optimizing for a warm, long-lived JVM can dramatically improve compilation speed, emphasizing the need for more efficient build tools.

11m read timeFrom mill-build.org
Post cover image

Sort: