ar.com.hjg.pngj.test
Class TestSpeed

java.lang.Object
  extended by ar.com.hjg.pngj.test.TestSpeed

public class TestSpeed
extends Object

Creates a huge image

This is mainly for profiling


Constructor Summary
TestSpeed()
           
 
Method Summary
static int createHuge(String filename, int cols, int rows, FilterType filtertype, int compLevel)
          return msecs
static void main(String[] args)
           
static int read(String filename, int ntimes)
           
static void run3(int cols, int rows)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestSpeed

public TestSpeed()
Method Detail

createHuge

public static int createHuge(String filename,
                             int cols,
                             int rows,
                             FilterType filtertype,
                             int compLevel)
                      throws Exception
return msecs

Throws:
Exception

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

read

public static int read(String filename,
                       int ntimes)
                throws Exception
Throws:
Exception

run3

public static void run3(int cols,
                        int rows)
                 throws Exception
Throws:
Exception