public class PerformanceMeasurer
extends java.lang.Object
For running simplistic performance tests, to measure the number of operations per second.
With a short run, this is "good enough" for eye-balling performance, to spot if it goes
horrendously wrong.
However, good performance measurement involves much more warm up (e.g. to ensure java HotSpot
optimisation have been applied), and running the test for a reasonable length of time.
Longevity tests are also important for to check if object creation is going to kill
performance in the long-term, etc.