4 ms·
Do you have benchmarks? How much of a difference does it make?
by rjwalters 1y ago
Do you have benchmarks? How much of a difference does it make?
- sgammon 1y agoBenchmarking 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 https://github.com/simonis/LeydenVsGraalNative