More convenience methods in Timing
More convenience methods in Timing

Now you can perform performance benchmarks by adding

	final Timing timing = Timing.start(condition);
	...
	Timing.tick(timing);
	...
	Timing.tick(timing);
	...
	Timing.tick(timing);
	...
	Timing.stop(timing);

The stop() method will measure the last tick, order all the individual
steps (i.e. between ticks) by time and output a sorted list.

All of this only happens if the condition is true, which is really
convenient if you want to benchmark a method only for a given parameter.

Signed-off-by: Johannes Schindelin <53fb8db7833fca1e1746dd8592f61048d350f64c@gmx.de>

scijava/scijava-common