3 ms·
It has nothing to do with "running on the JVM". The JVM is about as fast as you'll get any VM offering GC and running an IR like Java bytecode. It's only slow
by redthrowaway 13y ago
It has nothing to do with "running on the JVM". The JVM is about as fast as you'll get any VM offering GC and running an IR like Java bytecode. It's only slow compared to compiled, native code (and even then nowhere near as relatively slow as it used to be), which no competing tech stack would be doing. It's much faster than Ruby, Python, etc.
That said, my experiences with JBoss haven't left me enamoured of it, and it certainly wouldn't be my first choice.
- curveship 13y agoIn techempower's web framework benchmarks[1], Java-base frameworks top most categories. One C++-based framework, CPoll, gets a few percentage points more in a few tests, but Java servlets are the highest performing across all tests. (As always with micro-benchmarks, take all this with a grain of salt, but at least it's some data.) 1 - http://www.techempower.com/benchmarks/#section=data-r6 http://www.techempower.com/benchmarks/#section=data-r6