Skip to content

Instantly share code, notes, and snippets.

@daschl
Created March 3, 2014 08:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daschl/9320766 to your computer and use it in GitHub Desktop.
Save daschl/9320766 to your computer and use it in GitHub Desktop.
/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/bin/java -Didea.launcher.port=7545 "-Didea.launcher.bin.path=/Applications/IntelliJ IDEA 13.app/bin" -Dfile.encoding=UTF-8 -classpath "/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/lib/javafx-doclet.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/htmlconverter.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/JObjC.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Users/michael/couchbaselabs/perfexps/target/classes:/Users/michael/.m2/repository/org/openjdk/jmh/jmh-core/0.4.2/jmh-core-0.4.2.jar:/Users/michael/.m2/repository/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.jar:/Users/michael/.m2/repository/org/apache/commons/commons-math3/3.2/commons-math3-3.2.jar:/Users/michael/.m2/repository/com/couchbase/client/couchbase-client/1.3.2/couchbase-client-1.3.2.jar:/Users/michael/.m2/repository/io/netty/netty/3.5.5.Final/netty-3.5.5.Final.jar:/Users/michael/.m2/repository/org/codehaus/jettison/jettison/1.1/jettison-1.1.jar:/Users/michael/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar:/Users/michael/.m2/repository/commons-codec/commons-codec/1.5/commons-codec-1.5.jar:/Users/michael/.m2/repository/net/spy/spymemcached/2.10.5/spymemcached-2.10.5.jar:/Users/michael/.m2/repository/org/apache/httpcomponents/httpcore/4.3/httpcore-4.3.jar:/Users/michael/.m2/repository/org/apache/httpcomponents/httpcore-nio/4.3/httpcore-nio-4.3.jar:/Applications/IntelliJ IDEA 13.app/lib/idea_rt.jar" com.intellij.rt.execution.application.AppMain bench.Benchmark
# Run progress: 0.00% complete, ETA 00:00:30
# VM invoker: /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/bin/java
# VM options: -Didea.launcher.port=7545 -Didea.launcher.bin.path=/Applications/IntelliJ IDEA 13.app/bin -Dfile.encoding=UTF-8
# Fork: 1 of 1
# Warmup: 5 iterations, 1 s each
# Measurement: 5 iterations, 1 s each
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: bench.Benchmark.fastwWithLimitAndReduce
# Warmup Iteration 1: 3440.197 ops/ms
# Warmup Iteration 2: 3937.106 ops/ms
# Warmup Iteration 3: 5009.330 ops/ms
# Warmup Iteration 4: 5033.772 ops/ms
# Warmup Iteration 5: 4997.495 ops/ms
Iteration 1: 5042.815 ops/ms
Iteration 2: 4892.299 ops/ms
Iteration 3: 5018.321 ops/ms
Iteration 4: 4941.253 ops/ms
Iteration 5: 4950.209 ops/ms
Result : 4968.980 ±(99.9%) 234.915 ops/ms
Statistics: (min, avg, max) = (4892.299, 4968.980, 5042.815), stdev = 61.007
Confidence interval (99.9%): [4734.064, 5203.895]
# Run progress: 33.33% complete, ETA 00:00:20
# VM invoker: /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/bin/java
# VM options: -Didea.launcher.port=7545 -Didea.launcher.bin.path=/Applications/IntelliJ IDEA 13.app/bin -Dfile.encoding=UTF-8
# Fork: 1 of 1
# Warmup: 5 iterations, 1 s each
# Measurement: 5 iterations, 1 s each
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: bench.Benchmark.newWithLimitAndReduce
# Warmup Iteration 1: 1193.067 ops/ms
# Warmup Iteration 2: 1359.192 ops/ms
# Warmup Iteration 3: 1883.147 ops/ms
# Warmup Iteration 4: 1928.896 ops/ms
# Warmup Iteration 5: 2164.678 ops/ms
Iteration 1: 2217.767 ops/ms
Iteration 2: 2202.697 ops/ms
Iteration 3: 2157.610 ops/ms
Iteration 4: 2157.491 ops/ms
Iteration 5: 2171.935 ops/ms
Result : 2181.500 ±(99.9%) 105.513 ops/ms
Statistics: (min, avg, max) = (2157.491, 2181.500, 2217.767), stdev = 27.401
Confidence interval (99.9%): [2075.988, 2287.013]
# Run progress: 66.67% complete, ETA 00:00:10
# VM invoker: /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/bin/java
# VM options: -Didea.launcher.port=7545 -Didea.launcher.bin.path=/Applications/IntelliJ IDEA 13.app/bin -Dfile.encoding=UTF-8
# Fork: 1 of 1
# Warmup: 5 iterations, 1 s each
# Measurement: 5 iterations, 1 s each
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: bench.Benchmark.oldWithLimitAndReduce
# Warmup Iteration 1: 1207.957 ops/ms
# Warmup Iteration 2: 1379.844 ops/ms
# Warmup Iteration 3: 1633.780 ops/ms
# Warmup Iteration 4: 1832.448 ops/ms
# Warmup Iteration 5: 2133.736 ops/ms
Iteration 1: 2122.549 ops/ms
Iteration 2: 2064.877 ops/ms
Iteration 3: 2122.793 ops/ms
Iteration 4: 2077.393 ops/ms
Iteration 5: 2071.974 ops/ms
Result : 2091.917 ±(99.9%) 109.446 ops/ms
Statistics: (min, avg, max) = (2064.877, 2091.917, 2122.793), stdev = 28.423
Confidence interval (99.9%): [1982.471, 2201.364]
Benchmark Mode Samples Mean Mean error Units
b.Benchmark.fastwWithLimitAndReduce thrpt 5 4968.980 234.915 ops/ms
b.Benchmark.newWithLimitAndReduce thrpt 5 2181.500 105.513 ops/ms
b.Benchmark.oldWithLimitAndReduce thrpt 5 2091.917 109.446 ops/ms
Process finished with exit code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment