4 ms·
Golang and Java have similar performance characteristics. I would not put it in the same class as C/CPP/Rust. https://benchmarksgame-team.pages.debian.net/benc
by spullara 7y ago
Golang and Java have similar performance characteristics. I would not put it in the same class as C/CPP/Rust.
https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/go.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
- recursive 7y agoPresumably less startup time and JIT.
- spullara 7y agoDepends on if the Java code is ahead of time compiled or not. The AOT compiler is included in the latest JDKs.
- igouy 7y agofwiw AoT with Substrate VM https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/java-substratevm.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
- igouy 7y agoThe run times are seconds not micro-seconds. How many seconds do you suppose startup time is for those tiny programs? How many seconds do you suppose JIT is for those tiny programs?
- penagwin 7y agoI didn't realize Go was so far behind C in terms of performance. Like REALLY behind, this surprises me a lot actually. Thanks for showing me that awesome benchmark page :D