提交 e883407e 编写于 作者: Y Yueh-Hsuan Chiang

[Java] Refined the output of Java DbBenchmark.

上级 93f26436
......@@ -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(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册