Yup. it should be 'milliseconds'. Do you want to create a patch to fix this?
- Sijie On Thu, Jun 5, 2014 at 5:49 PM, Jaln <valiant...@gmail.com> wrote: > Hi, > I tested the bookkeeper benchmark on one disk, > the result is > 290376 completions in 62000 seconds: 4683 ops/sec > 99th percentile latency: 1793.1247832959698 > 95th percentile latency: 1708.9804397097917 > > I think it should be 62000 milliseconds. > > Plz check the code in BenchThroughputLatency.java, > long tp = > (long)((double)(numcompletions*1000.0)/(double)bench.getDuration()); > > LOG.info(numcompletions + " completions in " + bench.getDuration() > + " seconds: " + tp + " ops/sec"); > > getDuration() returns in milliseconds. > > > Plz let me know if I'm wrong. > > Best, > Jaln >