我在网上提供了一些建议,但都没有帮助。
获得卡尺并从https://github.com/peterlynch/caliper
构建
export CLASSPATH=/home/deepakkv/projects/poc/benchmarkparquet/target/classes:~/.m2/repository/com/google/code/caliper/caliper/1.0-SNAPSHOT/caliper-1.0-SNAPSHOT.jar:~/projects/poc/caliper/lib/gson.jar:~/projects/poc/caliper/lib/allocation.jar:~/projects/poc/caliper/lib/guava-r09.jar
现在要将结果推送到网络,我们需要指定密钥。这是混乱。我以两种方式包含API密钥
$ cat /home/deepakkv/.caliperrc
键
$ cat /home/deepakkv/.caliper/config.properties
results.upload.options.key = key
$
我运行基准测试如下
$ sh~ / projects / poc / caliper / scripts / caliper com.parquet.benchmark.BenchmarkParquetDirectWrites 0%场景{vm = java,trial = 0,benchmark = TestContains1,length = 1} 6.47 ns; @σ= 0.32 ns @ 10次试验 50%场景{vm = java,trial = 0,benchmark = TestContains2,length = 1} 5.34 ns;在10次试验中σ= 0.22 ns 基准ns线性运行时 TestContains1 6.47 ============================== TestContains2 5.34 ======================== vm:java 审判:0 长度:1 $
它成功运行,并未表明它是将结果发布到网上。我找不到任何东西@ http://microbenchmarks.appspot.com/runs
我哪里错了?