informant: display I/O stats (#11523)

* informant: collect I/O stats for state_db

* informat: debug i/o log

* informat: remove unused cache hit ratio

* Cargo.lock: cargo update -p librocksdb-sys

* [deps]: upgrade kvdb-rocksdb to 0.6

* Update ethcore/types/src/client_types.rs

Co-Authored-By: David <dvdplm@gmail.com>

Co-authored-by: David <dvdplm@gmail.com>
This commit is contained in:
Andronik Ordian
2020-03-17 16:44:27 +01:00
committed by GitHub
parent 3231454bb1
commit 70c4ed7fa0
16 changed files with 144 additions and 36 deletions

View File

@@ -257,6 +257,14 @@ impl<T: InformantData> Informant<T> {
(diffed, full_report)
};
debug!(
target: "io_stats",
"{} reads, {} writes, {} transactions",
client_report.io_stats.reads,
client_report.io_stats.writes,
client_report.io_stats.transactions,
);
let Report {
importing,
chain_info,