Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
frame/bench-cli: fix log formatting (#10627)
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
  • Loading branch information
ggwpez committed Jan 11, 2022
1 parent 2cfd235 commit daa4118
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utils/frame/benchmarking-cli/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,14 +333,14 @@ impl BenchmarkCmd {
if elapsed >= time::Duration::from_secs(5) {
timer = time::SystemTime::now();
log::info!(
"Running Benchmark:\t{}\t{}\t{}/{}\t{}/{}",
"Running Benchmark: {}.{} {}/{} {}/{}",
String::from_utf8(pallet.clone())
.expect("Encoded from String; qed"),
String::from_utf8(extrinsic.clone())
.expect("Encoded from String; qed"),
s, // todo show step
s + 1, // s starts at 0. todo show step
self.steps,
r,
r + 1,
self.external_repeat,
);
}
Expand Down

0 comments on commit daa4118

Please sign in to comment.