frame/bench-cli: fix log formatting (#10627)

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
Oliver Tale-Yazdi
2022-01-11 04:18:30 +01:00
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,
); );
} }