BIRT 3.7
Written by: Michael Williams
Featured Refcardz: Top Refcardz:
  1. Scrum
  2. Apache Maven 2
  3. Essential MySQL
  4. Node.js
  5. Groovy
  1. jQuery Selectors
  2. Ajax
  3. Java
  4. Spring Config.
  5. Java Concurrency

Link Details

Apathy is the suck. Login and vote now.
Link 223961 thumbnail
User 414638 avatar

By taranfx
via taranfx.com
Published: Aug 29 2009 / 08:25

Java is one of the language which have overhauled it’s underneath technology totally. Even though, the basic concept of running inside JVM holds good, the way JVM handles Objects, Memory management has completely been revamped. A lot changed over 1.4 to 1.5. There were critical compile-time improvements, Runtime smartness and with Java 6 more performance optimizations; Java 7 – the modularity. Benchmarking JDK 7 Here are the Benchmark Tests - Test 1. Add 5 Million String values (each calculated with some complex Math arithmetic) Test 2. ArrayList > with 5 Million insertions (with values from Test1). Insertions are conditional and have additional computation before adding to array. Test 3. HashMap > with 5 million keys, values. Each key, value pair is being calculated via concurrent thread. (This tread tests both Arithmetic and concurrency capabilities) Test 4. Printing 5 million items of ArrayList > to number of Files (1000) and Reading back again. (Tests multicore concurrency to the edge) My CPU, HDD, RAM all went to Max.
  • 58
  • 2
  • 6508
  • 13

Comments

Add your comment
User 456859 avatar

rahul.s replied ago:

0 votes Vote down Vote up Reply

decent!

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.