CSV file output show wrong number of iterations

Staffan Friberg staffan.friberg at oracle.com
Wed Jan 22 13:20:36 PST 2014


Hi,

Looks like the CSV file output only counts the iteration from a single 
fork run, and does not add them up as done in the stdout output.


 > /localhome/java/jdk1.8.0/bin/java -jar microbenchmarks.jar 
.*Benchmark -rf csv -rff output.csv -f 5 -wi 5 -i 10
...
Benchmark                                  Mode Thr     Count 
Sec         Mean   Mean error    Units
o.m.b.Benchmark    thrpt   1 *50 * 1       15.500        0.060   ops/ms

 >cat output.csv
"Benchmark", "Mode", "Threads", "Iterations", "Iteration time", "Mean", 
"Mean Error (95%)", "Mean Error (99%)", "Unit"
"oracle.micro.benchmarks.Benchmark", "thrpt", 1, *10*, "1 s", 
15.500045000000005, 0.06048086631670452, "ops/ms"

Cheers,
Staffan


More information about the jmh-dev mailing list