public static void main(final String[] args) {
        if (ArrayUtils.isEmpty(args)) {
            throw new IllegalArgumentException("Missing path to file to test.");
        }
        final String name = args[0];
        final ApacheImagingSpeedAndMemoryTest testStand = new ApacheImagingSpeedAndMemoryTest();
        testStand.performTest(System.out, name);
    }
Create an instance of the speed and memory test class and execute a test loop for the specified file.

@param args the path to the file to be processed
src/test/java/org/apache/commons/imaging/examples/ApacheImagingSpeedAndMemoryTest.java