[Java] Refined the output of Java DbBenchmark.

This commit is contained in:
Yueh-Hsuan Chiang 2014-05-13 16:44:53 -07:00
parent 93f2643656
commit e883407ead

View File

@ -802,7 +802,9 @@ public class DbBenchmark {
}
String extra = "";
if (benchmark.indexOf("read") >= 0) {
extra = String.format(" %s / %s found; ", stats.found_, reads_);
extra = String.format(" %d / %d found; ", stats.found_, stats.done_);
} else {
extra = String.format(" %d ops done; ", stats.done_);
}
System.out.printf(