mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 04:07:57 +00:00
Fix spellcheck for benchmarking comments (#14535)
* Benchmarking spellcheck fix Put everything that could cause spellcheck issues into backticks. Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Also in templates Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet-balances --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: command-bot <>
This commit is contained in:
committed by
GitHub
parent
d3ef2badcb
commit
53244d64bd
@@ -5,7 +5,7 @@
|
||||
//! DATE: {{date}}, STEPS: `{{cmd.steps}}`, REPEAT: `{{cmd.repeat}}`, LOW RANGE: `{{cmd.lowest_range_values}}`, HIGH RANGE: `{{cmd.highest_range_values}}`
|
||||
//! WORST CASE MAP SIZE: `{{cmd.worst_case_map_values}}`
|
||||
//! HOSTNAME: `{{hostname}}`, CPU: `{{cpuname}}`
|
||||
//! EXECUTION: {{cmd.execution}}, WASM-EXECUTION: {{cmd.wasm_execution}}, CHAIN: {{cmd.chain}}, DB CACHE: {{cmd.db_cache}}
|
||||
//! EXECUTION: `{{cmd.execution}}`, WASM-EXECUTION: `{{cmd.wasm_execution}}`, CHAIN: `{{cmd.chain}}`, DB CACHE: {{cmd.db_cache}}
|
||||
|
||||
// Executed Command:
|
||||
{{#each args as |arg|}}
|
||||
|
||||
@@ -666,7 +666,7 @@ pub(crate) fn process_storage_results(
|
||||
match key_info {
|
||||
Some(key_info) => {
|
||||
let comment = format!(
|
||||
"Storage: {} {} (r:{} w:{})",
|
||||
"Storage: `{}::{}` (r:{} w:{})",
|
||||
String::from_utf8(key_info.pallet_name.clone())
|
||||
.expect("encoded from string"),
|
||||
String::from_utf8(key_info.storage_name.clone())
|
||||
@@ -678,7 +678,7 @@ pub(crate) fn process_storage_results(
|
||||
},
|
||||
None => {
|
||||
let comment = format!(
|
||||
"Storage: unknown `0x{}` (r:{} w:{})",
|
||||
"Storage: UNKNOWN KEY `0x{}` (r:{} w:{})",
|
||||
HexDisplay::from(key),
|
||||
reads,
|
||||
writes,
|
||||
@@ -700,7 +700,7 @@ pub(crate) fn process_storage_results(
|
||||
) {
|
||||
Some(new_pov) => {
|
||||
let comment = format!(
|
||||
"Proof: {} {} (max_values: {:?}, max_size: {:?}, added: {}, mode: {:?})",
|
||||
"Proof: `{}::{}` (`max_values`: {:?}, `max_size`: {:?}, added: {}, mode: `{:?}`)",
|
||||
String::from_utf8(key_info.pallet_name.clone())
|
||||
.expect("encoded from string"),
|
||||
String::from_utf8(key_info.storage_name.clone())
|
||||
@@ -718,7 +718,7 @@ pub(crate) fn process_storage_results(
|
||||
let item = String::from_utf8(key_info.storage_name.clone())
|
||||
.expect("encoded from string");
|
||||
let comment = format!(
|
||||
"Proof Skipped: {} {} (max_values: {:?}, max_size: {:?}, mode: {:?})",
|
||||
"Proof: `{}::{}` (`max_values`: {:?}, `max_size`: {:?}, mode: `{:?}`)",
|
||||
pallet, item, key_info.max_values, key_info.max_size,
|
||||
used_pov_mode,
|
||||
);
|
||||
@@ -728,7 +728,7 @@ pub(crate) fn process_storage_results(
|
||||
},
|
||||
None => {
|
||||
let comment = format!(
|
||||
"Proof Skipped: unknown `0x{}` (r:{} w:{})",
|
||||
"Proof: UNKNOWN KEY `0x{}` (r:{} w:{})",
|
||||
HexDisplay::from(key),
|
||||
reads,
|
||||
writes,
|
||||
|
||||
Reference in New Issue
Block a user