]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
add --benchmarks=levelstats option to db_bench, prevent "nan" in stats output
authorMark Callaghan <mdcallag@gmail.com>
Tue, 19 Mar 2013 13:36:03 +0000 (06:36 -0700)
committerMark Callaghan <mdcallag@gmail.com>
Tue, 19 Mar 2013 20:14:44 +0000 (13:14 -0700)
commit72d14eafd3673a981e5570f468f01e8f05f5914a
treea5c4bb24ef06e1fc677b4e65ebd2053b5594df04
parent02c459805bd6809e7309fcf56e7673d444b47dd5
add --benchmarks=levelstats option to db_bench, prevent "nan" in stats output

Summary:
Add --benchmarks=levelstats option to report per-level stats (#files, #bytes)
Change readwhilewriting test to report response time for writes but exclude
them from the stats merged by all threads.
Prevent "NaN" in stats output by preventing division by 0.
Remove "o" file I committed by mistake.

Task ID: #

Blame Rev:

Test Plan:
make check

Revert Plan:

Database Impact:

Memcache Impact:

Other Notes:

EImportant:

- begin *PUBLIC* platform impact section -
Bugzilla: #
- end platform impact -

Reviewers: dhruba

Reviewed By: dhruba

Differential Revision: https://reviews.facebook.net/D9513
db/db_bench.cc
db/db_impl.cc
o [deleted file]