examples
Class CompressionSizeBenchmark
java.lang.Object
com.google.caliper.api.Benchmark
examples.CompressionSizeBenchmark
public class CompressionSizeBenchmark
- extends com.google.caliper.api.Benchmark
Example "arbitrary measurement" benchmark.
| Methods inherited from class com.google.caliper.api.Benchmark |
setUp, tearDown |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
compressionLevelMap
public static final Map<String,Integer> compressionLevelMap
CompressionSizeBenchmark
public CompressionSizeBenchmark()
timeSimpleCompression
public long timeSimpleCompression(int reps)
compressionSize
public double compressionSize()
main
public static void main(String[] args)
Copyright © 2009-2011 Google, Inc.. All Rights Reserved.