3 ms·
> whereas the equivalent Java program never takes less than 120 ms Then you must be using an old version of Java.
by pron 7y ago
> whereas the equivalent Java program never takes less than 120 ms
Then you must be using an old version of Java.
- Groxx 7y agoGiven that hardware varies, and the article was showing 80-90ms floors: 120ms floor seems entirely reasonable to me.
- pron 7y agoThe article wasn't using a current Java, either. Current numbers are under 40ms for Hello, World: https://cl4es.github.io/2019/11/20/OpenJDK-Startup-Update.html https://cl4es.github.io/2019/11/20/OpenJDK-Startup-Update.ht...
- ptx 7y agoThat's certainly good news and the renewed focus on start-up performance is very welcome. I wonder what the numbers look like for small Kotlin programs. (Although I see now that the comparison disabled CDS on Java 8, so the actual improvement is perhaps not as large as it seemed.)