Skip to content

Commit

Permalink
Run all benchmarks (#1705)
Browse files Browse the repository at this point in the history
* Run all benchmarks

* Add missing parameters for weights

---------

Co-authored-by: Robert Gabriel Jakabosky <rjakabosky+neopallium@neoawareness.com>
  • Loading branch information
HenriqueNogara and Neopallium authored Aug 29, 2024
1 parent c390efe commit 4ba0cd9
Show file tree
Hide file tree
Showing 35 changed files with 2,808 additions and 2,658 deletions.
1 change: 0 additions & 1 deletion pallets/common/src/traits/asset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ pub trait WeightInfo {
fn register_and_set_local_asset_metadata() -> Weight;
fn register_asset_metadata_local_type() -> Weight;
fn register_asset_metadata_global_type() -> Weight;
fn redeem_from_portfolio() -> Weight;
fn update_asset_type() -> Weight;
fn remove_local_metadata_key() -> Weight;
fn remove_metadata_value() -> Weight;
Expand Down
54 changes: 27 additions & 27 deletions pallets/weights/src/frame_system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
//! Autogenerated weights for frame_system
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-08-24, STEPS: `100`, REPEAT: 5, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2024-08-21, STEPS: `100`, REPEAT: 5, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 512
//! HOSTNAME: `ubuntu-8gb-hel1-5`, CPU: `AMD EPYC Processor`
//! HOSTNAME: `ubuntu-8gb-nbg1-1-bench2`, CPU: `AMD EPYC-Milan Processor`
// Executed Command:
// target/release/polymesh
// ./polymesh
// benchmark
// pallet
// -s
Expand All @@ -41,9 +41,9 @@
// --wasm-execution
// compiled
// --output
// ./pallets/weights/src/
// ./Polymesh/pallets/weights/src/
// --template
// ./.maintain/frame-weight-template.hbs
// ./Polymesh/.maintain/frame-weight-template.hbs

#![allow(unused_parens)]
#![allow(unused_imports)]
Expand All @@ -55,56 +55,56 @@ pub struct SubstrateWeight;
impl frame_system::WeightInfo for SubstrateWeight {
/// The range of component `b` is `[0, 7864320]`.
fn remark(b: u32) -> Weight {
// Minimum execution time: 7_785 nanoseconds.
Weight::from_ref_time(25_375_978)
// Standard Error: 3
.saturating_add(Weight::from_ref_time(614).saturating_mul(b.into()))
// Minimum execution time: 2_554 nanoseconds.
Weight::from_ref_time(15_678_641)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(276).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 7864320]`.
fn remark_with_event(b: u32) -> Weight {
// Minimum execution time: 14_215 nanoseconds.
Weight::from_ref_time(15_589_000)
// Standard Error: 5
.saturating_add(Weight::from_ref_time(2_110).saturating_mul(b.into()))
// Minimum execution time: 8_603 nanoseconds.
Weight::from_ref_time(10_026_122)
// Standard Error: 3
.saturating_add(Weight::from_ref_time(1_187).saturating_mul(b.into()))
}
// Storage: System Digest (r:1 w:1)
// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
// Storage: unknown `0x3a686561707061676573` (r:0 w:1)
// Proof Skipped: unknown `0x3a686561707061676573` (r:0 w:1)
fn set_heap_pages() -> Weight {
// Minimum execution time: 8_286 nanoseconds.
Weight::from_ref_time(8_896_000)
// Minimum execution time: 5_008 nanoseconds.
Weight::from_ref_time(5_117_000)
.saturating_add(DbWeight::get().reads(1))
.saturating_add(DbWeight::get().writes(2))
}
// Storage: Skipped Metadata (r:0 w:0)
// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
/// The range of component `i` is `[0, 1000]`.
fn set_storage(i: u32) -> Weight {
// Minimum execution time: 7_444 nanoseconds.
Weight::from_ref_time(8_165_000)
// Standard Error: 12_755
.saturating_add(Weight::from_ref_time(1_635_273).saturating_mul(i.into()))
// Minimum execution time: 2_564 nanoseconds.
Weight::from_ref_time(2_704_000)
// Standard Error: 1_376
.saturating_add(Weight::from_ref_time(971_747).saturating_mul(i.into()))
.saturating_add(DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
/// The range of component `i` is `[0, 1000]`.
fn kill_storage(i: u32) -> Weight {
// Minimum execution time: 5_460 nanoseconds.
Weight::from_ref_time(5_631_000)
// Standard Error: 11_680
.saturating_add(Weight::from_ref_time(1_257_520).saturating_mul(i.into()))
// Minimum execution time: 2_844 nanoseconds.
Weight::from_ref_time(2_854_000)
// Standard Error: 1_300
.saturating_add(Weight::from_ref_time(691_953).saturating_mul(i.into()))
.saturating_add(DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
/// The range of component `p` is `[0, 1000]`.
fn kill_prefix(p: u32) -> Weight {
// Minimum execution time: 8_807 nanoseconds.
Weight::from_ref_time(26_713_025)
// Standard Error: 61_288
.saturating_add(Weight::from_ref_time(2_252_911).saturating_mul(p.into()))
// Minimum execution time: 4_957 nanoseconds.
Weight::from_ref_time(5_018_000)
// Standard Error: 1_791
.saturating_add(Weight::from_ref_time(1_217_411).saturating_mul(p.into()))
.saturating_add(DbWeight::get().reads((1_u64).saturating_mul(p.into())))
.saturating_add(DbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
Expand Down
Loading

0 comments on commit 4ba0cd9

Please sign in to comment.