For backwards-compatible benchmarking, use file grouping

In ImgLib's 'performance' branch, file grouping was turned off by
default. To make benchmark findings comparable with earlier attempts,
let's turn it on explicitly for the original test.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Remove superfluous ImageJ plugin

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Fix compiler warnings

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Fix whitespace

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Tell Maven's exec:java to execute our main class by default

It is quite convenient to be able to tell Maven to execute the plugin
(thanks to the main() method) by calling

	mvn package exec:java

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Change the README

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Allow MiniMaven to run the test

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Use substantially smaller values for faster testing

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Use Fiji's PerformanceProfiler for profiling

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Compare also the performance with a planar container

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Test also with setGroupFiles( false )

This requires the ImgLib from the 'performance' branch to work right now.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Run a test more along the lines of Tobias' original one

In preparation for the email.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Turn off profiling for now

... to get realistic timing.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Profile again, and skip the worst cases

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Trick Eclipse

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Skip ImageJ 1.x test

We know the result by now.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Ask SCIFIO to use file mapping

Down from ~1620ms to ~1115ms.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Prevent class loading from dominating the statistics

... by running through the whole thing once without profiling turned on.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Set setAllowOpen(false)

This is not a solution, of course, but a strong hint that
something is seriously wrong with the design of isThisType(): the
RandomAccessInputStream is never reused, and as a consequence, files
are read and re-read ad nauseam, just to find out what would be the
best reader.

Let the numbers speak: this brings the benchmark runtime from 317ms
down to 186ms.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>