Java 6 has been officially launched last month and is been said to be
better at performance. Out of curiosity I wrote a simple program that
computes the tangent of an angle for “n” number times. I used the
StopWatch from Commons Lang API to measure the time taken for the
computation.
public class ComputeTangentExecutionTime {
/**
* Computes the time taken [...]