mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 13:21:10 +00:00
frame/bench-cli: fix log formatting (#10627)
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
committed by
GitHub
parent
a4057bb9e2
commit
0071bd7bac
@@ -333,14 +333,14 @@ impl BenchmarkCmd {
|
|||||||
if elapsed >= time::Duration::from_secs(5) {
|
if elapsed >= time::Duration::from_secs(5) {
|
||||||
timer = time::SystemTime::now();
|
timer = time::SystemTime::now();
|
||||||
log::info!(
|
log::info!(
|
||||||
"Running Benchmark:\t{}\t{}\t{}/{}\t{}/{}",
|
"Running Benchmark: {}.{} {}/{} {}/{}",
|
||||||
String::from_utf8(pallet.clone())
|
String::from_utf8(pallet.clone())
|
||||||
.expect("Encoded from String; qed"),
|
.expect("Encoded from String; qed"),
|
||||||
String::from_utf8(extrinsic.clone())
|
String::from_utf8(extrinsic.clone())
|
||||||
.expect("Encoded from String; qed"),
|
.expect("Encoded from String; qed"),
|
||||||
s, // todo show step
|
s + 1, // s starts at 0. todo show step
|
||||||
self.steps,
|
self.steps,
|
||||||
r,
|
r + 1,
|
||||||
self.external_repeat,
|
self.external_repeat,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user