From d1fdce741ebbbd56ed2df3b650d84e17c6bec76b Mon Sep 17 00:00:00 2001 From: keroro Date: Thu, 5 Aug 2021 23:01:51 +0800 Subject: [PATCH] doc(ckb-bench): init readme --- ckb-bench/README.md | 83 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 ckb-bench/README.md diff --git a/ckb-bench/README.md b/ckb-bench/README.md new file mode 100644 index 0000000..bfcea34 --- /dev/null +++ b/ckb-bench/README.md @@ -0,0 +1,83 @@ +# ckb-bench + +## Usage + +* `$ ckb-bench dispatch --help` + +``` +dispatch capacity to users + +USAGE: + ckb-bench dispatch --capacity-per-cell --cells-per-user --data-dir --n-users --rpc-urls ... + +OPTIONS: + --capacity-per-cell Capacity per cell + --cells-per-user Cells per user + --data-dir Data directory [default: ./data] + --n-users Number of users + --rpc-urls ... CKB rpc urls, prefix with network protocol, delimited by comma, e.g. + "http://127.0.0.1:8114,http://127.0.0.2.8114" +``` + +* `$ ckb-bench bench --help` + +``` +bench the target ckb nodes + +USAGE: + ckb-bench bench [FLAGS] --bench-time-ms