Apathy is the suck. Login and vote now.
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.



Comments
rahul.s replied ago:
decent!
Voters For This Link (58)
Voters Against This Link (2)