title: Measure Java Program Performance
body: <p>I had an old application, a JAR file, that went through some enhancements. Basically some parts of the code had to be modified along with modifying some of the logic.</p>
  
  <p>Comparing the OLD version against the NEW version, the NEW version is about 2X slower than the old one.</p>
  
  <p>I'm trying to narrow down whats causing the slow down, but I'm finding myself measuring the time for certain for-loops using System.println with System.currentTimeMillis().  This is really getting very tedious.</p>
  
  <p>Is there a Java performance tool that will help me in figuring out why the NEW JAR is about 2X slower than the old one?</p>
  
  <p>Thanks in advance.</p>