title: How can I prove that one algorithm is faster than another in Java
body: <p>Is there anything in Java that would allow me to take a code snippit and allow me to see exactly how many "ticks" it takes to execute.  I want to prove that an algorithm I wrote is faster than another.</p>