me.lemire.integercompression.benchmarktools
Class BenchmarkCSV

java.lang.Object
  extended by me.lemire.integercompression.benchmarktools.BenchmarkCSV

public class BenchmarkCSV
extends Object

This will run benchmarks using a set of posting lists stored as CSV files.

Author:
lemire

Nested Class Summary
static class BenchmarkCSV.CompressionMode
           
static class BenchmarkCSV.Format
           
 
Constructor Summary
BenchmarkCSV()
           
 
Method Summary
static void bench(ArrayList<int[]> postings, BenchmarkCSV.CompressionMode cm, boolean verbose)
           
static void bytebench(ArrayList<int[]> postings, BenchmarkCSV.CompressionMode cm, boolean verbose)
           
static ArrayList<int[]> loadIntegers(String filename, BenchmarkCSV.Format f)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BenchmarkCSV

public BenchmarkCSV()
Method Detail

loadIntegers

public static ArrayList<int[]> loadIntegers(String filename,
                                            BenchmarkCSV.Format f)
                                     throws IOException
Throws:
IOException

main

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

bench

public static void bench(ArrayList<int[]> postings,
                         BenchmarkCSV.CompressionMode cm,
                         boolean verbose)

bytebench

public static void bytebench(ArrayList<int[]> postings,
                             BenchmarkCSV.CompressionMode cm,
                             boolean verbose)


Copyright © 2013. All Rights Reserved.