mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 12:51:02 +00:00
transfer ownership of uniques looks cheaper. (#1302)
batch all now looking a bit expensive compared to batch. no big changes.
This commit is contained in:
+6
-5
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `cumulus_pallet_xcmp_queue`
|
//! Autogenerated weights for `cumulus_pallet_xcmp_queue`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=statemine-dev
|
// --chain=statemine-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-statemine.json
|
// --json-file=./bench-statemine.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/statemine/src/weights
|
// --output=./parachains/runtimes/assets/statemine/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -46,13 +47,13 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
||||||
fn set_config_with_u32() -> Weight {
|
fn set_config_with_u32() -> Weight {
|
||||||
(2_591_000 as Weight)
|
(2_742_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
||||||
fn set_config_with_weight() -> Weight {
|
fn set_config_with_weight() -> Weight {
|
||||||
(2_529_000 as Weight)
|
(2_723_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `frame_system`
|
//! Autogenerated weights for `frame_system`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=statemine-dev
|
// --chain=statemine-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-statemine.json
|
// --json-file=./bench-statemine.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/statemine/src/weights
|
// --output=./parachains/runtimes/assets/statemine/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -44,20 +45,18 @@ use sp_std::marker::PhantomData;
|
|||||||
/// Weight functions for `frame_system`.
|
/// Weight functions for `frame_system`.
|
||||||
pub struct WeightInfo<T>(PhantomData<T>);
|
pub struct WeightInfo<T>(PhantomData<T>);
|
||||||
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||||
fn remark(b: u32, ) -> Weight {
|
fn remark(_b: u32, ) -> Weight {
|
||||||
|
(0 as Weight)
|
||||||
|
}
|
||||||
|
fn remark_with_event(b: u32, ) -> Weight {
|
||||||
(0 as Weight)
|
(0 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((1_000 as Weight).saturating_mul(b as Weight))
|
.saturating_add((1_000 as Weight).saturating_mul(b as Weight))
|
||||||
}
|
}
|
||||||
fn remark_with_event(b: u32, ) -> Weight {
|
|
||||||
(231_272_000 as Weight)
|
|
||||||
// Standard Error: 0
|
|
||||||
.saturating_add((2_000 as Weight).saturating_mul(b as Weight))
|
|
||||||
}
|
|
||||||
// Storage: System Digest (r:1 w:1)
|
// Storage: System Digest (r:1 w:1)
|
||||||
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
|
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
|
||||||
fn set_heap_pages() -> Weight {
|
fn set_heap_pages() -> Weight {
|
||||||
(2_466_000 as Weight)
|
(2_661_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
@@ -65,21 +64,21 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
|||||||
fn set_storage(i: u32, ) -> Weight {
|
fn set_storage(i: u32, ) -> Weight {
|
||||||
(0 as Weight)
|
(0 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((407_000 as Weight).saturating_mul(i as Weight))
|
.saturating_add((408_000 as Weight).saturating_mul(i as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
|
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
|
||||||
}
|
}
|
||||||
// Storage: Skipped Metadata (r:0 w:0)
|
// Storage: Skipped Metadata (r:0 w:0)
|
||||||
fn kill_storage(i: u32, ) -> Weight {
|
fn kill_storage(i: u32, ) -> Weight {
|
||||||
(0 as Weight)
|
(868_000 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((300_000 as Weight).saturating_mul(i as Weight))
|
.saturating_add((301_000 as Weight).saturating_mul(i as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
|
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
|
||||||
}
|
}
|
||||||
// Storage: Skipped Metadata (r:0 w:0)
|
// Storage: Skipped Metadata (r:0 w:0)
|
||||||
fn kill_prefix(p: u32, ) -> Weight {
|
fn kill_prefix(p: u32, ) -> Weight {
|
||||||
(0 as Weight)
|
(0 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((672_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((677_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight)))
|
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `pallet_assets`
|
//! Autogenerated weights for `pallet_assets`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=statemine-dev
|
// --chain=statemine-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-statemine.json
|
// --json-file=./bench-statemine.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/statemine/src/weights
|
// --output=./parachains/runtimes/assets/statemine/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -46,13 +47,13 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn create() -> Weight {
|
fn create() -> Weight {
|
||||||
(21_739_000 as Weight)
|
(21_627_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn force_create() -> Weight {
|
fn force_create() -> Weight {
|
||||||
(12_261_000 as Weight)
|
(11_668_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
@@ -63,12 +64,12 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Assets Approvals (r:501 w:500)
|
// Storage: Assets Approvals (r:501 w:500)
|
||||||
fn destroy(c: u32, s: u32, a: u32, ) -> Weight {
|
fn destroy(c: u32, s: u32, a: u32, ) -> Weight {
|
||||||
(0 as Weight)
|
(0 as Weight)
|
||||||
// Standard Error: 38_000
|
// Standard Error: 40_000
|
||||||
.saturating_add((12_675_000 as Weight).saturating_mul(c as Weight))
|
.saturating_add((14_590_000 as Weight).saturating_mul(c as Weight))
|
||||||
// Standard Error: 38_000
|
// Standard Error: 40_000
|
||||||
.saturating_add((15_906_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((17_099_000 as Weight).saturating_mul(s as Weight))
|
||||||
// Standard Error: 380_000
|
// Standard Error: 402_000
|
||||||
.saturating_add((13_383_000 as Weight).saturating_mul(a as Weight))
|
.saturating_add((16_521_000 as Weight).saturating_mul(a as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight)))
|
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight)))
|
||||||
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight)))
|
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight)))
|
||||||
@@ -81,14 +82,14 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Account (r:1 w:1)
|
// Storage: Assets Account (r:1 w:1)
|
||||||
fn mint() -> Weight {
|
fn mint() -> Weight {
|
||||||
(24_951_000 as Weight)
|
(25_181_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Account (r:1 w:1)
|
// Storage: Assets Account (r:1 w:1)
|
||||||
fn burn() -> Weight {
|
fn burn() -> Weight {
|
||||||
(28_334_000 as Weight)
|
(28_345_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
@@ -96,7 +97,7 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Assets Account (r:2 w:2)
|
// Storage: Assets Account (r:2 w:2)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer() -> Weight {
|
fn transfer() -> Weight {
|
||||||
(41_250_000 as Weight)
|
(41_418_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||||
}
|
}
|
||||||
@@ -104,7 +105,7 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Assets Account (r:2 w:2)
|
// Storage: Assets Account (r:2 w:2)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer_keep_alive() -> Weight {
|
fn transfer_keep_alive() -> Weight {
|
||||||
(34_843_000 as Weight)
|
(35_087_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||||
}
|
}
|
||||||
@@ -112,93 +113,89 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Assets Account (r:2 w:2)
|
// Storage: Assets Account (r:2 w:2)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn force_transfer() -> Weight {
|
fn force_transfer() -> Weight {
|
||||||
(41_377_000 as Weight)
|
(41_546_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Account (r:1 w:1)
|
// Storage: Assets Account (r:1 w:1)
|
||||||
fn freeze() -> Weight {
|
fn freeze() -> Weight {
|
||||||
(16_794_000 as Weight)
|
(16_980_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Account (r:1 w:1)
|
// Storage: Assets Account (r:1 w:1)
|
||||||
fn thaw() -> Weight {
|
fn thaw() -> Weight {
|
||||||
(16_600_000 as Weight)
|
(17_244_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn freeze_asset() -> Weight {
|
fn freeze_asset() -> Weight {
|
||||||
(13_729_000 as Weight)
|
(13_896_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn thaw_asset() -> Weight {
|
fn thaw_asset() -> Weight {
|
||||||
(13_749_000 as Weight)
|
(13_645_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Metadata (r:1 w:0)
|
// Storage: Assets Metadata (r:1 w:0)
|
||||||
fn transfer_ownership() -> Weight {
|
fn transfer_ownership() -> Weight {
|
||||||
(14_651_000 as Weight)
|
(15_188_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn set_team() -> Weight {
|
fn set_team() -> Weight {
|
||||||
(13_393_000 as Weight)
|
(13_773_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Metadata (r:1 w:1)
|
// Storage: Assets Metadata (r:1 w:1)
|
||||||
fn set_metadata(n: u32, s: u32, ) -> Weight {
|
fn set_metadata(_n: u32, s: u32, ) -> Weight {
|
||||||
(26_365_000 as Weight)
|
(26_675_000 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((2_000 as Weight).saturating_mul(n as Weight))
|
.saturating_add((2_000 as Weight).saturating_mul(s as Weight))
|
||||||
// Standard Error: 0
|
|
||||||
.saturating_add((3_000 as Weight).saturating_mul(s as Weight))
|
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Metadata (r:1 w:1)
|
// Storage: Assets Metadata (r:1 w:1)
|
||||||
fn clear_metadata() -> Weight {
|
fn clear_metadata() -> Weight {
|
||||||
(26_123_000 as Weight)
|
(26_721_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Metadata (r:1 w:1)
|
// Storage: Assets Metadata (r:1 w:1)
|
||||||
fn force_set_metadata(_n: u32, s: u32, ) -> Weight {
|
fn force_set_metadata(_n: u32, _s: u32, ) -> Weight {
|
||||||
(15_431_000 as Weight)
|
(15_048_000 as Weight)
|
||||||
// Standard Error: 0
|
|
||||||
.saturating_add((1_000 as Weight).saturating_mul(s as Weight))
|
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Metadata (r:1 w:1)
|
// Storage: Assets Metadata (r:1 w:1)
|
||||||
fn force_clear_metadata() -> Weight {
|
fn force_clear_metadata() -> Weight {
|
||||||
(26_658_000 as Weight)
|
(26_543_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn force_asset_status() -> Weight {
|
fn force_asset_status() -> Weight {
|
||||||
(13_875_000 as Weight)
|
(13_155_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Approvals (r:1 w:1)
|
// Storage: Assets Approvals (r:1 w:1)
|
||||||
fn approve_transfer() -> Weight {
|
fn approve_transfer() -> Weight {
|
||||||
(29_797_000 as Weight)
|
(29_278_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
@@ -207,21 +204,21 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Assets Account (r:2 w:2)
|
// Storage: Assets Account (r:2 w:2)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer_approved() -> Weight {
|
fn transfer_approved() -> Weight {
|
||||||
(53_337_000 as Weight)
|
(53_600_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(5 as Weight))
|
.saturating_add(T::DbWeight::get().writes(5 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Approvals (r:1 w:1)
|
// Storage: Assets Approvals (r:1 w:1)
|
||||||
fn cancel_approval() -> Weight {
|
fn cancel_approval() -> Weight {
|
||||||
(29_970_000 as Weight)
|
(30_325_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Approvals (r:1 w:1)
|
// Storage: Assets Approvals (r:1 w:1)
|
||||||
fn force_cancel_approval() -> Weight {
|
fn force_cancel_approval() -> Weight {
|
||||||
(31_972_000 as Weight)
|
(31_541_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `pallet_balances`
|
//! Autogenerated weights for `pallet_balances`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=statemine-dev
|
// --chain=statemine-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-statemine.json
|
// --json-file=./bench-statemine.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/statemine/src/weights
|
// --output=./parachains/runtimes/assets/statemine/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -46,43 +47,43 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer() -> Weight {
|
fn transfer() -> Weight {
|
||||||
(34_472_000 as Weight)
|
(35_771_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer_keep_alive() -> Weight {
|
fn transfer_keep_alive() -> Weight {
|
||||||
(26_282_000 as Weight)
|
(27_333_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn set_balance_creating() -> Weight {
|
fn set_balance_creating() -> Weight {
|
||||||
(15_707_000 as Weight)
|
(17_049_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn set_balance_killing() -> Weight {
|
fn set_balance_killing() -> Weight {
|
||||||
(18_951_000 as Weight)
|
(20_318_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:2 w:2)
|
// Storage: System Account (r:2 w:2)
|
||||||
fn force_transfer() -> Weight {
|
fn force_transfer() -> Weight {
|
||||||
(34_740_000 as Weight)
|
(36_298_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer_all() -> Weight {
|
fn transfer_all() -> Weight {
|
||||||
(31_709_000 as Weight)
|
(32_829_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn force_unreserve() -> Weight {
|
fn force_unreserve() -> Weight {
|
||||||
(14_427_000 as Weight)
|
(14_966_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
|
|||||||
+18
-17
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `pallet_collator_selection`
|
//! Autogenerated weights for `pallet_collator_selection`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=statemine-dev
|
// --chain=statemine-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-statemine.json
|
// --json-file=./bench-statemine.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/statemine/src/weights
|
// --output=./parachains/runtimes/assets/statemine/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -47,20 +48,20 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
|||||||
// Storage: Session NextKeys (r:1 w:0)
|
// Storage: Session NextKeys (r:1 w:0)
|
||||||
// Storage: CollatorSelection Invulnerables (r:0 w:1)
|
// Storage: CollatorSelection Invulnerables (r:0 w:1)
|
||||||
fn set_invulnerables(b: u32, ) -> Weight {
|
fn set_invulnerables(b: u32, ) -> Weight {
|
||||||
(10_709_000 as Weight)
|
(7_537_000 as Weight)
|
||||||
// Standard Error: 3_000
|
// Standard Error: 2_000
|
||||||
.saturating_add((2_851_000 as Weight).saturating_mul(b as Weight))
|
.saturating_add((3_134_000 as Weight).saturating_mul(b as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
|
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
|
// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
|
||||||
fn set_desired_candidates() -> Weight {
|
fn set_desired_candidates() -> Weight {
|
||||||
(9_173_000 as Weight)
|
(8_482_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection CandidacyBond (r:0 w:1)
|
// Storage: CollatorSelection CandidacyBond (r:0 w:1)
|
||||||
fn set_candidacy_bond() -> Weight {
|
fn set_candidacy_bond() -> Weight {
|
||||||
(9_226_000 as Weight)
|
(8_830_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||||
@@ -70,18 +71,18 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
|||||||
// Storage: CollatorSelection CandidacyBond (r:1 w:0)
|
// Storage: CollatorSelection CandidacyBond (r:1 w:0)
|
||||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||||
fn register_as_candidate(c: u32, ) -> Weight {
|
fn register_as_candidate(c: u32, ) -> Weight {
|
||||||
(47_870_000 as Weight)
|
(49_340_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((96_000 as Weight).saturating_mul(c as Weight))
|
.saturating_add((73_000 as Weight).saturating_mul(c as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||||
fn leave_intent(c: u32, ) -> Weight {
|
fn leave_intent(c: u32, ) -> Weight {
|
||||||
(49_602_000 as Weight)
|
(47_670_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((105_000 as Weight).saturating_mul(c as Weight))
|
.saturating_add((84_000 as Weight).saturating_mul(c as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
@@ -89,7 +90,7 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
|||||||
// Storage: System BlockWeight (r:1 w:1)
|
// Storage: System BlockWeight (r:1 w:1)
|
||||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||||
fn note_author() -> Weight {
|
fn note_author() -> Weight {
|
||||||
(31_361_000 as Weight)
|
(31_969_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||||
}
|
}
|
||||||
@@ -100,10 +101,10 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
|||||||
// Storage: System BlockWeight (r:1 w:1)
|
// Storage: System BlockWeight (r:1 w:1)
|
||||||
fn new_session(r: u32, c: u32, ) -> Weight {
|
fn new_session(r: u32, c: u32, ) -> Weight {
|
||||||
(0 as Weight)
|
(0 as Weight)
|
||||||
// Standard Error: 2_219_000
|
// Standard Error: 1_622_000
|
||||||
.saturating_add((13_259_000 as Weight).saturating_mul(r as Weight))
|
.saturating_add((9_012_000 as Weight).saturating_mul(r as Weight))
|
||||||
// Standard Error: 2_219_000
|
// Standard Error: 1_622_000
|
||||||
.saturating_add((58_670_000 as Weight).saturating_mul(c as Weight))
|
.saturating_add((43_791_000 as Weight).saturating_mul(c as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight)))
|
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight)))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight)))
|
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight)))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(c as Weight)))
|
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(c as Weight)))
|
||||||
|
|||||||
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `pallet_multisig`
|
//! Autogenerated weights for `pallet_multisig`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=statemine-dev
|
// --chain=statemine-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-statemine.json
|
// --json-file=./bench-statemine.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/statemine/src/weights
|
// --output=./parachains/runtimes/assets/statemine/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -44,19 +45,17 @@ use sp_std::marker::PhantomData;
|
|||||||
/// Weight functions for `pallet_multisig`.
|
/// Weight functions for `pallet_multisig`.
|
||||||
pub struct WeightInfo<T>(PhantomData<T>);
|
pub struct WeightInfo<T>(PhantomData<T>);
|
||||||
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||||
fn as_multi_threshold_1(z: u32, ) -> Weight {
|
fn as_multi_threshold_1(_z: u32, ) -> Weight {
|
||||||
(12_699_000 as Weight)
|
(11_793_000 as Weight)
|
||||||
// Standard Error: 0
|
|
||||||
.saturating_add((1_000 as Weight).saturating_mul(z as Weight))
|
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||||
fn as_multi_create(s: u32, z: u32, ) -> Weight {
|
fn as_multi_create(s: u32, z: u32, ) -> Weight {
|
||||||
(27_757_000 as Weight)
|
(31_457_000 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((113_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((89_000 as Weight).saturating_mul(s as Weight))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((2_000 as Weight).saturating_mul(z as Weight))
|
.saturating_add((1_000 as Weight).saturating_mul(z as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
@@ -64,9 +63,9 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||||
fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
|
fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
|
||||||
(30_855_000 as Weight)
|
(33_873_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((112_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((92_000 as Weight).saturating_mul(s as Weight))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((2_000 as Weight).saturating_mul(z as Weight))
|
.saturating_add((2_000 as Weight).saturating_mul(z as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||||
@@ -74,20 +73,20 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
|||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
|
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
|
||||||
(16_828_000 as Weight)
|
(20_886_000 as Weight)
|
||||||
|
// Standard Error: 1_000
|
||||||
|
.saturating_add((78_000 as Weight).saturating_mul(s as Weight))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((120_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((1_000 as Weight).saturating_mul(z as Weight))
|
||||||
// Standard Error: 0
|
|
||||||
.saturating_add((2_000 as Weight).saturating_mul(z as Weight))
|
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
|
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
|
||||||
(29_937_000 as Weight)
|
(32_658_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((123_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((88_000 as Weight).saturating_mul(s as Weight))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((2_000 as Weight).saturating_mul(z as Weight))
|
.saturating_add((2_000 as Weight).saturating_mul(z as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
@@ -97,29 +96,29 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
|
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
|
||||||
(38_564_000 as Weight)
|
(40_252_000 as Weight)
|
||||||
|
// Standard Error: 1_000
|
||||||
|
.saturating_add((123_000 as Weight).saturating_mul(s as Weight))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((162_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((2_000 as Weight).saturating_mul(z as Weight))
|
||||||
// Standard Error: 0
|
|
||||||
.saturating_add((4_000 as Weight).saturating_mul(z as Weight))
|
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||||
fn approve_as_multi_create(s: u32, ) -> Weight {
|
fn approve_as_multi_create(s: u32, ) -> Weight {
|
||||||
(27_560_000 as Weight)
|
(28_117_000 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 1_000
|
||||||
.saturating_add((112_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((105_000 as Weight).saturating_mul(s as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:0)
|
// Storage: Multisig Calls (r:1 w:0)
|
||||||
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
||||||
(16_925_000 as Weight)
|
(17_435_000 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((121_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((99_000 as Weight).saturating_mul(s as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
@@ -127,18 +126,18 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn approve_as_multi_complete(s: u32, ) -> Weight {
|
fn approve_as_multi_complete(s: u32, ) -> Weight {
|
||||||
(71_474_000 as Weight)
|
(56_681_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((164_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((137_000 as Weight).saturating_mul(s as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
fn cancel_as_multi(s: u32, ) -> Weight {
|
fn cancel_as_multi(s: u32, ) -> Weight {
|
||||||
(49_848_000 as Weight)
|
(44_968_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((111_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((107_000 as Weight).saturating_mul(s as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `pallet_proxy`
|
//! Autogenerated weights for `pallet_proxy`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=statemine-dev
|
// --chain=statemine-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-statemine.json
|
// --json-file=./bench-statemine.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/statemine/src/weights
|
// --output=./parachains/runtimes/assets/statemine/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -46,42 +47,42 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: Proxy Proxies (r:1 w:0)
|
// Storage: Proxy Proxies (r:1 w:0)
|
||||||
fn proxy(p: u32, ) -> Weight {
|
fn proxy(p: u32, ) -> Weight {
|
||||||
(13_530_000 as Weight)
|
(13_370_000 as Weight)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((91_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((76_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:0)
|
// Storage: Proxy Proxies (r:1 w:0)
|
||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn proxy_announced(a: u32, p: u32, ) -> Weight {
|
fn proxy_announced(a: u32, p: u32, ) -> Weight {
|
||||||
(29_316_000 as Weight)
|
(29_628_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 2_000
|
||||||
.saturating_add((218_000 as Weight).saturating_mul(a as Weight))
|
.saturating_add((172_000 as Weight).saturating_mul(a as Weight))
|
||||||
// Standard Error: 1_000
|
// Standard Error: 2_000
|
||||||
.saturating_add((92_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((91_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn remove_announcement(a: u32, p: u32, ) -> Weight {
|
fn remove_announcement(a: u32, p: u32, ) -> Weight {
|
||||||
(19_752_000 as Weight)
|
(20_690_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 2_000
|
||||||
.saturating_add((230_000 as Weight).saturating_mul(a as Weight))
|
.saturating_add((178_000 as Weight).saturating_mul(a as Weight))
|
||||||
// Standard Error: 1_000
|
// Standard Error: 2_000
|
||||||
.saturating_add((14_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((25_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn reject_announcement(a: u32, p: u32, ) -> Weight {
|
fn reject_announcement(a: u32, p: u32, ) -> Weight {
|
||||||
(19_699_000 as Weight)
|
(20_705_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((231_000 as Weight).saturating_mul(a as Weight))
|
.saturating_add((172_000 as Weight).saturating_mul(a as Weight))
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((16_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((27_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
@@ -89,52 +90,52 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn announce(a: u32, p: u32, ) -> Weight {
|
fn announce(a: u32, p: u32, ) -> Weight {
|
||||||
(27_298_000 as Weight)
|
(28_504_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 2_000
|
||||||
.saturating_add((218_000 as Weight).saturating_mul(a as Weight))
|
.saturating_add((154_000 as Weight).saturating_mul(a as Weight))
|
||||||
// Standard Error: 1_000
|
// Standard Error: 2_000
|
||||||
.saturating_add((88_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((82_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
fn add_proxy(p: u32, ) -> Weight {
|
fn add_proxy(p: u32, ) -> Weight {
|
||||||
(22_349_000 as Weight)
|
(23_725_000 as Weight)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 3_000
|
||||||
.saturating_add((147_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((107_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
fn remove_proxy(p: u32, ) -> Weight {
|
fn remove_proxy(p: u32, ) -> Weight {
|
||||||
(18_618_000 as Weight)
|
(23_878_000 as Weight)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add((161_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((104_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
fn remove_proxies(p: u32, ) -> Weight {
|
fn remove_proxies(p: u32, ) -> Weight {
|
||||||
(18_655_000 as Weight)
|
(19_794_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 2_000
|
||||||
.saturating_add((85_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((66_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
fn anonymous(p: u32, ) -> Weight {
|
fn anonymous(p: u32, ) -> Weight {
|
||||||
(25_367_000 as Weight)
|
(26_583_000 as Weight)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add((29_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((21_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
fn kill_anonymous(p: u32, ) -> Weight {
|
fn kill_anonymous(p: u32, ) -> Weight {
|
||||||
(19_688_000 as Weight)
|
(20_573_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 2_000
|
||||||
.saturating_add((84_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((68_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `pallet_session`
|
//! Autogenerated weights for `pallet_session`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=statemine-dev
|
// --chain=statemine-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-statemine.json
|
// --json-file=./bench-statemine.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/statemine/src/weights
|
// --output=./parachains/runtimes/assets/statemine/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -47,14 +48,14 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Session NextKeys (r:1 w:1)
|
// Storage: Session NextKeys (r:1 w:1)
|
||||||
// Storage: Session KeyOwner (r:1 w:1)
|
// Storage: Session KeyOwner (r:1 w:1)
|
||||||
fn set_keys() -> Weight {
|
fn set_keys() -> Weight {
|
||||||
(11_938_000 as Weight)
|
(13_104_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Session NextKeys (r:1 w:1)
|
// Storage: Session NextKeys (r:1 w:1)
|
||||||
// Storage: Session KeyOwner (r:0 w:1)
|
// Storage: Session KeyOwner (r:0 w:1)
|
||||||
fn purge_keys() -> Weight {
|
fn purge_keys() -> Weight {
|
||||||
(9_197_000 as Weight)
|
(10_083_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `pallet_timestamp`
|
//! Autogenerated weights for `pallet_timestamp`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=statemine-dev
|
// --chain=statemine-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-statemine.json
|
// --json-file=./bench-statemine.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/statemine/src/weights
|
// --output=./parachains/runtimes/assets/statemine/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -46,11 +47,11 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: Timestamp Now (r:1 w:1)
|
// Storage: Timestamp Now (r:1 w:1)
|
||||||
fn set() -> Weight {
|
fn set() -> Weight {
|
||||||
(3_420_000 as Weight)
|
(3_852_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
fn on_finalize() -> Weight {
|
fn on_finalize() -> Weight {
|
||||||
(2_265_000 as Weight)
|
(2_335_000 as Weight)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `pallet_uniques`
|
//! Autogenerated weights for `pallet_uniques`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=statemine-dev
|
// --chain=statemine-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-statemine.json
|
// --json-file=./bench-statemine.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/statemine/src/weights
|
// --output=./parachains/runtimes/assets/statemine/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -47,14 +48,14 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||||
fn create() -> Weight {
|
fn create() -> Weight {
|
||||||
(23_105_000 as Weight)
|
(23_692_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||||
fn force_create() -> Weight {
|
fn force_create() -> Weight {
|
||||||
(13_084_000 as Weight)
|
(13_308_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
@@ -67,12 +68,12 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Uniques Account (r:0 w:20)
|
// Storage: Uniques Account (r:0 w:20)
|
||||||
fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
|
fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
|
||||||
(0 as Weight)
|
(0 as Weight)
|
||||||
// Standard Error: 14_000
|
// Standard Error: 17_000
|
||||||
.saturating_add((9_091_000 as Weight).saturating_mul(n as Weight))
|
.saturating_add((9_675_000 as Weight).saturating_mul(n as Weight))
|
||||||
// Standard Error: 14_000
|
// Standard Error: 17_000
|
||||||
.saturating_add((977_000 as Weight).saturating_mul(m as Weight))
|
.saturating_add((975_000 as Weight).saturating_mul(m as Weight))
|
||||||
// Standard Error: 14_000
|
// Standard Error: 17_000
|
||||||
.saturating_add((864_000 as Weight).saturating_mul(a as Weight))
|
.saturating_add((860_000 as Weight).saturating_mul(a as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight)))
|
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight)))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||||
@@ -82,17 +83,18 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
}
|
}
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
|
// Storage: Uniques CollectionMaxSupply (r:1 w:0)
|
||||||
// Storage: Uniques Account (r:0 w:1)
|
// Storage: Uniques Account (r:0 w:1)
|
||||||
fn mint() -> Weight {
|
fn mint() -> Weight {
|
||||||
(28_885_000 as Weight)
|
(31_547_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Account (r:0 w:1)
|
// Storage: Uniques Account (r:0 w:1)
|
||||||
fn burn() -> Weight {
|
fn burn() -> Weight {
|
||||||
(30_093_000 as Weight)
|
(30_845_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||||
}
|
}
|
||||||
@@ -100,7 +102,7 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Account (r:0 w:2)
|
// Storage: Uniques Account (r:0 w:2)
|
||||||
fn transfer() -> Weight {
|
fn transfer() -> Weight {
|
||||||
(22_434_000 as Weight)
|
(23_188_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||||
}
|
}
|
||||||
@@ -108,8 +110,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Uniques Asset (r:100 w:100)
|
// Storage: Uniques Asset (r:100 w:100)
|
||||||
fn redeposit(i: u32, ) -> Weight {
|
fn redeposit(i: u32, ) -> Weight {
|
||||||
(0 as Weight)
|
(0 as Weight)
|
||||||
// Standard Error: 12_000
|
// Standard Error: 13_000
|
||||||
.saturating_add((11_849_000 as Weight).saturating_mul(i as Weight))
|
.saturating_add((12_385_000 as Weight).saturating_mul(i as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(i as Weight)))
|
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(i as Weight)))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
@@ -118,47 +120,47 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
fn freeze() -> Weight {
|
fn freeze() -> Weight {
|
||||||
(17_567_000 as Weight)
|
(18_475_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
fn thaw() -> Weight {
|
fn thaw() -> Weight {
|
||||||
(17_245_000 as Weight)
|
(18_166_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
fn freeze_collection() -> Weight {
|
fn freeze_collection() -> Weight {
|
||||||
(13_243_000 as Weight)
|
(13_385_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
fn thaw_collection() -> Weight {
|
fn thaw_collection() -> Weight {
|
||||||
(12_996_000 as Weight)
|
(13_377_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
|
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
|
||||||
// Storage: Uniques ClassAccount (r:0 w:2)
|
// Storage: Uniques ClassAccount (r:0 w:2)
|
||||||
fn transfer_ownership() -> Weight {
|
fn transfer_ownership() -> Weight {
|
||||||
(29_714_000 as Weight)
|
(20_471_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
fn set_team() -> Weight {
|
fn set_team() -> Weight {
|
||||||
(13_567_000 as Weight)
|
(13_902_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||||
fn force_item_status() -> Weight {
|
fn force_item_status() -> Weight {
|
||||||
(16_719_000 as Weight)
|
(16_642_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
@@ -166,7 +168,7 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
||||||
// Storage: Uniques Attribute (r:1 w:1)
|
// Storage: Uniques Attribute (r:1 w:1)
|
||||||
fn set_attribute() -> Weight {
|
fn set_attribute() -> Weight {
|
||||||
(36_533_000 as Weight)
|
(37_957_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
@@ -174,64 +176,63 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
||||||
// Storage: Uniques Attribute (r:1 w:1)
|
// Storage: Uniques Attribute (r:1 w:1)
|
||||||
fn clear_attribute() -> Weight {
|
fn clear_attribute() -> Weight {
|
||||||
(34_897_000 as Weight)
|
(35_937_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
||||||
fn set_metadata() -> Weight {
|
fn set_metadata() -> Weight {
|
||||||
(28_928_000 as Weight)
|
(30_125_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
||||||
fn clear_metadata() -> Weight {
|
fn clear_metadata() -> Weight {
|
||||||
(28_986_000 as Weight)
|
(29_919_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
||||||
fn set_collection_metadata() -> Weight {
|
fn set_collection_metadata() -> Weight {
|
||||||
(28_446_000 as Weight)
|
(28_912_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
||||||
fn clear_collection_metadata() -> Weight {
|
fn clear_collection_metadata() -> Weight {
|
||||||
(26_425_000 as Weight)
|
(26_897_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
fn approve_transfer() -> Weight {
|
fn approve_transfer() -> Weight {
|
||||||
(19_368_000 as Weight)
|
(19_927_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
fn cancel_approval() -> Weight {
|
fn cancel_approval() -> Weight {
|
||||||
(19_094_000 as Weight)
|
(19_894_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
|
||||||
fn set_accept_ownership() -> Weight {
|
fn set_accept_ownership() -> Weight {
|
||||||
(19_417_000 as Weight)
|
(17_053_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
|
// Storage: Uniques CollectionMaxSupply (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
|
||||||
fn set_collection_max_supply() -> Weight {
|
fn set_collection_max_supply() -> Weight {
|
||||||
(19_417_000 as Weight)
|
(16_929_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `pallet_utility`
|
//! Autogenerated weights for `pallet_utility`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=statemine-dev
|
// --chain=statemine-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-statemine.json
|
// --json-file=./bench-statemine.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/statemine/src/weights
|
// --output=./parachains/runtimes/assets/statemine/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -45,26 +46,24 @@ use sp_std::marker::PhantomData;
|
|||||||
pub struct WeightInfo<T>(PhantomData<T>);
|
pub struct WeightInfo<T>(PhantomData<T>);
|
||||||
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
||||||
fn batch(c: u32, ) -> Weight {
|
fn batch(c: u32, ) -> Weight {
|
||||||
(15_856_000 as Weight)
|
(13_031_000 as Weight)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((3_602_000 as Weight).saturating_mul(c as Weight))
|
.saturating_add((2_829_000 as Weight).saturating_mul(c as Weight))
|
||||||
}
|
}
|
||||||
fn as_derivative() -> Weight {
|
fn as_derivative() -> Weight {
|
||||||
(2_394_000 as Weight)
|
(1_740_000 as Weight)
|
||||||
}
|
}
|
||||||
fn batch_all(c: u32, ) -> Weight {
|
fn batch_all(c: u32, ) -> Weight {
|
||||||
(18_190_000 as Weight)
|
(17_846_000 as Weight)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add((3_901_000 as Weight).saturating_mul(c as Weight))
|
.saturating_add((3_074_000 as Weight).saturating_mul(c as Weight))
|
||||||
}
|
}
|
||||||
fn dispatch_as() -> Weight {
|
fn dispatch_as() -> Weight {
|
||||||
(8_310_000 as Weight)
|
(8_741_000 as Weight)
|
||||||
}
|
}
|
||||||
fn force_batch(c: u32, ) -> Weight {
|
fn force_batch(c: u32, ) -> Weight {
|
||||||
(13_470_000 as Weight)
|
(11_543_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((4_229_000 as Weight).saturating_mul(c as Weight))
|
.saturating_add((2_832_000 as Weight).saturating_mul(c as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+6
-5
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `cumulus_pallet_xcmp_queue`
|
//! Autogenerated weights for `cumulus_pallet_xcmp_queue`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=statemint-dev
|
// --chain=statemint-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-statemint.json
|
// --json-file=./bench-statemint.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/statemint/src/weights
|
// --output=./parachains/runtimes/assets/statemint/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -46,13 +47,13 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
||||||
fn set_config_with_u32() -> Weight {
|
fn set_config_with_u32() -> Weight {
|
||||||
(2_711_000 as Weight)
|
(2_947_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
||||||
fn set_config_with_weight() -> Weight {
|
fn set_config_with_weight() -> Weight {
|
||||||
(2_627_000 as Weight)
|
(2_953_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `frame_system`
|
//! Autogenerated weights for `frame_system`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=statemint-dev
|
// --chain=statemint-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-statemint.json
|
// --json-file=./bench-statemint.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/statemint/src/weights
|
// --output=./parachains/runtimes/assets/statemint/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -44,20 +45,18 @@ use sp_std::marker::PhantomData;
|
|||||||
/// Weight functions for `frame_system`.
|
/// Weight functions for `frame_system`.
|
||||||
pub struct WeightInfo<T>(PhantomData<T>);
|
pub struct WeightInfo<T>(PhantomData<T>);
|
||||||
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||||
fn remark(b: u32, ) -> Weight {
|
fn remark(_b: u32, ) -> Weight {
|
||||||
(0 as Weight)
|
(0 as Weight)
|
||||||
// Standard Error: 0
|
|
||||||
.saturating_add((1_000 as Weight).saturating_mul(b as Weight))
|
|
||||||
}
|
}
|
||||||
fn remark_with_event(b: u32, ) -> Weight {
|
fn remark_with_event(b: u32, ) -> Weight {
|
||||||
(0 as Weight)
|
(0 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((2_000 as Weight).saturating_mul(b as Weight))
|
.saturating_add((1_000 as Weight).saturating_mul(b as Weight))
|
||||||
}
|
}
|
||||||
// Storage: System Digest (r:1 w:1)
|
// Storage: System Digest (r:1 w:1)
|
||||||
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
|
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
|
||||||
fn set_heap_pages() -> Weight {
|
fn set_heap_pages() -> Weight {
|
||||||
(2_470_000 as Weight)
|
(2_796_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
@@ -65,21 +64,21 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
|||||||
fn set_storage(i: u32, ) -> Weight {
|
fn set_storage(i: u32, ) -> Weight {
|
||||||
(0 as Weight)
|
(0 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((403_000 as Weight).saturating_mul(i as Weight))
|
.saturating_add((406_000 as Weight).saturating_mul(i as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
|
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
|
||||||
}
|
}
|
||||||
// Storage: Skipped Metadata (r:0 w:0)
|
// Storage: Skipped Metadata (r:0 w:0)
|
||||||
fn kill_storage(i: u32, ) -> Weight {
|
fn kill_storage(i: u32, ) -> Weight {
|
||||||
(0 as Weight)
|
(0 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((304_000 as Weight).saturating_mul(i as Weight))
|
.saturating_add((300_000 as Weight).saturating_mul(i as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
|
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
|
||||||
}
|
}
|
||||||
// Storage: Skipped Metadata (r:0 w:0)
|
// Storage: Skipped Metadata (r:0 w:0)
|
||||||
fn kill_prefix(p: u32, ) -> Weight {
|
fn kill_prefix(p: u32, ) -> Weight {
|
||||||
(0 as Weight)
|
(0 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 0
|
||||||
.saturating_add((677_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((675_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight)))
|
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `pallet_assets`
|
//! Autogenerated weights for `pallet_assets`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=statemint-dev
|
// --chain=statemint-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-statemint.json
|
// --json-file=./bench-statemint.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/statemint/src/weights
|
// --output=./parachains/runtimes/assets/statemint/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -46,13 +47,13 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn create() -> Weight {
|
fn create() -> Weight {
|
||||||
(21_863_000 as Weight)
|
(21_125_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn force_create() -> Weight {
|
fn force_create() -> Weight {
|
||||||
(12_397_000 as Weight)
|
(11_436_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
@@ -63,12 +64,12 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Assets Approvals (r:501 w:500)
|
// Storage: Assets Approvals (r:501 w:500)
|
||||||
fn destroy(c: u32, s: u32, a: u32, ) -> Weight {
|
fn destroy(c: u32, s: u32, a: u32, ) -> Weight {
|
||||||
(0 as Weight)
|
(0 as Weight)
|
||||||
// Standard Error: 33_000
|
// Standard Error: 41_000
|
||||||
.saturating_add((13_738_000 as Weight).saturating_mul(c as Weight))
|
.saturating_add((14_276_000 as Weight).saturating_mul(c as Weight))
|
||||||
// Standard Error: 33_000
|
// Standard Error: 41_000
|
||||||
.saturating_add((16_229_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((17_058_000 as Weight).saturating_mul(s as Weight))
|
||||||
// Standard Error: 333_000
|
// Standard Error: 413_000
|
||||||
.saturating_add((16_128_000 as Weight).saturating_mul(a as Weight))
|
.saturating_add((16_349_000 as Weight).saturating_mul(a as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight)))
|
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight)))
|
||||||
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight)))
|
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight)))
|
||||||
@@ -81,14 +82,14 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Account (r:1 w:1)
|
// Storage: Assets Account (r:1 w:1)
|
||||||
fn mint() -> Weight {
|
fn mint() -> Weight {
|
||||||
(25_048_000 as Weight)
|
(25_174_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Account (r:1 w:1)
|
// Storage: Assets Account (r:1 w:1)
|
||||||
fn burn() -> Weight {
|
fn burn() -> Weight {
|
||||||
(28_836_000 as Weight)
|
(28_685_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
@@ -96,7 +97,7 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Assets Account (r:2 w:2)
|
// Storage: Assets Account (r:2 w:2)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer() -> Weight {
|
fn transfer() -> Weight {
|
||||||
(41_618_000 as Weight)
|
(41_884_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||||
}
|
}
|
||||||
@@ -104,7 +105,7 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Assets Account (r:2 w:2)
|
// Storage: Assets Account (r:2 w:2)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer_keep_alive() -> Weight {
|
fn transfer_keep_alive() -> Weight {
|
||||||
(34_970_000 as Weight)
|
(34_928_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||||
}
|
}
|
||||||
@@ -112,93 +113,93 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Assets Account (r:2 w:2)
|
// Storage: Assets Account (r:2 w:2)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn force_transfer() -> Weight {
|
fn force_transfer() -> Weight {
|
||||||
(41_599_000 as Weight)
|
(41_850_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Account (r:1 w:1)
|
// Storage: Assets Account (r:1 w:1)
|
||||||
fn freeze() -> Weight {
|
fn freeze() -> Weight {
|
||||||
(17_589_000 as Weight)
|
(17_476_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Account (r:1 w:1)
|
// Storage: Assets Account (r:1 w:1)
|
||||||
fn thaw() -> Weight {
|
fn thaw() -> Weight {
|
||||||
(17_125_000 as Weight)
|
(16_933_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn freeze_asset() -> Weight {
|
fn freeze_asset() -> Weight {
|
||||||
(14_462_000 as Weight)
|
(14_108_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn thaw_asset() -> Weight {
|
fn thaw_asset() -> Weight {
|
||||||
(14_305_000 as Weight)
|
(13_892_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Metadata (r:1 w:0)
|
// Storage: Assets Metadata (r:1 w:0)
|
||||||
fn transfer_ownership() -> Weight {
|
fn transfer_ownership() -> Weight {
|
||||||
(14_822_000 as Weight)
|
(15_156_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn set_team() -> Weight {
|
fn set_team() -> Weight {
|
||||||
(13_671_000 as Weight)
|
(13_664_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Metadata (r:1 w:1)
|
// Storage: Assets Metadata (r:1 w:1)
|
||||||
fn set_metadata(n: u32, s: u32, ) -> Weight {
|
fn set_metadata(n: u32, s: u32, ) -> Weight {
|
||||||
(26_785_000 as Weight)
|
(26_528_000 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((3_000 as Weight).saturating_mul(n as Weight))
|
.saturating_add((4_000 as Weight).saturating_mul(n as Weight))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((3_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((7_000 as Weight).saturating_mul(s as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Metadata (r:1 w:1)
|
// Storage: Assets Metadata (r:1 w:1)
|
||||||
fn clear_metadata() -> Weight {
|
fn clear_metadata() -> Weight {
|
||||||
(26_324_000 as Weight)
|
(26_473_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Metadata (r:1 w:1)
|
// Storage: Assets Metadata (r:1 w:1)
|
||||||
fn force_set_metadata(_n: u32, s: u32, ) -> Weight {
|
fn force_set_metadata(_n: u32, s: u32, ) -> Weight {
|
||||||
(15_401_000 as Weight)
|
(15_111_000 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((2_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((1_000 as Weight).saturating_mul(s as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Metadata (r:1 w:1)
|
// Storage: Assets Metadata (r:1 w:1)
|
||||||
fn force_clear_metadata() -> Weight {
|
fn force_clear_metadata() -> Weight {
|
||||||
(27_105_000 as Weight)
|
(26_530_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn force_asset_status() -> Weight {
|
fn force_asset_status() -> Weight {
|
||||||
(13_699_000 as Weight)
|
(13_531_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Approvals (r:1 w:1)
|
// Storage: Assets Approvals (r:1 w:1)
|
||||||
fn approve_transfer() -> Weight {
|
fn approve_transfer() -> Weight {
|
||||||
(29_677_000 as Weight)
|
(29_424_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
@@ -207,21 +208,21 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Assets Account (r:2 w:2)
|
// Storage: Assets Account (r:2 w:2)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer_approved() -> Weight {
|
fn transfer_approved() -> Weight {
|
||||||
(53_717_000 as Weight)
|
(53_931_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(5 as Weight))
|
.saturating_add(T::DbWeight::get().writes(5 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Approvals (r:1 w:1)
|
// Storage: Assets Approvals (r:1 w:1)
|
||||||
fn cancel_approval() -> Weight {
|
fn cancel_approval() -> Weight {
|
||||||
(30_229_000 as Weight)
|
(30_317_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Approvals (r:1 w:1)
|
// Storage: Assets Approvals (r:1 w:1)
|
||||||
fn force_cancel_approval() -> Weight {
|
fn force_cancel_approval() -> Weight {
|
||||||
(32_073_000 as Weight)
|
(31_712_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `pallet_balances`
|
//! Autogenerated weights for `pallet_balances`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=statemint-dev
|
// --chain=statemint-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-statemint.json
|
// --json-file=./bench-statemint.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/statemint/src/weights
|
// --output=./parachains/runtimes/assets/statemint/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -46,43 +47,43 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer() -> Weight {
|
fn transfer() -> Weight {
|
||||||
(35_007_000 as Weight)
|
(35_623_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer_keep_alive() -> Weight {
|
fn transfer_keep_alive() -> Weight {
|
||||||
(26_281_000 as Weight)
|
(26_691_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn set_balance_creating() -> Weight {
|
fn set_balance_creating() -> Weight {
|
||||||
(15_471_000 as Weight)
|
(16_902_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn set_balance_killing() -> Weight {
|
fn set_balance_killing() -> Weight {
|
||||||
(19_057_000 as Weight)
|
(19_859_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:2 w:2)
|
// Storage: System Account (r:2 w:2)
|
||||||
fn force_transfer() -> Weight {
|
fn force_transfer() -> Weight {
|
||||||
(35_036_000 as Weight)
|
(35_804_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer_all() -> Weight {
|
fn transfer_all() -> Weight {
|
||||||
(31_988_000 as Weight)
|
(32_500_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn force_unreserve() -> Weight {
|
fn force_unreserve() -> Weight {
|
||||||
(14_337_000 as Weight)
|
(15_231_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
|
|||||||
+18
-17
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `pallet_collator_selection`
|
//! Autogenerated weights for `pallet_collator_selection`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=statemint-dev
|
// --chain=statemint-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-statemint.json
|
// --json-file=./bench-statemint.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/statemint/src/weights
|
// --output=./parachains/runtimes/assets/statemint/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -47,20 +48,20 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
|||||||
// Storage: Session NextKeys (r:1 w:0)
|
// Storage: Session NextKeys (r:1 w:0)
|
||||||
// Storage: CollatorSelection Invulnerables (r:0 w:1)
|
// Storage: CollatorSelection Invulnerables (r:0 w:1)
|
||||||
fn set_invulnerables(b: u32, ) -> Weight {
|
fn set_invulnerables(b: u32, ) -> Weight {
|
||||||
(8_883_000 as Weight)
|
(7_491_000 as Weight)
|
||||||
// Standard Error: 3_000
|
// Standard Error: 4_000
|
||||||
.saturating_add((2_927_000 as Weight).saturating_mul(b as Weight))
|
.saturating_add((3_088_000 as Weight).saturating_mul(b as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
|
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
|
// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
|
||||||
fn set_desired_candidates() -> Weight {
|
fn set_desired_candidates() -> Weight {
|
||||||
(9_058_000 as Weight)
|
(8_499_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection CandidacyBond (r:0 w:1)
|
// Storage: CollatorSelection CandidacyBond (r:0 w:1)
|
||||||
fn set_candidacy_bond() -> Weight {
|
fn set_candidacy_bond() -> Weight {
|
||||||
(9_102_000 as Weight)
|
(8_828_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||||
@@ -70,18 +71,18 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
|||||||
// Storage: CollatorSelection CandidacyBond (r:1 w:0)
|
// Storage: CollatorSelection CandidacyBond (r:1 w:0)
|
||||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||||
fn register_as_candidate(c: u32, ) -> Weight {
|
fn register_as_candidate(c: u32, ) -> Weight {
|
||||||
(52_247_000 as Weight)
|
(50_408_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((94_000 as Weight).saturating_mul(c as Weight))
|
.saturating_add((74_000 as Weight).saturating_mul(c as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||||
fn leave_intent(c: u32, ) -> Weight {
|
fn leave_intent(c: u32, ) -> Weight {
|
||||||
(42_428_000 as Weight)
|
(46_529_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((117_000 as Weight).saturating_mul(c as Weight))
|
.saturating_add((88_000 as Weight).saturating_mul(c as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
@@ -89,7 +90,7 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
|||||||
// Storage: System BlockWeight (r:1 w:1)
|
// Storage: System BlockWeight (r:1 w:1)
|
||||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||||
fn note_author() -> Weight {
|
fn note_author() -> Weight {
|
||||||
(30_722_000 as Weight)
|
(32_010_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||||
}
|
}
|
||||||
@@ -100,10 +101,10 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
|||||||
// Storage: System BlockWeight (r:1 w:1)
|
// Storage: System BlockWeight (r:1 w:1)
|
||||||
fn new_session(r: u32, c: u32, ) -> Weight {
|
fn new_session(r: u32, c: u32, ) -> Weight {
|
||||||
(0 as Weight)
|
(0 as Weight)
|
||||||
// Standard Error: 2_230_000
|
// Standard Error: 1_634_000
|
||||||
.saturating_add((13_222_000 as Weight).saturating_mul(r as Weight))
|
.saturating_add((9_177_000 as Weight).saturating_mul(r as Weight))
|
||||||
// Standard Error: 2_230_000
|
// Standard Error: 1_634_000
|
||||||
.saturating_add((58_957_000 as Weight).saturating_mul(c as Weight))
|
.saturating_add((44_101_000 as Weight).saturating_mul(c as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight)))
|
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight)))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight)))
|
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight)))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(c as Weight)))
|
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(c as Weight)))
|
||||||
|
|||||||
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `pallet_multisig`
|
//! Autogenerated weights for `pallet_multisig`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=statemint-dev
|
// --chain=statemint-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-statemint.json
|
// --json-file=./bench-statemint.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/statemint/src/weights
|
// --output=./parachains/runtimes/assets/statemint/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -44,19 +45,17 @@ use sp_std::marker::PhantomData;
|
|||||||
/// Weight functions for `pallet_multisig`.
|
/// Weight functions for `pallet_multisig`.
|
||||||
pub struct WeightInfo<T>(PhantomData<T>);
|
pub struct WeightInfo<T>(PhantomData<T>);
|
||||||
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||||
fn as_multi_threshold_1(z: u32, ) -> Weight {
|
fn as_multi_threshold_1(_z: u32, ) -> Weight {
|
||||||
(13_015_000 as Weight)
|
(11_820_000 as Weight)
|
||||||
// Standard Error: 0
|
|
||||||
.saturating_add((1_000 as Weight).saturating_mul(z as Weight))
|
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||||
fn as_multi_create(s: u32, z: u32, ) -> Weight {
|
fn as_multi_create(s: u32, z: u32, ) -> Weight {
|
||||||
(27_696_000 as Weight)
|
(30_833_000 as Weight)
|
||||||
// Standard Error: 1_000
|
|
||||||
.saturating_add((111_000 as Weight).saturating_mul(s as Weight))
|
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((2_000 as Weight).saturating_mul(z as Weight))
|
.saturating_add((97_000 as Weight).saturating_mul(s as Weight))
|
||||||
|
// Standard Error: 0
|
||||||
|
.saturating_add((1_000 as Weight).saturating_mul(z as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
@@ -64,9 +63,9 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||||
fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
|
fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
|
||||||
(31_594_000 as Weight)
|
(34_326_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((110_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((76_000 as Weight).saturating_mul(s as Weight))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((2_000 as Weight).saturating_mul(z as Weight))
|
.saturating_add((2_000 as Weight).saturating_mul(z as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||||
@@ -74,20 +73,20 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
|||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
|
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
|
||||||
(18_129_000 as Weight)
|
(19_773_000 as Weight)
|
||||||
|
// Standard Error: 1_000
|
||||||
|
.saturating_add((80_000 as Weight).saturating_mul(s as Weight))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((117_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((1_000 as Weight).saturating_mul(z as Weight))
|
||||||
// Standard Error: 0
|
|
||||||
.saturating_add((2_000 as Weight).saturating_mul(z as Weight))
|
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
|
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
|
||||||
(30_517_000 as Weight)
|
(32_978_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((123_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((88_000 as Weight).saturating_mul(s as Weight))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((2_000 as Weight).saturating_mul(z as Weight))
|
.saturating_add((2_000 as Weight).saturating_mul(z as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
@@ -97,29 +96,29 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
|
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
|
||||||
(38_882_000 as Weight)
|
(43_388_000 as Weight)
|
||||||
|
// Standard Error: 1_000
|
||||||
|
.saturating_add((115_000 as Weight).saturating_mul(s as Weight))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((170_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((2_000 as Weight).saturating_mul(z as Weight))
|
||||||
// Standard Error: 0
|
|
||||||
.saturating_add((4_000 as Weight).saturating_mul(z as Weight))
|
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||||
fn approve_as_multi_create(s: u32, ) -> Weight {
|
fn approve_as_multi_create(s: u32, ) -> Weight {
|
||||||
(27_825_000 as Weight)
|
(28_277_000 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 1_000
|
||||||
.saturating_add((117_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((106_000 as Weight).saturating_mul(s as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:0)
|
// Storage: Multisig Calls (r:1 w:0)
|
||||||
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
||||||
(17_556_000 as Weight)
|
(17_706_000 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((118_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((99_000 as Weight).saturating_mul(s as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
@@ -127,18 +126,18 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn approve_as_multi_complete(s: u32, ) -> Weight {
|
fn approve_as_multi_complete(s: u32, ) -> Weight {
|
||||||
(72_797_000 as Weight)
|
(56_982_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((166_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((142_000 as Weight).saturating_mul(s as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
fn cancel_as_multi(s: u32, ) -> Weight {
|
fn cancel_as_multi(s: u32, ) -> Weight {
|
||||||
(50_955_000 as Weight)
|
(45_280_000 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 1_000
|
||||||
.saturating_add((112_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((106_000 as Weight).saturating_mul(s as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `pallet_proxy`
|
//! Autogenerated weights for `pallet_proxy`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=statemint-dev
|
// --chain=statemint-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-statemint.json
|
// --json-file=./bench-statemint.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/statemint/src/weights
|
// --output=./parachains/runtimes/assets/statemint/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -46,42 +47,42 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: Proxy Proxies (r:1 w:0)
|
// Storage: Proxy Proxies (r:1 w:0)
|
||||||
fn proxy(p: u32, ) -> Weight {
|
fn proxy(p: u32, ) -> Weight {
|
||||||
(13_697_000 as Weight)
|
(13_319_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((92_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((74_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:0)
|
// Storage: Proxy Proxies (r:1 w:0)
|
||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn proxy_announced(a: u32, p: u32, ) -> Weight {
|
fn proxy_announced(a: u32, p: u32, ) -> Weight {
|
||||||
(29_761_000 as Weight)
|
(29_744_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((225_000 as Weight).saturating_mul(a as Weight))
|
.saturating_add((151_000 as Weight).saturating_mul(a as Weight))
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((90_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((71_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn remove_announcement(a: u32, p: u32, ) -> Weight {
|
fn remove_announcement(a: u32, p: u32, ) -> Weight {
|
||||||
(20_197_000 as Weight)
|
(20_491_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((235_000 as Weight).saturating_mul(a as Weight))
|
.saturating_add((167_000 as Weight).saturating_mul(a as Weight))
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((13_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((20_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn reject_announcement(a: u32, p: u32, ) -> Weight {
|
fn reject_announcement(a: u32, p: u32, ) -> Weight {
|
||||||
(20_483_000 as Weight)
|
(20_322_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((227_000 as Weight).saturating_mul(a as Weight))
|
.saturating_add((168_000 as Weight).saturating_mul(a as Weight))
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((10_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((23_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
@@ -89,52 +90,52 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn announce(a: u32, p: u32, ) -> Weight {
|
fn announce(a: u32, p: u32, ) -> Weight {
|
||||||
(27_439_000 as Weight)
|
(27_196_000 as Weight)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add((222_000 as Weight).saturating_mul(a as Weight))
|
.saturating_add((165_000 as Weight).saturating_mul(a as Weight))
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add((98_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((82_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
fn add_proxy(p: u32, ) -> Weight {
|
fn add_proxy(p: u32, ) -> Weight {
|
||||||
(22_789_000 as Weight)
|
(22_891_000 as Weight)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 3_000
|
||||||
.saturating_add((148_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((112_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
fn remove_proxy(p: u32, ) -> Weight {
|
fn remove_proxy(p: u32, ) -> Weight {
|
||||||
(19_009_000 as Weight)
|
(22_819_000 as Weight)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 3_000
|
||||||
.saturating_add((163_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((123_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
fn remove_proxies(p: u32, ) -> Weight {
|
fn remove_proxies(p: u32, ) -> Weight {
|
||||||
(18_810_000 as Weight)
|
(19_067_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((102_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((75_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
fn anonymous(p: u32, ) -> Weight {
|
fn anonymous(p: u32, ) -> Weight {
|
||||||
(25_779_000 as Weight)
|
(25_335_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 2_000
|
||||||
.saturating_add((33_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((35_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
fn kill_anonymous(p: u32, ) -> Weight {
|
fn kill_anonymous(p: u32, ) -> Weight {
|
||||||
(19_961_000 as Weight)
|
(20_262_000 as Weight)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add((90_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((70_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `pallet_session`
|
//! Autogenerated weights for `pallet_session`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=statemint-dev
|
// --chain=statemint-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-statemint.json
|
// --json-file=./bench-statemint.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/statemint/src/weights
|
// --output=./parachains/runtimes/assets/statemint/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -47,14 +48,14 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Session NextKeys (r:1 w:1)
|
// Storage: Session NextKeys (r:1 w:1)
|
||||||
// Storage: Session KeyOwner (r:1 w:1)
|
// Storage: Session KeyOwner (r:1 w:1)
|
||||||
fn set_keys() -> Weight {
|
fn set_keys() -> Weight {
|
||||||
(12_325_000 as Weight)
|
(12_809_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Session NextKeys (r:1 w:1)
|
// Storage: Session NextKeys (r:1 w:1)
|
||||||
// Storage: Session KeyOwner (r:0 w:1)
|
// Storage: Session KeyOwner (r:0 w:1)
|
||||||
fn purge_keys() -> Weight {
|
fn purge_keys() -> Weight {
|
||||||
(9_910_000 as Weight)
|
(9_844_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `pallet_timestamp`
|
//! Autogenerated weights for `pallet_timestamp`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=statemint-dev
|
// --chain=statemint-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-statemint.json
|
// --json-file=./bench-statemint.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/statemint/src/weights
|
// --output=./parachains/runtimes/assets/statemint/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -46,11 +47,11 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: Timestamp Now (r:1 w:1)
|
// Storage: Timestamp Now (r:1 w:1)
|
||||||
fn set() -> Weight {
|
fn set() -> Weight {
|
||||||
(3_509_000 as Weight)
|
(3_742_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
fn on_finalize() -> Weight {
|
fn on_finalize() -> Weight {
|
||||||
(2_157_000 as Weight)
|
(2_217_000 as Weight)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `pallet_uniques`
|
//! Autogenerated weights for `pallet_uniques`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=statemint-dev
|
// --chain=statemint-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-statemint.json
|
// --json-file=./bench-statemint.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/statemint/src/weights
|
// --output=./parachains/runtimes/assets/statemint/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -47,14 +48,14 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||||
fn create() -> Weight {
|
fn create() -> Weight {
|
||||||
(23_032_000 as Weight)
|
(22_749_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||||
fn force_create() -> Weight {
|
fn force_create() -> Weight {
|
||||||
(13_321_000 as Weight)
|
(13_806_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
@@ -67,12 +68,12 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Uniques Account (r:0 w:20)
|
// Storage: Uniques Account (r:0 w:20)
|
||||||
fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
|
fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
|
||||||
(0 as Weight)
|
(0 as Weight)
|
||||||
// Standard Error: 14_000
|
// Standard Error: 16_000
|
||||||
.saturating_add((8_952_000 as Weight).saturating_mul(n as Weight))
|
.saturating_add((9_523_000 as Weight).saturating_mul(n as Weight))
|
||||||
// Standard Error: 14_000
|
// Standard Error: 16_000
|
||||||
.saturating_add((859_000 as Weight).saturating_mul(m as Weight))
|
.saturating_add((1_015_000 as Weight).saturating_mul(m as Weight))
|
||||||
// Standard Error: 14_000
|
// Standard Error: 16_000
|
||||||
.saturating_add((698_000 as Weight).saturating_mul(a as Weight))
|
.saturating_add((957_000 as Weight).saturating_mul(a as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight)))
|
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight)))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||||
@@ -82,17 +83,18 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
}
|
}
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
|
// Storage: Uniques CollectionMaxSupply (r:1 w:0)
|
||||||
// Storage: Uniques Account (r:0 w:1)
|
// Storage: Uniques Account (r:0 w:1)
|
||||||
fn mint() -> Weight {
|
fn mint() -> Weight {
|
||||||
(29_716_000 as Weight)
|
(31_084_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Account (r:0 w:1)
|
// Storage: Uniques Account (r:0 w:1)
|
||||||
fn burn() -> Weight {
|
fn burn() -> Weight {
|
||||||
(29_977_000 as Weight)
|
(30_007_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||||
}
|
}
|
||||||
@@ -100,7 +102,7 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Account (r:0 w:2)
|
// Storage: Uniques Account (r:0 w:2)
|
||||||
fn transfer() -> Weight {
|
fn transfer() -> Weight {
|
||||||
(22_807_000 as Weight)
|
(23_247_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||||
}
|
}
|
||||||
@@ -108,8 +110,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Uniques Asset (r:100 w:100)
|
// Storage: Uniques Asset (r:100 w:100)
|
||||||
fn redeposit(i: u32, ) -> Weight {
|
fn redeposit(i: u32, ) -> Weight {
|
||||||
(0 as Weight)
|
(0 as Weight)
|
||||||
// Standard Error: 14_000
|
// Standard Error: 12_000
|
||||||
.saturating_add((11_919_000 as Weight).saturating_mul(i as Weight))
|
.saturating_add((12_143_000 as Weight).saturating_mul(i as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(i as Weight)))
|
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(i as Weight)))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
@@ -118,47 +120,47 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
fn freeze() -> Weight {
|
fn freeze() -> Weight {
|
||||||
(17_684_000 as Weight)
|
(17_750_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
fn thaw() -> Weight {
|
fn thaw() -> Weight {
|
||||||
(17_465_000 as Weight)
|
(17_991_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
fn freeze_collection() -> Weight {
|
fn freeze_collection() -> Weight {
|
||||||
(13_259_000 as Weight)
|
(13_329_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
fn thaw_collection() -> Weight {
|
fn thaw_collection() -> Weight {
|
||||||
(13_207_000 as Weight)
|
(13_084_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
|
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
|
||||||
// Storage: Uniques ClassAccount (r:0 w:2)
|
// Storage: Uniques ClassAccount (r:0 w:2)
|
||||||
fn transfer_ownership() -> Weight {
|
fn transfer_ownership() -> Weight {
|
||||||
(29_501_000 as Weight)
|
(20_520_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
fn set_team() -> Weight {
|
fn set_team() -> Weight {
|
||||||
(13_808_000 as Weight)
|
(13_873_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||||
fn force_item_status() -> Weight {
|
fn force_item_status() -> Weight {
|
||||||
(16_812_000 as Weight)
|
(15_979_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
@@ -166,7 +168,7 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
||||||
// Storage: Uniques Attribute (r:1 w:1)
|
// Storage: Uniques Attribute (r:1 w:1)
|
||||||
fn set_attribute() -> Weight {
|
fn set_attribute() -> Weight {
|
||||||
(36_347_000 as Weight)
|
(37_161_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
@@ -174,64 +176,63 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
||||||
// Storage: Uniques Attribute (r:1 w:1)
|
// Storage: Uniques Attribute (r:1 w:1)
|
||||||
fn clear_attribute() -> Weight {
|
fn clear_attribute() -> Weight {
|
||||||
(34_931_000 as Weight)
|
(35_578_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
||||||
fn set_metadata() -> Weight {
|
fn set_metadata() -> Weight {
|
||||||
(29_234_000 as Weight)
|
(29_693_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
||||||
fn clear_metadata() -> Weight {
|
fn clear_metadata() -> Weight {
|
||||||
(28_822_000 as Weight)
|
(29_248_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
||||||
fn set_collection_metadata() -> Weight {
|
fn set_collection_metadata() -> Weight {
|
||||||
(28_613_000 as Weight)
|
(28_479_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
||||||
fn clear_collection_metadata() -> Weight {
|
fn clear_collection_metadata() -> Weight {
|
||||||
(26_273_000 as Weight)
|
(26_495_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
fn approve_transfer() -> Weight {
|
fn approve_transfer() -> Weight {
|
||||||
(19_537_000 as Weight)
|
(19_533_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
fn cancel_approval() -> Weight {
|
fn cancel_approval() -> Weight {
|
||||||
(19_292_000 as Weight)
|
(19_479_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
|
||||||
fn set_accept_ownership() -> Weight {
|
fn set_accept_ownership() -> Weight {
|
||||||
(19_417_000 as Weight)
|
(16_551_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
|
// Storage: Uniques CollectionMaxSupply (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
|
||||||
fn set_collection_max_supply() -> Weight {
|
fn set_collection_max_supply() -> Weight {
|
||||||
(19_417_000 as Weight)
|
(16_254_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `pallet_utility`
|
//! Autogenerated weights for `pallet_utility`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=statemint-dev
|
// --chain=statemint-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-statemint.json
|
// --json-file=./bench-statemint.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/statemint/src/weights
|
// --output=./parachains/runtimes/assets/statemint/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -45,26 +46,24 @@ use sp_std::marker::PhantomData;
|
|||||||
pub struct WeightInfo<T>(PhantomData<T>);
|
pub struct WeightInfo<T>(PhantomData<T>);
|
||||||
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
||||||
fn batch(c: u32, ) -> Weight {
|
fn batch(c: u32, ) -> Weight {
|
||||||
(19_538_000 as Weight)
|
(12_413_000 as Weight)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((3_650_000 as Weight).saturating_mul(c as Weight))
|
.saturating_add((3_011_000 as Weight).saturating_mul(c as Weight))
|
||||||
}
|
}
|
||||||
fn as_derivative() -> Weight {
|
fn as_derivative() -> Weight {
|
||||||
(2_477_000 as Weight)
|
(1_748_000 as Weight)
|
||||||
}
|
}
|
||||||
fn batch_all(c: u32, ) -> Weight {
|
fn batch_all(c: u32, ) -> Weight {
|
||||||
(22_204_000 as Weight)
|
(20_755_000 as Weight)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add((3_957_000 as Weight).saturating_mul(c as Weight))
|
.saturating_add((3_254_000 as Weight).saturating_mul(c as Weight))
|
||||||
}
|
}
|
||||||
fn dispatch_as() -> Weight {
|
fn dispatch_as() -> Weight {
|
||||||
(8_834_000 as Weight)
|
(8_936_000 as Weight)
|
||||||
}
|
}
|
||||||
fn force_batch(c: u32, ) -> Weight {
|
fn force_batch(c: u32, ) -> Weight {
|
||||||
(13_470_000 as Weight)
|
(12_159_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((4_229_000 as Weight).saturating_mul(c as Weight))
|
.saturating_add((3_063_000 as Weight).saturating_mul(c as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+6
-5
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `cumulus_pallet_xcmp_queue`
|
//! Autogenerated weights for `cumulus_pallet_xcmp_queue`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=westmint-dev
|
// --chain=westmint-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-westmint.json
|
// --json-file=./bench-westmint.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/westmint/src/weights
|
// --output=./parachains/runtimes/assets/westmint/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -46,13 +47,13 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
||||||
fn set_config_with_u32() -> Weight {
|
fn set_config_with_u32() -> Weight {
|
||||||
(2_598_000 as Weight)
|
(2_926_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
||||||
fn set_config_with_weight() -> Weight {
|
fn set_config_with_weight() -> Weight {
|
||||||
(2_647_000 as Weight)
|
(2_822_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `frame_system`
|
//! Autogenerated weights for `frame_system`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=westmint-dev
|
// --chain=westmint-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-westmint.json
|
// --json-file=./bench-westmint.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/westmint/src/weights
|
// --output=./parachains/runtimes/assets/westmint/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -44,20 +45,18 @@ use sp_std::marker::PhantomData;
|
|||||||
/// Weight functions for `frame_system`.
|
/// Weight functions for `frame_system`.
|
||||||
pub struct WeightInfo<T>(PhantomData<T>);
|
pub struct WeightInfo<T>(PhantomData<T>);
|
||||||
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||||
fn remark(b: u32, ) -> Weight {
|
fn remark(_b: u32, ) -> Weight {
|
||||||
(0 as Weight)
|
(0 as Weight)
|
||||||
// Standard Error: 0
|
|
||||||
.saturating_add((1_000 as Weight).saturating_mul(b as Weight))
|
|
||||||
}
|
}
|
||||||
fn remark_with_event(b: u32, ) -> Weight {
|
fn remark_with_event(b: u32, ) -> Weight {
|
||||||
(0 as Weight)
|
(0 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((2_000 as Weight).saturating_mul(b as Weight))
|
.saturating_add((1_000 as Weight).saturating_mul(b as Weight))
|
||||||
}
|
}
|
||||||
// Storage: System Digest (r:1 w:1)
|
// Storage: System Digest (r:1 w:1)
|
||||||
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
|
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
|
||||||
fn set_heap_pages() -> Weight {
|
fn set_heap_pages() -> Weight {
|
||||||
(2_664_000 as Weight)
|
(2_765_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
@@ -65,21 +64,21 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
|||||||
fn set_storage(i: u32, ) -> Weight {
|
fn set_storage(i: u32, ) -> Weight {
|
||||||
(0 as Weight)
|
(0 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((410_000 as Weight).saturating_mul(i as Weight))
|
.saturating_add((407_000 as Weight).saturating_mul(i as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
|
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
|
||||||
}
|
}
|
||||||
// Storage: Skipped Metadata (r:0 w:0)
|
// Storage: Skipped Metadata (r:0 w:0)
|
||||||
fn kill_storage(i: u32, ) -> Weight {
|
fn kill_storage(i: u32, ) -> Weight {
|
||||||
(0 as Weight)
|
(0 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((310_000 as Weight).saturating_mul(i as Weight))
|
.saturating_add((301_000 as Weight).saturating_mul(i as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
|
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
|
||||||
}
|
}
|
||||||
// Storage: Skipped Metadata (r:0 w:0)
|
// Storage: Skipped Metadata (r:0 w:0)
|
||||||
fn kill_prefix(p: u32, ) -> Weight {
|
fn kill_prefix(p: u32, ) -> Weight {
|
||||||
(0 as Weight)
|
(0 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((667_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((675_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight)))
|
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `pallet_assets`
|
//! Autogenerated weights for `pallet_assets`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=westmint-dev
|
// --chain=westmint-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-westmint.json
|
// --json-file=./bench-westmint.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/westmint/src/weights
|
// --output=./parachains/runtimes/assets/westmint/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -46,13 +47,13 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn create() -> Weight {
|
fn create() -> Weight {
|
||||||
(21_200_000 as Weight)
|
(21_904_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn force_create() -> Weight {
|
fn force_create() -> Weight {
|
||||||
(11_195_000 as Weight)
|
(11_278_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
@@ -63,12 +64,12 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Assets Approvals (r:501 w:500)
|
// Storage: Assets Approvals (r:501 w:500)
|
||||||
fn destroy(c: u32, s: u32, a: u32, ) -> Weight {
|
fn destroy(c: u32, s: u32, a: u32, ) -> Weight {
|
||||||
(0 as Weight)
|
(0 as Weight)
|
||||||
// Standard Error: 35_000
|
// Standard Error: 40_000
|
||||||
.saturating_add((13_500_000 as Weight).saturating_mul(c as Weight))
|
.saturating_add((14_319_000 as Weight).saturating_mul(c as Weight))
|
||||||
// Standard Error: 35_000
|
// Standard Error: 40_000
|
||||||
.saturating_add((16_261_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((17_186_000 as Weight).saturating_mul(s as Weight))
|
||||||
// Standard Error: 354_000
|
// Standard Error: 405_000
|
||||||
.saturating_add((15_962_000 as Weight).saturating_mul(a as Weight))
|
.saturating_add((16_886_000 as Weight).saturating_mul(a as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight)))
|
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight)))
|
||||||
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight)))
|
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight)))
|
||||||
@@ -81,14 +82,14 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Account (r:1 w:1)
|
// Storage: Assets Account (r:1 w:1)
|
||||||
fn mint() -> Weight {
|
fn mint() -> Weight {
|
||||||
(24_295_000 as Weight)
|
(25_484_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Account (r:1 w:1)
|
// Storage: Assets Account (r:1 w:1)
|
||||||
fn burn() -> Weight {
|
fn burn() -> Weight {
|
||||||
(28_157_000 as Weight)
|
(29_034_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
@@ -96,7 +97,7 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Assets Account (r:2 w:2)
|
// Storage: Assets Account (r:2 w:2)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer() -> Weight {
|
fn transfer() -> Weight {
|
||||||
(39_882_000 as Weight)
|
(41_422_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||||
}
|
}
|
||||||
@@ -104,7 +105,7 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Assets Account (r:2 w:2)
|
// Storage: Assets Account (r:2 w:2)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer_keep_alive() -> Weight {
|
fn transfer_keep_alive() -> Weight {
|
||||||
(34_294_000 as Weight)
|
(35_411_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||||
}
|
}
|
||||||
@@ -112,93 +113,91 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Assets Account (r:2 w:2)
|
// Storage: Assets Account (r:2 w:2)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn force_transfer() -> Weight {
|
fn force_transfer() -> Weight {
|
||||||
(41_000_000 as Weight)
|
(42_224_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Account (r:1 w:1)
|
// Storage: Assets Account (r:1 w:1)
|
||||||
fn freeze() -> Weight {
|
fn freeze() -> Weight {
|
||||||
(16_904_000 as Weight)
|
(17_089_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Account (r:1 w:1)
|
// Storage: Assets Account (r:1 w:1)
|
||||||
fn thaw() -> Weight {
|
fn thaw() -> Weight {
|
||||||
(16_618_000 as Weight)
|
(17_264_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn freeze_asset() -> Weight {
|
fn freeze_asset() -> Weight {
|
||||||
(13_786_000 as Weight)
|
(14_186_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn thaw_asset() -> Weight {
|
fn thaw_asset() -> Weight {
|
||||||
(13_482_000 as Weight)
|
(14_050_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Metadata (r:1 w:0)
|
// Storage: Assets Metadata (r:1 w:0)
|
||||||
fn transfer_ownership() -> Weight {
|
fn transfer_ownership() -> Weight {
|
||||||
(14_502_000 as Weight)
|
(15_416_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn set_team() -> Weight {
|
fn set_team() -> Weight {
|
||||||
(13_035_000 as Weight)
|
(13_897_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Metadata (r:1 w:1)
|
// Storage: Assets Metadata (r:1 w:1)
|
||||||
fn set_metadata(n: u32, s: u32, ) -> Weight {
|
fn set_metadata(_n: u32, s: u32, ) -> Weight {
|
||||||
(26_316_000 as Weight)
|
(27_021_000 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((1_000 as Weight).saturating_mul(n as Weight))
|
.saturating_add((1_000 as Weight).saturating_mul(s as Weight))
|
||||||
// Standard Error: 0
|
|
||||||
.saturating_add((3_000 as Weight).saturating_mul(s as Weight))
|
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Metadata (r:1 w:1)
|
// Storage: Assets Metadata (r:1 w:1)
|
||||||
fn clear_metadata() -> Weight {
|
fn clear_metadata() -> Weight {
|
||||||
(25_683_000 as Weight)
|
(26_549_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Metadata (r:1 w:1)
|
// Storage: Assets Metadata (r:1 w:1)
|
||||||
fn force_set_metadata(_n: u32, s: u32, ) -> Weight {
|
fn force_set_metadata(_n: u32, s: u32, ) -> Weight {
|
||||||
(14_517_000 as Weight)
|
(14_947_000 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((2_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((1_000 as Weight).saturating_mul(s as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Metadata (r:1 w:1)
|
// Storage: Assets Metadata (r:1 w:1)
|
||||||
fn force_clear_metadata() -> Weight {
|
fn force_clear_metadata() -> Weight {
|
||||||
(26_239_000 as Weight)
|
(26_334_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn force_asset_status() -> Weight {
|
fn force_asset_status() -> Weight {
|
||||||
(13_044_000 as Weight)
|
(13_291_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Approvals (r:1 w:1)
|
// Storage: Assets Approvals (r:1 w:1)
|
||||||
fn approve_transfer() -> Weight {
|
fn approve_transfer() -> Weight {
|
||||||
(28_954_000 as Weight)
|
(29_781_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
@@ -207,21 +206,21 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Assets Account (r:2 w:2)
|
// Storage: Assets Account (r:2 w:2)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer_approved() -> Weight {
|
fn transfer_approved() -> Weight {
|
||||||
(52_533_000 as Weight)
|
(54_111_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(5 as Weight))
|
.saturating_add(T::DbWeight::get().writes(5 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Approvals (r:1 w:1)
|
// Storage: Assets Approvals (r:1 w:1)
|
||||||
fn cancel_approval() -> Weight {
|
fn cancel_approval() -> Weight {
|
||||||
(29_980_000 as Weight)
|
(30_413_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Approvals (r:1 w:1)
|
// Storage: Assets Approvals (r:1 w:1)
|
||||||
fn force_cancel_approval() -> Weight {
|
fn force_cancel_approval() -> Weight {
|
||||||
(30_987_000 as Weight)
|
(31_635_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `pallet_balances`
|
//! Autogenerated weights for `pallet_balances`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=westmint-dev
|
// --chain=westmint-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-westmint.json
|
// --json-file=./bench-westmint.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/westmint/src/weights
|
// --output=./parachains/runtimes/assets/westmint/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -46,43 +47,43 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer() -> Weight {
|
fn transfer() -> Weight {
|
||||||
(34_518_000 as Weight)
|
(37_133_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer_keep_alive() -> Weight {
|
fn transfer_keep_alive() -> Weight {
|
||||||
(26_614_000 as Weight)
|
(28_339_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn set_balance_creating() -> Weight {
|
fn set_balance_creating() -> Weight {
|
||||||
(15_226_000 as Weight)
|
(16_854_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn set_balance_killing() -> Weight {
|
fn set_balance_killing() -> Weight {
|
||||||
(18_785_000 as Weight)
|
(20_043_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:2 w:2)
|
// Storage: System Account (r:2 w:2)
|
||||||
fn force_transfer() -> Weight {
|
fn force_transfer() -> Weight {
|
||||||
(34_624_000 as Weight)
|
(37_927_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer_all() -> Weight {
|
fn transfer_all() -> Weight {
|
||||||
(32_020_000 as Weight)
|
(34_600_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn force_unreserve() -> Weight {
|
fn force_unreserve() -> Weight {
|
||||||
(14_463_000 as Weight)
|
(15_697_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
|
|||||||
+19
-18
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `pallet_collator_selection`
|
//! Autogenerated weights for `pallet_collator_selection`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=westmint-dev
|
// --chain=westmint-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-westmint.json
|
// --json-file=./bench-westmint.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/westmint/src/weights
|
// --output=./parachains/runtimes/assets/westmint/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -47,20 +48,20 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
|||||||
// Storage: Session NextKeys (r:1 w:0)
|
// Storage: Session NextKeys (r:1 w:0)
|
||||||
// Storage: CollatorSelection Invulnerables (r:0 w:1)
|
// Storage: CollatorSelection Invulnerables (r:0 w:1)
|
||||||
fn set_invulnerables(b: u32, ) -> Weight {
|
fn set_invulnerables(b: u32, ) -> Weight {
|
||||||
(9_558_000 as Weight)
|
(7_367_000 as Weight)
|
||||||
// Standard Error: 3_000
|
// Standard Error: 2_000
|
||||||
.saturating_add((2_853_000 as Weight).saturating_mul(b as Weight))
|
.saturating_add((3_108_000 as Weight).saturating_mul(b as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
|
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
|
// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
|
||||||
fn set_desired_candidates() -> Weight {
|
fn set_desired_candidates() -> Weight {
|
||||||
(8_576_000 as Weight)
|
(8_408_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection CandidacyBond (r:0 w:1)
|
// Storage: CollatorSelection CandidacyBond (r:0 w:1)
|
||||||
fn set_candidacy_bond() -> Weight {
|
fn set_candidacy_bond() -> Weight {
|
||||||
(8_576_000 as Weight)
|
(8_465_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||||
@@ -70,18 +71,18 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
|||||||
// Storage: CollatorSelection CandidacyBond (r:1 w:0)
|
// Storage: CollatorSelection CandidacyBond (r:1 w:0)
|
||||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||||
fn register_as_candidate(c: u32, ) -> Weight {
|
fn register_as_candidate(c: u32, ) -> Weight {
|
||||||
(47_896_000 as Weight)
|
(47_256_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 0
|
||||||
.saturating_add((98_000 as Weight).saturating_mul(c as Weight))
|
.saturating_add((80_000 as Weight).saturating_mul(c as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||||
fn leave_intent(c: u32, ) -> Weight {
|
fn leave_intent(c: u32, ) -> Weight {
|
||||||
(51_772_000 as Weight)
|
(47_184_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((105_000 as Weight).saturating_mul(c as Weight))
|
.saturating_add((93_000 as Weight).saturating_mul(c as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
@@ -89,7 +90,7 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
|||||||
// Storage: System BlockWeight (r:1 w:1)
|
// Storage: System BlockWeight (r:1 w:1)
|
||||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||||
fn note_author() -> Weight {
|
fn note_author() -> Weight {
|
||||||
(30_967_000 as Weight)
|
(31_830_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||||
}
|
}
|
||||||
@@ -100,10 +101,10 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
|||||||
// Storage: System BlockWeight (r:1 w:1)
|
// Storage: System BlockWeight (r:1 w:1)
|
||||||
fn new_session(r: u32, c: u32, ) -> Weight {
|
fn new_session(r: u32, c: u32, ) -> Weight {
|
||||||
(0 as Weight)
|
(0 as Weight)
|
||||||
// Standard Error: 2_210_000
|
// Standard Error: 1_712_000
|
||||||
.saturating_add((13_171_000 as Weight).saturating_mul(r as Weight))
|
.saturating_add((9_418_000 as Weight).saturating_mul(r as Weight))
|
||||||
// Standard Error: 2_210_000
|
// Standard Error: 1_712_000
|
||||||
.saturating_add((58_460_000 as Weight).saturating_mul(c as Weight))
|
.saturating_add((46_064_000 as Weight).saturating_mul(c as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight)))
|
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight)))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight)))
|
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight)))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(c as Weight)))
|
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(c as Weight)))
|
||||||
|
|||||||
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `pallet_multisig`
|
//! Autogenerated weights for `pallet_multisig`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=westmint-dev
|
// --chain=westmint-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-westmint.json
|
// --json-file=./bench-westmint.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/westmint/src/weights
|
// --output=./parachains/runtimes/assets/westmint/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -45,18 +46,18 @@ use sp_std::marker::PhantomData;
|
|||||||
pub struct WeightInfo<T>(PhantomData<T>);
|
pub struct WeightInfo<T>(PhantomData<T>);
|
||||||
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||||
fn as_multi_threshold_1(z: u32, ) -> Weight {
|
fn as_multi_threshold_1(z: u32, ) -> Weight {
|
||||||
(12_779_000 as Weight)
|
(12_152_000 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((1_000 as Weight).saturating_mul(z as Weight))
|
.saturating_add((1_000 as Weight).saturating_mul(z as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||||
fn as_multi_create(s: u32, z: u32, ) -> Weight {
|
fn as_multi_create(s: u32, z: u32, ) -> Weight {
|
||||||
(27_921_000 as Weight)
|
(30_804_000 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((108_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((102_000 as Weight).saturating_mul(s as Weight))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((2_000 as Weight).saturating_mul(z as Weight))
|
.saturating_add((1_000 as Weight).saturating_mul(z as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
@@ -64,9 +65,9 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||||
fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
|
fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
|
||||||
(31_493_000 as Weight)
|
(34_003_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((111_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((77_000 as Weight).saturating_mul(s as Weight))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((2_000 as Weight).saturating_mul(z as Weight))
|
.saturating_add((2_000 as Weight).saturating_mul(z as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||||
@@ -74,20 +75,20 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
|||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
|
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
|
||||||
(17_965_000 as Weight)
|
(20_754_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((110_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((78_000 as Weight).saturating_mul(s as Weight))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((2_000 as Weight).saturating_mul(z as Weight))
|
.saturating_add((1_000 as Weight).saturating_mul(z as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
|
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
|
||||||
(31_632_000 as Weight)
|
(32_903_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((115_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((89_000 as Weight).saturating_mul(s as Weight))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((2_000 as Weight).saturating_mul(z as Weight))
|
.saturating_add((2_000 as Weight).saturating_mul(z as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
@@ -97,19 +98,19 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
|
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
|
||||||
(38_352_000 as Weight)
|
(40_647_000 as Weight)
|
||||||
|
// Standard Error: 1_000
|
||||||
|
.saturating_add((126_000 as Weight).saturating_mul(s as Weight))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((162_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((2_000 as Weight).saturating_mul(z as Weight))
|
||||||
// Standard Error: 0
|
|
||||||
.saturating_add((4_000 as Weight).saturating_mul(z as Weight))
|
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||||
fn approve_as_multi_create(s: u32, ) -> Weight {
|
fn approve_as_multi_create(s: u32, ) -> Weight {
|
||||||
(27_503_000 as Weight)
|
(28_386_000 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 1_000
|
||||||
.saturating_add((105_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((105_000 as Weight).saturating_mul(s as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
@@ -117,9 +118,9 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:0)
|
// Storage: Multisig Calls (r:1 w:0)
|
||||||
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
||||||
(17_138_000 as Weight)
|
(17_693_000 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add((109_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((104_000 as Weight).saturating_mul(s as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
@@ -127,18 +128,18 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn approve_as_multi_complete(s: u32, ) -> Weight {
|
fn approve_as_multi_complete(s: u32, ) -> Weight {
|
||||||
(71_044_000 as Weight)
|
(59_428_000 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 1_000
|
||||||
.saturating_add((165_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((142_000 as Weight).saturating_mul(s as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
fn cancel_as_multi(s: u32, ) -> Weight {
|
fn cancel_as_multi(s: u32, ) -> Weight {
|
||||||
(49_662_000 as Weight)
|
(46_106_000 as Weight)
|
||||||
// Standard Error: 0
|
// Standard Error: 1_000
|
||||||
.saturating_add((108_000 as Weight).saturating_mul(s as Weight))
|
.saturating_add((109_000 as Weight).saturating_mul(s as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `pallet_proxy`
|
//! Autogenerated weights for `pallet_proxy`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=westmint-dev
|
// --chain=westmint-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-westmint.json
|
// --json-file=./bench-westmint.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/westmint/src/weights
|
// --output=./parachains/runtimes/assets/westmint/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -46,42 +47,42 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: Proxy Proxies (r:1 w:0)
|
// Storage: Proxy Proxies (r:1 w:0)
|
||||||
fn proxy(p: u32, ) -> Weight {
|
fn proxy(p: u32, ) -> Weight {
|
||||||
(13_531_000 as Weight)
|
(13_141_000 as Weight)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((89_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((77_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:0)
|
// Storage: Proxy Proxies (r:1 w:0)
|
||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn proxy_announced(a: u32, p: u32, ) -> Weight {
|
fn proxy_announced(a: u32, p: u32, ) -> Weight {
|
||||||
(28_971_000 as Weight)
|
(29_038_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((217_000 as Weight).saturating_mul(a as Weight))
|
.saturating_add((169_000 as Weight).saturating_mul(a as Weight))
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((94_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((83_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn remove_announcement(a: u32, p: u32, ) -> Weight {
|
fn remove_announcement(a: u32, p: u32, ) -> Weight {
|
||||||
(19_617_000 as Weight)
|
(20_094_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((230_000 as Weight).saturating_mul(a as Weight))
|
.saturating_add((172_000 as Weight).saturating_mul(a as Weight))
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((20_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((27_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn reject_announcement(a: u32, p: u32, ) -> Weight {
|
fn reject_announcement(a: u32, p: u32, ) -> Weight {
|
||||||
(19_839_000 as Weight)
|
(20_103_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((226_000 as Weight).saturating_mul(a as Weight))
|
.saturating_add((172_000 as Weight).saturating_mul(a as Weight))
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((13_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((28_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
@@ -89,52 +90,52 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn announce(a: u32, p: u32, ) -> Weight {
|
fn announce(a: u32, p: u32, ) -> Weight {
|
||||||
(26_993_000 as Weight)
|
(27_273_000 as Weight)
|
||||||
// Standard Error: 1_000
|
|
||||||
.saturating_add((214_000 as Weight).saturating_mul(a as Weight))
|
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
|
.saturating_add((157_000 as Weight).saturating_mul(a as Weight))
|
||||||
|
// Standard Error: 2_000
|
||||||
.saturating_add((87_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((87_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
fn add_proxy(p: u32, ) -> Weight {
|
fn add_proxy(p: u32, ) -> Weight {
|
||||||
(22_458_000 as Weight)
|
(22_950_000 as Weight)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add((142_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((102_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
fn remove_proxy(p: u32, ) -> Weight {
|
fn remove_proxy(p: u32, ) -> Weight {
|
||||||
(18_739_000 as Weight)
|
(22_740_000 as Weight)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 3_000
|
||||||
.saturating_add((164_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((120_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
fn remove_proxies(p: u32, ) -> Weight {
|
fn remove_proxies(p: u32, ) -> Weight {
|
||||||
(18_824_000 as Weight)
|
(18_937_000 as Weight)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((88_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((75_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
fn anonymous(p: u32, ) -> Weight {
|
fn anonymous(p: u32, ) -> Weight {
|
||||||
(24_943_000 as Weight)
|
(25_617_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 2_000
|
||||||
.saturating_add((31_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((24_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
fn kill_anonymous(p: u32, ) -> Weight {
|
fn kill_anonymous(p: u32, ) -> Weight {
|
||||||
(19_465_000 as Weight)
|
(19_880_000 as Weight)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add((88_000 as Weight).saturating_mul(p as Weight))
|
.saturating_add((80_000 as Weight).saturating_mul(p as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `pallet_session`
|
//! Autogenerated weights for `pallet_session`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=westmint-dev
|
// --chain=westmint-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-westmint.json
|
// --json-file=./bench-westmint.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/westmint/src/weights
|
// --output=./parachains/runtimes/assets/westmint/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -47,14 +48,14 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Session NextKeys (r:1 w:1)
|
// Storage: Session NextKeys (r:1 w:1)
|
||||||
// Storage: Session KeyOwner (r:1 w:1)
|
// Storage: Session KeyOwner (r:1 w:1)
|
||||||
fn set_keys() -> Weight {
|
fn set_keys() -> Weight {
|
||||||
(12_155_000 as Weight)
|
(12_489_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Session NextKeys (r:1 w:1)
|
// Storage: Session NextKeys (r:1 w:1)
|
||||||
// Storage: Session KeyOwner (r:0 w:1)
|
// Storage: Session KeyOwner (r:0 w:1)
|
||||||
fn purge_keys() -> Weight {
|
fn purge_keys() -> Weight {
|
||||||
(9_352_000 as Weight)
|
(9_671_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `pallet_timestamp`
|
//! Autogenerated weights for `pallet_timestamp`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=westmint-dev
|
// --chain=westmint-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-westmint.json
|
// --json-file=./bench-westmint.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/westmint/src/weights
|
// --output=./parachains/runtimes/assets/westmint/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -46,11 +47,11 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: Timestamp Now (r:1 w:1)
|
// Storage: Timestamp Now (r:1 w:1)
|
||||||
fn set() -> Weight {
|
fn set() -> Weight {
|
||||||
(3_578_000 as Weight)
|
(3_849_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
fn on_finalize() -> Weight {
|
fn on_finalize() -> Weight {
|
||||||
(2_260_000 as Weight)
|
(2_393_000 as Weight)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `pallet_uniques`
|
//! Autogenerated weights for `pallet_uniques`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=westmint-dev
|
// --chain=westmint-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-westmint.json
|
// --json-file=./bench-westmint.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/westmint/src/weights
|
// --output=./parachains/runtimes/assets/westmint/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -47,14 +48,14 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||||
fn create() -> Weight {
|
fn create() -> Weight {
|
||||||
(23_292_000 as Weight)
|
(23_011_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||||
fn force_create() -> Weight {
|
fn force_create() -> Weight {
|
||||||
(12_580_000 as Weight)
|
(12_898_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
@@ -68,11 +69,11 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
|
fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
|
||||||
(0 as Weight)
|
(0 as Weight)
|
||||||
// Standard Error: 15_000
|
// Standard Error: 15_000
|
||||||
.saturating_add((9_064_000 as Weight).saturating_mul(n as Weight))
|
.saturating_add((9_683_000 as Weight).saturating_mul(n as Weight))
|
||||||
// Standard Error: 15_000
|
// Standard Error: 15_000
|
||||||
.saturating_add((958_000 as Weight).saturating_mul(m as Weight))
|
.saturating_add((921_000 as Weight).saturating_mul(m as Weight))
|
||||||
// Standard Error: 15_000
|
// Standard Error: 15_000
|
||||||
.saturating_add((865_000 as Weight).saturating_mul(a as Weight))
|
.saturating_add((800_000 as Weight).saturating_mul(a as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight)))
|
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight)))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||||
@@ -82,17 +83,18 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
}
|
}
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
|
// Storage: Uniques CollectionMaxSupply (r:1 w:0)
|
||||||
// Storage: Uniques Account (r:0 w:1)
|
// Storage: Uniques Account (r:0 w:1)
|
||||||
fn mint() -> Weight {
|
fn mint() -> Weight {
|
||||||
(28_805_000 as Weight)
|
(31_760_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Account (r:0 w:1)
|
// Storage: Uniques Account (r:0 w:1)
|
||||||
fn burn() -> Weight {
|
fn burn() -> Weight {
|
||||||
(30_339_000 as Weight)
|
(30_857_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||||
}
|
}
|
||||||
@@ -100,7 +102,7 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Account (r:0 w:2)
|
// Storage: Uniques Account (r:0 w:2)
|
||||||
fn transfer() -> Weight {
|
fn transfer() -> Weight {
|
||||||
(22_566_000 as Weight)
|
(23_536_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||||
}
|
}
|
||||||
@@ -108,8 +110,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Uniques Asset (r:100 w:100)
|
// Storage: Uniques Asset (r:100 w:100)
|
||||||
fn redeposit(i: u32, ) -> Weight {
|
fn redeposit(i: u32, ) -> Weight {
|
||||||
(0 as Weight)
|
(0 as Weight)
|
||||||
// Standard Error: 10_000
|
// Standard Error: 12_000
|
||||||
.saturating_add((11_708_000 as Weight).saturating_mul(i as Weight))
|
.saturating_add((12_171_000 as Weight).saturating_mul(i as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(i as Weight)))
|
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(i as Weight)))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
@@ -118,47 +120,47 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
fn freeze() -> Weight {
|
fn freeze() -> Weight {
|
||||||
(17_405_000 as Weight)
|
(18_224_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
fn thaw() -> Weight {
|
fn thaw() -> Weight {
|
||||||
(17_724_000 as Weight)
|
(17_667_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
fn freeze_collection() -> Weight {
|
fn freeze_collection() -> Weight {
|
||||||
(13_277_000 as Weight)
|
(13_398_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
fn thaw_collection() -> Weight {
|
fn thaw_collection() -> Weight {
|
||||||
(12_984_000 as Weight)
|
(13_278_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
|
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
|
||||||
// Storage: Uniques ClassAccount (r:0 w:2)
|
// Storage: Uniques ClassAccount (r:0 w:2)
|
||||||
fn transfer_ownership() -> Weight {
|
fn transfer_ownership() -> Weight {
|
||||||
(29_717_000 as Weight)
|
(20_275_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
fn set_team() -> Weight {
|
fn set_team() -> Weight {
|
||||||
(13_830_000 as Weight)
|
(13_910_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||||
fn force_item_status() -> Weight {
|
fn force_item_status() -> Weight {
|
||||||
(16_252_000 as Weight)
|
(16_235_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
@@ -166,7 +168,7 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
||||||
// Storage: Uniques Attribute (r:1 w:1)
|
// Storage: Uniques Attribute (r:1 w:1)
|
||||||
fn set_attribute() -> Weight {
|
fn set_attribute() -> Weight {
|
||||||
(35_708_000 as Weight)
|
(36_968_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
@@ -174,64 +176,63 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
||||||
// Storage: Uniques Attribute (r:1 w:1)
|
// Storage: Uniques Attribute (r:1 w:1)
|
||||||
fn clear_attribute() -> Weight {
|
fn clear_attribute() -> Weight {
|
||||||
(34_426_000 as Weight)
|
(34_767_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
||||||
fn set_metadata() -> Weight {
|
fn set_metadata() -> Weight {
|
||||||
(28_270_000 as Weight)
|
(29_045_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
||||||
fn clear_metadata() -> Weight {
|
fn clear_metadata() -> Weight {
|
||||||
(27_983_000 as Weight)
|
(29_331_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
||||||
fn set_collection_metadata() -> Weight {
|
fn set_collection_metadata() -> Weight {
|
||||||
(28_141_000 as Weight)
|
(28_240_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
||||||
fn clear_collection_metadata() -> Weight {
|
fn clear_collection_metadata() -> Weight {
|
||||||
(26_122_000 as Weight)
|
(26_270_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
fn approve_transfer() -> Weight {
|
fn approve_transfer() -> Weight {
|
||||||
(18_738_000 as Weight)
|
(19_122_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
fn cancel_approval() -> Weight {
|
fn cancel_approval() -> Weight {
|
||||||
(18_879_000 as Weight)
|
(18_930_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
|
||||||
fn set_accept_ownership() -> Weight {
|
fn set_accept_ownership() -> Weight {
|
||||||
(19_417_000 as Weight)
|
(16_708_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
|
// Storage: Uniques CollectionMaxSupply (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
|
||||||
fn set_collection_max_supply() -> Weight {
|
fn set_collection_max_supply() -> Weight {
|
||||||
(19_417_000 as Weight)
|
(16_300_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,12 +17,13 @@
|
|||||||
//! Autogenerated weights for `pallet_utility`
|
//! Autogenerated weights for `pallet_utility`
|
||||||
//!
|
//!
|
||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
||||||
|
|
||||||
// Executed Command:
|
// Executed Command:
|
||||||
// ./target/production/polkadot-collator
|
// ./target/production/polkadot-parachain
|
||||||
// benchmark
|
// benchmark
|
||||||
|
// pallet
|
||||||
// --chain=westmint-dev
|
// --chain=westmint-dev
|
||||||
// --execution=wasm
|
// --execution=wasm
|
||||||
// --wasm-execution=compiled
|
// --wasm-execution=compiled
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
// --repeat=20
|
// --repeat=20
|
||||||
// --json-file=./bench-westmint.json
|
// --json-file=./bench-westmint.json
|
||||||
// --header=./file_header.txt
|
// --header=./file_header.txt
|
||||||
// --output=./polkadot-parachains/westmint/src/weights
|
// --output=./parachains/runtimes/assets/westmint/src/weights
|
||||||
|
|
||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
@@ -45,26 +46,24 @@ use sp_std::marker::PhantomData;
|
|||||||
pub struct WeightInfo<T>(PhantomData<T>);
|
pub struct WeightInfo<T>(PhantomData<T>);
|
||||||
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
||||||
fn batch(c: u32, ) -> Weight {
|
fn batch(c: u32, ) -> Weight {
|
||||||
(17_310_000 as Weight)
|
(11_572_000 as Weight)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((3_675_000 as Weight).saturating_mul(c as Weight))
|
.saturating_add((2_896_000 as Weight).saturating_mul(c as Weight))
|
||||||
}
|
}
|
||||||
fn as_derivative() -> Weight {
|
fn as_derivative() -> Weight {
|
||||||
(2_522_000 as Weight)
|
(1_697_000 as Weight)
|
||||||
}
|
}
|
||||||
fn batch_all(c: u32, ) -> Weight {
|
fn batch_all(c: u32, ) -> Weight {
|
||||||
(18_929_000 as Weight)
|
(20_744_000 as Weight)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((4_001_000 as Weight).saturating_mul(c as Weight))
|
.saturating_add((3_144_000 as Weight).saturating_mul(c as Weight))
|
||||||
}
|
}
|
||||||
fn dispatch_as() -> Weight {
|
fn dispatch_as() -> Weight {
|
||||||
(8_891_000 as Weight)
|
(8_621_000 as Weight)
|
||||||
}
|
}
|
||||||
fn force_batch(c: u32, ) -> Weight {
|
fn force_batch(c: u32, ) -> Weight {
|
||||||
(13_470_000 as Weight)
|
(13_931_000 as Weight)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add((4_229_000 as Weight).saturating_mul(c as Weight))
|
.saturating_add((2_888_000 as Weight).saturating_mul(c as Weight))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user