me.lemire.integercompression
Class Benchmark

java.lang.Object
  extended by me.lemire.integercompression.Benchmark

public class Benchmark
extends Object

Simple class meant to compare the speed of different schemes.

Author:
Daniel Lemire

Constructor Summary
Benchmark()
           
 
Method Summary
static void main(String[] args)
          Main method.
static void testKamikaze(int[][] data, int repeat, boolean verbose)
          Standard test for the Kamikaze library
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Benchmark

public Benchmark()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Main method.

Parameters:
args - command-line arguments
Throws:
Exception

testKamikaze

public static void testKamikaze(int[][] data,
                                int repeat,
                                boolean verbose)
Standard test for the Kamikaze library

Parameters:
data - input data
repeat - how many times to repeat
verbose - whether to output data on screen


Copyright © 2013. All Rights Reserved.