mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-05 09:46:53 +00:00
Merge branch 'master' of https://github.com/facebook/rocksdb
This commit is contained in:
@@ -800,11 +800,17 @@ public class DbBenchmark {
|
||||
}
|
||||
}
|
||||
}
|
||||
String extra = "";
|
||||
if (benchmark.indexOf("read") >= 0) {
|
||||
extra = String.format(" %d / %d found; ", stats.found_, stats.done_);
|
||||
} else {
|
||||
extra = String.format(" %d ops done; ", stats.done_);
|
||||
}
|
||||
|
||||
System.out.printf(
|
||||
"%-16s : %11.5f micros/op; %6.1f MB/s; %d / %d task(s) finished.\n",
|
||||
"%-16s : %11.5f micros/op; %6.1f MB/s;%s %d / %d task(s) finished.\n",
|
||||
benchmark, (double) elapsedSeconds / stats.done_ * 1e6,
|
||||
(stats.bytes_ / 1048576.0) / elapsedSeconds,
|
||||
(stats.bytes_ / 1048576.0) / elapsedSeconds, extra,
|
||||
taskFinishedCount, concurrentThreads);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user