Java is the most performant runtime outside of C/C++/Rust. It is a first choice for any project.
Java is the most performant runtime outside of C/C++/Rust. It is a first choice for any project.
So what's a good example so I can compare it to a non Java version?
The latency makes integration testing unnecessarily tedious. Don't even get me started on Maven -- dev tooling has to reimplement the build system rather than invoking it because the performance is so poor.
Add Go to that list. Or any popular compiled language for that matter.
JavaScript can be faster in some tasks. Even if JS is 2x slower in another task, it uses 3x less memory than Java.
Which costs more, double CPU time or triple memory requirement?
In addition I have a feeling that these benchmarks are comparing short lived processes. Java does take a bit longer than some other languages to start unless you use native. But that doesn't matter much when you are running long lived services.