mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-23 04:06:20 +00:00
Add storage root recalculation time to benchmarks (#5035)
This commit is contained in:
1 parent
afa5861f3b
commit
ad90ab7ec9
3 files changed
+16
-8
No files matched your search
@@ -124,12 +124,13 @@ impl BenchmarkCmd {
|
||||
// Print the table header
|
||||
results[0].0.iter().for_each(|param| print!("{:?},", param.0));
|
||||
|
||||
print!("time\n");
|
||||
print!("extrinsic_time,storage_root_time\n");
|
||||
// Print the values
|
||||
results.iter().for_each(|result| {
|
||||
let parameters = &result.0;
|
||||
parameters.iter().for_each(|param| print!("{:?},", param.1));
|
||||
print!("{:?}\n", result.1);
|
||||
// Print extrinsic time and storage root time
|
||||
print!("{:?},{:?}\n", result.1, result.2);
|
||||
});
|
||||
|
||||
eprintln!("Done.");
|
||||
|
||||
Reference in new issue
Block a user