3 ms·
Is there any equivalent project for java.
by awake 8y ago
Is there any equivalent project for java.
- kodablah 8y agoSurely JDK devs have a corpus of projects they test releases against, but JVM devs tend to not do the microbenchmarks this would need very often. So in general a corpus of centralized JMH benchmarks would probably have more value than referencing them from other projects. I'm sure an entity could offer this service if, e.g., projects with JMH benchmarks invoked in a common form from maven central or github or whatever were submitted to a central curator but not sure who would want to curate that.
- dralley 8y agoJava has a JIT, right? Seems more difficult to get consistent results.
- anothergoogler 8y agoYou can benchmark reliably by warming up the JVM and disabling garbage collection. https://www.ibm.com/developerworks/java/library/j-benchmark1/index.html https://www.ibm.com/developerworks/java/library/j-benchmark1... https://www.ibm.com/developerworks/library/j-benchmark2/index.html https://www.ibm.com/developerworks/library/j-benchmark2/inde... http://www.ellipticgroup.com/html/benchmarkingArticle.html http://www.ellipticgroup.com/html/benchmarkingArticle.html Java now ships with microbenchmarking helpers: http://openjdk.java.net/projects/code-tools/jmh/ http://openjdk.java.net/projects/code-tools/jmh/
- LukeShu 8y agohttps://tratt.net/laurie/blog/entries/why_arent_more_users_more_happy_with_our_vms_part_1.html https://tratt.net/laurie/blog/entries/why_arent_more_users_m...