Re:Why git is so fast (or why Java is not as fast as C)
by jbellis on Saturday January 02, 2010 @08:52AM
(#1027195)
"Sometimes no-warmup is important (see comments above about pacemakers), but more often a short warmup period is irrelevant to the overall application. If I'm using an IDE, I expect a largish loading period... but then I'm using the IDE all day. I don't use an IDE for 0.1 sec. If warmup is NOT important to the application, then allow the JVM a warmup period before comparing performance numbers. Many of the benchmarks in the language shootout at http://shootout.alioth.debian.org fall into this camp: too short to measure something interesting. Nearly all complete in 1 minute or less." http://blogs.azulsystems.com/cliff/2009/09/java-vs-c-perform...
Re:Why git is so fast (or why Java is not as fast as C)
by igouy on Saturday January 02, 2010 @09:25AM
(#1027225)
The replies I post never seem to appear on that blog so here they are:
http://www.reddit.com/r/programming/comments/9ic0x/java_vs_c...
And measurements:
Re:Why git is so fast (or why Java is not as fast as C)
by fauigerzigerk on Saturday January 02, 2010 @06:12PM
(#1027819)
What you link to are tests using the server VM but without warmup. You need to select "Java 6 steady-state" to get the warmup.
[Edit] Actually the state-state one averages over multiples restarts including JITed and non-JITed runs.
That's something I've heard ever since hotspot came out, but it's not a silver bullet to beating C/C++ etc. Here are some server tests. Some are comparable, some are definitely not: http://shootout.alioth.debian.org/u64q/java.php