*/
public static void run(final PrintWriter csvWriter, final int count, final int length) {
IntegerCODEC[] codecs = { new JustCopy(), new BinaryPacking(),
new DeltaZigzagBinaryPacking(),
new DeltaZigzagVariableByte(),
new IntegratedBinaryPacking(), new XorBinaryPacking(),
new FastPFOR128(), new FastPFOR()};
csvWriter
.format("\"Dataset\",\"CODEC\",\"Bits per int\","
+ "\"Compress speed (MiS)\",\"Decompress speed (MiS)\"\n");
benchmark(csvWriter, codecs, count, length, DEFAULT_MEAN,
DEFAULT_RANGE);
benchmark(csvWriter, codecs, count, length, DEFAULT_MEAN >> 5,
DEFAULT_RANGE);
IntegerCODEC[] codecs2 = { new JustCopy(), new BinaryPacking(),
new DeltaZigzagBinaryPacking(),
new DeltaZigzagVariableByte(),
new IntegratedBinaryPacking(), new XorBinaryPacking(),
new FastPFOR128(),new FastPFOR(), };
int freq = length / 4;
benchmarkSine(csvWriter, codecs2, count, length,
DEFAULT_MEAN >> 0, DEFAULT_RANGE >> 0, freq);