diff --git a/polkadot-parachains/statemine/src/weights/pallet_assets.rs b/polkadot-parachains/statemine/src/weights/pallet_assets.rs
index 8510491fdc5..4abee900c70 100644
--- a/polkadot-parachains/statemine/src/weights/pallet_assets.rs
+++ b/polkadot-parachains/statemine/src/weights/pallet_assets.rs
@@ -1,11 +1,27 @@
-//! Autogenerated weights for pallet_assets
+// Copyright 2021 Parity Technologies (UK) Ltd.
+// This file is part of Cumulus.
+
+// Cumulus is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Cumulus is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Cumulus. If not, see .
+
+//! Autogenerated weights for `pallet_assets`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2021-10-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 128
// Executed Command:
-// ./target/release/statemint
+// ./target/release/polkadot-collator
// benchmark
// --chain=statemine-dev
// --execution=wasm
@@ -15,8 +31,11 @@
// --steps=50
// --repeat=20
// --raw
-// --output=./runtime/statemine/src/weights/
+// --header=./file_header.txt
+// --output=./polkadot-parachains/statemine/src/weights
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -26,134 +45,183 @@ use sp_std::marker::PhantomData;
/// Weight functions for pallet_assets.
pub struct WeightInfo(PhantomData);
impl pallet_assets::WeightInfo for WeightInfo {
+ // Storage: Assets Asset (r:1 w:1)
fn create() -> Weight {
- (44_224_000 as Weight)
+ (43_399_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
fn force_create() -> Weight {
- (22_533_000 as Weight)
+ (22_116_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn destroy(c: u32, s: u32, a: u32) -> Weight {
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Account (r:5002 w:5001)
+ // Storage: System Account (r:5000 w:5000)
+ // Storage: Assets Metadata (r:1 w:0)
+ // Storage: Assets Approvals (r:501 w:500)
+ fn destroy(c: u32, s: u32, a: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 37_000
- .saturating_add((21_529_000 as Weight).saturating_mul(c as Weight))
- // Standard Error: 37_000
- .saturating_add((28_905_000 as Weight).saturating_mul(s as Weight))
- // Standard Error: 377_000
- .saturating_add((3_745_000 as Weight).saturating_mul(a as Weight))
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
+ // Standard Error: 41_000
+ .saturating_add((20_247_000 as Weight).saturating_mul(c as Weight))
+ // Standard Error: 41_000
+ .saturating_add((27_437_000 as Weight).saturating_mul(s as Weight))
+ // Standard Error: 418_000
+ .saturating_add((30_503_000 as Weight).saturating_mul(a 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(s as Weight)))
+ .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(a as Weight)))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(c as Weight)))
.saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(a as Weight)))
}
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Account (r:1 w:1)
fn mint() -> Weight {
- (49_078_000 as Weight)
+ (49_715_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Account (r:1 w:1)
fn burn() -> Weight {
- (55_886_000 as Weight)
+ (57_758_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Account (r:2 w:2)
+ // Storage: System Account (r:1 w:1)
fn transfer() -> Weight {
- (84_857_000 as Weight)
+ (84_793_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Account (r:2 w:2)
+ // Storage: System Account (r:1 w:1)
fn transfer_keep_alive() -> Weight {
- (71_330_000 as Weight)
+ (73_359_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Account (r:2 w:2)
+ // Storage: System Account (r:1 w:1)
fn force_transfer() -> Weight {
- (85_127_000 as Weight)
+ (87_030_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
+ // Storage: Assets Asset (r:1 w:0)
+ // Storage: Assets Account (r:1 w:1)
fn freeze() -> Weight {
- (31_403_000 as Weight)
+ (33_013_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:0)
+ // Storage: Assets Account (r:1 w:1)
fn thaw() -> Weight {
- (31_250_000 as Weight)
+ (33_271_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
fn freeze_asset() -> Weight {
- (22_097_000 as Weight)
+ (24_092_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
fn thaw_asset() -> Weight {
- (22_245_000 as Weight)
+ (24_478_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Metadata (r:1 w:0)
fn transfer_ownership() -> Weight {
- (25_479_000 as Weight)
+ (27_301_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
fn set_team() -> Weight {
- (22_271_000 as Weight)
+ (24_509_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn set_metadata(_n: u32, s: u32) -> Weight {
- (50_315_000 as Weight)
+ // Storage: Assets Asset (r:1 w:0)
+ // Storage: Assets Metadata (r:1 w:1)
+ fn set_metadata(_n: u32, s: u32, ) -> Weight {
+ (51_570_000 as Weight)
// Standard Error: 0
- .saturating_add((8_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add((6_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:0)
+ // Storage: Assets Metadata (r:1 w:1)
fn clear_metadata() -> Weight {
- (48_134_000 as Weight)
+ (50_660_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn force_set_metadata(_n: u32, s: u32) -> Weight {
- (25_933_000 as Weight)
+ // Storage: Assets Asset (r:1 w:0)
+ // Storage: Assets Metadata (r:1 w:1)
+ fn force_set_metadata(_n: u32, s: u32, ) -> Weight {
+ (27_155_000 as Weight)
// Standard Error: 0
- .saturating_add((7_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add((4_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:0)
+ // Storage: Assets Metadata (r:1 w:1)
fn force_clear_metadata() -> Weight {
- (49_243_000 as Weight)
+ (49_624_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
fn force_asset_status() -> Weight {
- (22_305_000 as Weight)
+ (22_876_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Approvals (r:1 w:1)
fn approve_transfer() -> Weight {
- (48_885_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ (57_989_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(2 as Weight))
+ .saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Assets Approvals (r:1 w:1)
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Account (r:2 w:2)
+ // Storage: System Account (r:1 w:1)
fn transfer_approved() -> Weight {
- (108_026_000 as Weight)
+ (113_350_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Approvals (r:1 w:1)
fn cancel_approval() -> Weight {
- (48_943_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ (58_812_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(2 as Weight))
+ .saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Approvals (r:1 w:1)
fn force_cancel_approval() -> Weight {
- (56_914_000 as Weight)
+ (61_221_000 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(2 as Weight))
}
}
diff --git a/polkadot-parachains/statemine/src/weights/pallet_balances.rs b/polkadot-parachains/statemine/src/weights/pallet_balances.rs
index f28035b0705..964995a8886 100644
--- a/polkadot-parachains/statemine/src/weights/pallet_balances.rs
+++ b/polkadot-parachains/statemine/src/weights/pallet_balances.rs
@@ -1,11 +1,27 @@
-//! Autogenerated weights for pallet_balances
+// Copyright 2021 Parity Technologies (UK) Ltd.
+// This file is part of Cumulus.
+
+// Cumulus is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Cumulus is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Cumulus. If not, see .
+
+//! Autogenerated weights for `pallet_balances`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2021-10-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 128
// Executed Command:
-// ./target/release/statemint
+// ./target/release/polkadot-collator
// benchmark
// --chain=statemine-dev
// --execution=wasm
@@ -15,8 +31,11 @@
// --steps=50
// --repeat=20
// --raw
-// --output=./runtime/statemine/src/weights/
+// --header=./file_header.txt
+// --output=./polkadot-parachains/statemine/src/weights
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -26,39 +45,39 @@ use sp_std::marker::PhantomData;
/// Weight functions for pallet_balances.
pub struct WeightInfo(PhantomData);
impl pallet_balances::WeightInfo for WeightInfo {
+ // Storage: System Account (r:1 w:1)
fn transfer() -> Weight {
- (79_381_000 as Weight)
+ (76_372_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: System Account (r:1 w:1)
fn transfer_keep_alive() -> Weight {
- (58_057_000 as Weight)
+ (55_952_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: System Account (r:1 w:1)
fn set_balance_creating() -> Weight {
- (28_834_000 as Weight)
+ (29_194_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: System Account (r:1 w:1)
fn set_balance_killing() -> Weight {
- (36_213_000 as Weight)
+ (36_468_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: System Account (r:2 w:2)
fn force_transfer() -> Weight {
- (78_526_000 as Weight)
+ (76_943_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
- fn transfer_all() -> Weight {
- (84_170_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
- }
// Storage: System Account (r:1 w:1)
- fn force_unreserve() -> Weight {
- (27_766_000 as Weight)
+ fn transfer_all() -> Weight {
+ (71_252_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
diff --git a/polkadot-parachains/statemine/src/weights/pallet_collator_selection.rs b/polkadot-parachains/statemine/src/weights/pallet_collator_selection.rs
index 7bfb0838ee7..56a619f2a17 100644
--- a/polkadot-parachains/statemine/src/weights/pallet_collator_selection.rs
+++ b/polkadot-parachains/statemine/src/weights/pallet_collator_selection.rs
@@ -1,11 +1,27 @@
-//! Autogenerated weights for pallet_collator_selection
+// Copyright 2021 Parity Technologies (UK) Ltd.
+// This file is part of Cumulus.
+
+// Cumulus is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Cumulus is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Cumulus. If not, see .
+
+//! Autogenerated weights for `pallet_collator_selection`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2021-10-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 128
// Executed Command:
-// ./target/release/statemint
+// ./target/release/polkadot-collator
// benchmark
// --chain=statemine-dev
// --execution=wasm
@@ -15,8 +31,11 @@
// --steps=50
// --repeat=20
// --raw
-// --output=./runtime/statemine/src/weights/
+// --header=./file_header.txt
+// --output=./polkadot-parachains/statemine/src/weights
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -26,46 +45,66 @@ use sp_std::marker::PhantomData;
/// Weight functions for pallet_collator_selection.
pub struct WeightInfo(PhantomData);
impl pallet_collator_selection::WeightInfo for WeightInfo {
- fn set_invulnerables(b: u32) -> Weight {
- (18_481_000 as Weight)
+ // Storage: CollatorSelection Invulnerables (r:0 w:1)
+ fn set_invulnerables(b: u32, ) -> Weight {
+ (17_619_000 as Weight)
// Standard Error: 0
- .saturating_add((67_000 as Weight).saturating_mul(b as Weight))
+ .saturating_add((48_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: CollatorSelection DesiredCandidates (r:0 w:1)
fn set_desired_candidates() -> Weight {
- (16_376_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
+ (15_846_000 as Weight)
+ .saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: CollatorSelection CandidacyBond (r:0 w:1)
fn set_candidacy_bond() -> Weight {
- (17_031_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
+ (16_316_000 as Weight)
+ .saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn register_as_candidate(c: u32) -> Weight {
- (72_345_000 as Weight)
+ // Storage: CollatorSelection Candidates (r:1 w:1)
+ // Storage: CollatorSelection DesiredCandidates (r:1 w:0)
+ // Storage: CollatorSelection Invulnerables (r:1 w:0)
+ // Storage: Session NextKeys (r:1 w:0)
+ // Storage: CollatorSelection CandidacyBond (r:1 w:0)
+ // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
+ fn register_as_candidate(c: u32, ) -> Weight {
+ (71_549_000 as Weight)
// Standard Error: 0
- .saturating_add((197_000 as Weight).saturating_mul(c as Weight))
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
+ .saturating_add((153_000 as Weight).saturating_mul(c as Weight))
+ .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
- fn leave_intent(c: u32) -> Weight {
- (55_446_000 as Weight)
- // Standard Error: 0
- .saturating_add((153_000 as Weight).saturating_mul(c as Weight))
+ // Storage: CollatorSelection Candidates (r:1 w:1)
+ // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
+ fn leave_intent(c: u32, ) -> Weight {
+ (74_503_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((200_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: System Account (r:2 w:2)
+ // Storage: System BlockWeight (r:1 w:1)
+ // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
fn note_author() -> Weight {
- (71_828_000 as Weight)
+ (66_776_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
- fn new_session(r: u32, c: u32) -> Weight {
+ // Storage: CollatorSelection Candidates (r:1 w:1)
+ // Storage: CollatorSelection LastAuthoredBlock (r:1000 w:1)
+ // Storage: System Account (r:1 w:1)
+ // Storage: CollatorSelection Invulnerables (r:1 w:0)
+ // Storage: System BlockWeight (r:1 w:1)
+ fn new_session(r: u32, c: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_004_000
- .saturating_add((110_066_000 as Weight).saturating_mul(r as Weight))
- // Standard Error: 1_004_000
- .saturating_add((152_035_000 as Weight).saturating_mul(c as Weight))
- .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))
+ // Standard Error: 4_484_000
+ .saturating_add((25_014_000 as Weight).saturating_mul(r as Weight))
+ // Standard Error: 4_484_000
+ .saturating_add((117_655_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().writes((2 as Weight).saturating_mul(r as Weight)))
- .saturating_add(T::DbWeight::get().writes((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(c as Weight)))
}
}
diff --git a/polkadot-parachains/statemine/src/weights/pallet_multisig.rs b/polkadot-parachains/statemine/src/weights/pallet_multisig.rs
index 4c8aac7fee8..4300e706f4f 100644
--- a/polkadot-parachains/statemine/src/weights/pallet_multisig.rs
+++ b/polkadot-parachains/statemine/src/weights/pallet_multisig.rs
@@ -1,11 +1,27 @@
-//! Autogenerated weights for pallet_multisig
+// Copyright 2021 Parity Technologies (UK) Ltd.
+// This file is part of Cumulus.
+
+// Cumulus is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Cumulus is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Cumulus. If not, see .
+
+//! Autogenerated weights for `pallet_multisig`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2021-10-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 128
// Executed Command:
-// ./target/release/statemint
+// ./target/release/polkadot-collator
// benchmark
// --chain=statemine-dev
// --execution=wasm
@@ -15,8 +31,11 @@
// --steps=50
// --repeat=20
// --raw
-// --output=./runtime/statemine/src/weights/
+// --header=./file_header.txt
+// --output=./polkadot-parachains/statemine/src/weights
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -26,81 +45,101 @@ use sp_std::marker::PhantomData;
/// Weight functions for pallet_multisig.
pub struct WeightInfo(PhantomData);
impl pallet_multisig::WeightInfo for WeightInfo {
- fn as_multi_threshold_1(z: u32) -> Weight {
- (15_911_000 as Weight)
+ fn as_multi_threshold_1(z: u32, ) -> Weight {
+ (20_513_000 as Weight)
// Standard Error: 0
.saturating_add((1_000 as Weight).saturating_mul(z as Weight))
}
- fn as_multi_create(s: u32, z: u32) -> Weight {
- (55_326_000 as Weight)
+ // Storage: Multisig Multisigs (r:1 w:1)
+ // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
+ fn as_multi_create(s: u32, z: u32, ) -> Weight {
+ (55_645_000 as Weight)
// Standard Error: 0
- .saturating_add((133_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add((156_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0
- .saturating_add((1_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().writes(1 as Weight))
}
- fn as_multi_create_store(s: u32, z: u32) -> Weight {
- (62_423_000 as Weight)
- // Standard Error: 0
- .saturating_add((133_000 as Weight).saturating_mul(s as Weight))
+ // Storage: Multisig Multisigs (r:1 w:1)
+ // Storage: Multisig Calls (r:1 w:1)
+ // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
+ fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
+ (61_717_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((157_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0
.saturating_add((3_000 as Weight).saturating_mul(z as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
- fn as_multi_approve(s: u32, z: u32) -> Weight {
- (32_430_000 as Weight)
+ // Storage: Multisig Multisigs (r:1 w:1)
+ fn as_multi_approve(s: u32, z: u32, ) -> Weight {
+ (33_363_000 as Weight)
// Standard Error: 0
- .saturating_add((148_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add((152_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0
- .saturating_add((1_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(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn as_multi_approve_store(s: u32, z: u32) -> Weight {
- (59_789_000 as Weight)
- // Standard Error: 0
- .saturating_add((165_000 as Weight).saturating_mul(s as Weight))
+ // Storage: Multisig Multisigs (r:1 w:1)
+ // Storage: Multisig Calls (r:1 w:1)
+ fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
+ (60_103_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((159_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0
- .saturating_add((3_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().writes(2 as Weight))
}
- fn as_multi_complete(s: u32, z: u32) -> Weight {
- (80_926_000 as Weight)
+ // Storage: Multisig Multisigs (r:1 w:1)
+ // Storage: Multisig Calls (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ fn as_multi_complete(s: u32, z: u32, ) -> Weight {
+ (78_517_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((243_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0
- .saturating_add((276_000 as Weight).saturating_mul(s as Weight))
- // Standard Error: 0
- .saturating_add((5_000 as Weight).saturating_mul(z as Weight))
+ .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().writes(3 as Weight))
}
- fn approve_as_multi_create(s: u32) -> Weight {
- (54_860_000 as Weight)
+ // Storage: Multisig Multisigs (r:1 w:1)
+ // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
+ fn approve_as_multi_create(s: u32, ) -> Weight {
+ (55_407_000 as Weight)
// Standard Error: 0
- .saturating_add((134_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add((155_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn approve_as_multi_approve(s: u32) -> Weight {
- (31_924_000 as Weight)
+ // Storage: Multisig Multisigs (r:1 w:1)
+ // Storage: Multisig Calls (r:1 w:0)
+ fn approve_as_multi_approve(s: u32, ) -> Weight {
+ (32_145_000 as Weight)
// Standard Error: 0
- .saturating_add((154_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add((161_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn approve_as_multi_complete(s: u32) -> Weight {
- (154_001_000 as Weight)
- // Standard Error: 0
- .saturating_add((281_000 as Weight).saturating_mul(s as Weight))
+ // Storage: Multisig Multisigs (r:1 w:1)
+ // Storage: Multisig Calls (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ fn approve_as_multi_complete(s: u32, ) -> Weight {
+ (113_202_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((254_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
- fn cancel_as_multi(s: u32) -> Weight {
- (103_770_000 as Weight)
- // Standard Error: 0
- .saturating_add((130_000 as Weight).saturating_mul(s as Weight))
+ // Storage: Multisig Multisigs (r:1 w:1)
+ // Storage: Multisig Calls (r:1 w:1)
+ fn cancel_as_multi(s: u32, ) -> Weight {
+ (89_239_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((152_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
diff --git a/polkadot-parachains/statemine/src/weights/pallet_proxy.rs b/polkadot-parachains/statemine/src/weights/pallet_proxy.rs
index da0a277769f..7f2863044e0 100644
--- a/polkadot-parachains/statemine/src/weights/pallet_proxy.rs
+++ b/polkadot-parachains/statemine/src/weights/pallet_proxy.rs
@@ -1,11 +1,27 @@
-//! Autogenerated weights for pallet_proxy
+// Copyright 2021 Parity Technologies (UK) Ltd.
+// This file is part of Cumulus.
+
+// Cumulus is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Cumulus is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Cumulus. If not, see .
+
+//! Autogenerated weights for `pallet_proxy`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2021-10-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 128
// Executed Command:
-// ./target/release/statemint
+// ./target/release/polkadot-collator
// benchmark
// --chain=statemine-dev
// --execution=wasm
@@ -15,8 +31,11 @@
// --steps=50
// --repeat=20
// --raw
-// --output=./runtime/statemine/src/weights/
+// --header=./file_header.txt
+// --output=./polkadot-parachains/statemine/src/weights
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -26,80 +45,95 @@ use sp_std::marker::PhantomData;
/// Weight functions for pallet_proxy.
pub struct WeightInfo(PhantomData);
impl pallet_proxy::WeightInfo for WeightInfo {
- fn proxy(p: u32) -> Weight {
- (27_318_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((208_000 as Weight).saturating_mul(p as Weight))
+ // Storage: Proxy Proxies (r:1 w:0)
+ fn proxy(p: u32, ) -> Weight {
+ (24_904_000 as Weight)
+ // Standard Error: 2_000
+ .saturating_add((129_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
}
- fn proxy_announced(a: u32, p: u32) -> Weight {
- (60_665_000 as Weight)
+ // Storage: Proxy Proxies (r:1 w:0)
+ // Storage: Proxy Announcements (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ fn proxy_announced(a: u32, p: u32, ) -> Weight {
+ (57_061_000 as Weight)
// Standard Error: 2_000
- .saturating_add((677_000 as Weight).saturating_mul(a as Weight))
+ .saturating_add((500_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 2_000
- .saturating_add((197_000 as Weight).saturating_mul(p as Weight))
+ .saturating_add((140_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
- fn remove_announcement(a: u32, p: u32) -> Weight {
- (39_455_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((687_000 as Weight).saturating_mul(a as Weight))
- // Standard Error: 2_000
- .saturating_add((3_000 as Weight).saturating_mul(p as Weight))
+ // Storage: Proxy Announcements (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ fn remove_announcement(a: u32, p: u32, ) -> Weight {
+ (37_465_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((510_000 as Weight).saturating_mul(a as Weight))
+ // Standard Error: 1_000
+ .saturating_add((14_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
- fn reject_announcement(a: u32, p: u32) -> Weight {
- (39_411_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((686_000 as Weight).saturating_mul(a as Weight))
- // Standard Error: 2_000
- .saturating_add((3_000 as Weight).saturating_mul(p as Weight))
+ // Storage: Proxy Announcements (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ fn reject_announcement(a: u32, p: u32, ) -> Weight {
+ (37_430_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((514_000 as Weight).saturating_mul(a as Weight))
+ // Standard Error: 1_000
+ .saturating_add((12_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
- fn announce(a: u32, p: u32) -> Weight {
- (54_386_000 as Weight)
+ // Storage: Proxy Proxies (r:1 w:0)
+ // Storage: Proxy Announcements (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ fn announce(a: u32, p: u32, ) -> Weight {
+ (53_719_000 as Weight)
// Standard Error: 2_000
- .saturating_add((677_000 as Weight).saturating_mul(a as Weight))
+ .saturating_add((503_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 2_000
- .saturating_add((194_000 as Weight).saturating_mul(p as Weight))
+ .saturating_add((143_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
- fn add_proxy(p: u32) -> Weight {
- (37_411_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((298_000 as Weight).saturating_mul(p as Weight))
+ // Storage: Proxy Proxies (r:1 w:1)
+ fn add_proxy(p: u32, ) -> Weight {
+ (37_019_000 as Weight)
+ // Standard Error: 3_000
+ .saturating_add((175_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn remove_proxy(p: u32) -> Weight {
- (36_658_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((332_000 as Weight).saturating_mul(p as Weight))
+ // Storage: Proxy Proxies (r:1 w:1)
+ fn remove_proxy(p: u32, ) -> Weight {
+ (36_622_000 as Weight)
+ // Standard Error: 3_000
+ .saturating_add((193_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn remove_proxies(p: u32) -> Weight {
- (34_893_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((209_000 as Weight).saturating_mul(p as Weight))
+ // Storage: Proxy Proxies (r:1 w:1)
+ fn remove_proxies(p: u32, ) -> Weight {
+ (35_761_000 as Weight)
+ // Standard Error: 2_000
+ .saturating_add((116_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn anonymous(p: u32) -> Weight {
- (51_243_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((44_000 as Weight).saturating_mul(p as Weight))
+ // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
+ // Storage: Proxy Proxies (r:1 w:1)
+ fn anonymous(_p: u32, ) -> Weight {
+ (52_298_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn kill_anonymous(p: u32) -> Weight {
- (37_188_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((208_000 as Weight).saturating_mul(p as Weight))
+ // Storage: Proxy Proxies (r:1 w:1)
+ fn kill_anonymous(p: u32, ) -> Weight {
+ (37_495_000 as Weight)
+ // Standard Error: 2_000
+ .saturating_add((131_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
diff --git a/polkadot-parachains/statemine/src/weights/pallet_session.rs b/polkadot-parachains/statemine/src/weights/pallet_session.rs
index 2125bb05659..e1047ff0b0a 100644
--- a/polkadot-parachains/statemine/src/weights/pallet_session.rs
+++ b/polkadot-parachains/statemine/src/weights/pallet_session.rs
@@ -1,7 +1,23 @@
-//! Autogenerated weights for pallet_session
+// Copyright 2021 Parity Technologies (UK) Ltd.
+// This file is part of Cumulus.
+
+// Cumulus is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Cumulus is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Cumulus. If not, see .
+
+//! Autogenerated weights for `pallet_session`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-06-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2021-10-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 128
// Executed Command:
@@ -15,8 +31,11 @@
// --steps=50
// --repeat=20
// --raw
-// --output=./polkadot-parachains/statemine-runtime/src/weights
+// --header=./file_header.txt
+// --output=./polkadot-parachains/statemine/src/weights
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -26,13 +45,17 @@ use sp_std::marker::PhantomData;
/// Weight functions for pallet_session.
pub struct WeightInfo(PhantomData);
impl pallet_session::WeightInfo for WeightInfo {
+ // Storage: Session NextKeys (r:1 w:1)
+ // Storage: Session KeyOwner (r:1 w:1)
fn set_keys() -> Weight {
- (25_201_000 as Weight)
+ (25_121_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Session NextKeys (r:1 w:1)
+ // Storage: Session KeyOwner (r:0 w:1)
fn purge_keys() -> Weight {
- (17_510_000 as Weight)
+ (17_688_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
diff --git a/polkadot-parachains/statemine/src/weights/pallet_timestamp.rs b/polkadot-parachains/statemine/src/weights/pallet_timestamp.rs
index f6cf6a95947..c9d389e52be 100644
--- a/polkadot-parachains/statemine/src/weights/pallet_timestamp.rs
+++ b/polkadot-parachains/statemine/src/weights/pallet_timestamp.rs
@@ -1,11 +1,27 @@
-//! Autogenerated weights for pallet_timestamp
+// Copyright 2021 Parity Technologies (UK) Ltd.
+// This file is part of Cumulus.
+
+// Cumulus is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Cumulus is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Cumulus. If not, see .
+
+//! Autogenerated weights for `pallet_timestamp`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2021-10-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 128
// Executed Command:
-// ./target/release/statemint
+// ./target/release/polkadot-collator
// benchmark
// --chain=statemine-dev
// --execution=wasm
@@ -15,8 +31,11 @@
// --steps=50
// --repeat=20
// --raw
-// --output=./runtime/statemine/src/weights/
+// --header=./file_header.txt
+// --output=./polkadot-parachains/statemine/src/weights
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -26,12 +45,13 @@ use sp_std::marker::PhantomData;
/// Weight functions for pallet_timestamp.
pub struct WeightInfo(PhantomData);
impl pallet_timestamp::WeightInfo for WeightInfo {
+ // Storage: Timestamp Now (r:1 w:1)
fn set() -> Weight {
- (7_543_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
+ (7_827_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn on_finalize() -> Weight {
- (4_272_000 as Weight)
+ (4_481_000 as Weight)
}
}
diff --git a/polkadot-parachains/statemine/src/weights/pallet_uniques.rs b/polkadot-parachains/statemine/src/weights/pallet_uniques.rs
index 1b42c35be2d..bdf8018ee7e 100644
--- a/polkadot-parachains/statemine/src/weights/pallet_uniques.rs
+++ b/polkadot-parachains/statemine/src/weights/pallet_uniques.rs
@@ -14,26 +14,28 @@
// You should have received a copy of the GNU General Public License
// along with Cumulus. If not, see .
-//! Autogenerated weights for pallet_uniques
+//! Autogenerated weights for `pallet_uniques`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-06-02, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2021-10-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 128
// Executed Command:
// ./target/release/polkadot-collator
// benchmark
// --chain=statemine-dev
-// --steps=50
-// --repeat=20
-// --pallet=pallet_uniques
-// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
-// --heap-pages=4096
+// --pallet=pallet_uniques
+// --extrinsic=*
+// --steps=50
+// --repeat=20
+// --raw
// --header=./file_header.txt
-// --output=./polkadot-parachains/statemine-runtime/src/weights/
+// --output=./polkadot-parachains/statemine/src/weights
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -43,24 +45,32 @@ use sp_std::marker::PhantomData;
/// Weight functions for pallet_uniques.
pub struct WeightInfo(PhantomData);
impl pallet_uniques::WeightInfo for WeightInfo {
+ // Storage: Uniques Class (r:1 w:1)
fn create() -> Weight {
- (42_199_000 as Weight)
+ (43_213_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
fn force_create() -> Weight {
- (21_030_000 as Weight)
+ (21_421_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn destroy(n: u32, m: u32, a: u32) -> Weight {
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: Uniques Asset (r:1 w:0)
+ // Storage: Uniques Attribute (r:0 w:1000)
+ // Storage: Uniques ClassMetadataOf (r:0 w:1)
+ // Storage: Uniques InstanceMetadataOf (r:0 w:1000)
+ // Storage: Uniques Account (r:0 w:20)
+ fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 14_000
- .saturating_add((16_814_000 as Weight).saturating_mul(n as Weight))
+ .saturating_add((15_978_000 as Weight).saturating_mul(n as Weight))
// Standard Error: 14_000
- .saturating_add((1_026_000 as Weight).saturating_mul(m as Weight))
+ .saturating_add((1_072_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 14_000
- .saturating_add((952_000 as Weight).saturating_mul(a as Weight))
+ .saturating_add((895_000 as Weight).saturating_mul(a 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().writes(2 as Weight))
@@ -68,102 +78,141 @@ impl pallet_uniques::WeightInfo for WeightInfo {
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(m as Weight)))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(a as Weight)))
}
+ // Storage: Uniques Asset (r:1 w:1)
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: Uniques Account (r:0 w:1)
fn mint() -> Weight {
- (57_236_000 as Weight)
+ (57_469_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: Uniques Asset (r:1 w:1)
+ // Storage: Uniques Account (r:0 w:1)
fn burn() -> Weight {
- (58_129_000 as Weight)
+ (59_693_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
+ // Storage: Uniques Class (r:1 w:0)
+ // Storage: Uniques Asset (r:1 w:1)
+ // Storage: Uniques Account (r:0 w:2)
fn transfer() -> Weight {
- (42_980_000 as Weight)
+ (43_912_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
- fn redeposit(i: u32) -> Weight {
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: Uniques Asset (r:100 w:100)
+ fn redeposit(i: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 11_000
- .saturating_add((26_921_000 as Weight).saturating_mul(i as Weight))
+ // Standard Error: 12_000
+ .saturating_add((26_734_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_mul(i as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
}
+ // Storage: Uniques Asset (r:1 w:1)
+ // Storage: Uniques Class (r:1 w:0)
fn freeze() -> Weight {
- (30_427_000 as Weight)
+ (30_401_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Uniques Asset (r:1 w:1)
+ // Storage: Uniques Class (r:1 w:0)
fn thaw() -> Weight {
- (29_789_000 as Weight)
+ (29_821_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
fn freeze_class() -> Weight {
- (21_380_000 as Weight)
+ (22_459_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
fn thaw_class() -> Weight {
- (21_430_000 as Weight)
+ (22_851_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
fn transfer_ownership() -> Weight {
- (49_331_000 as Weight)
+ (50_538_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
fn set_team() -> Weight {
- (22_305_000 as Weight)
+ (23_875_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
fn force_asset_status() -> Weight {
- (21_965_000 as Weight)
+ (22_730_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: Uniques InstanceMetadataOf (r:1 w:0)
+ // Storage: Uniques Attribute (r:1 w:1)
fn set_attribute() -> Weight {
- (70_386_000 as Weight)
+ (69_984_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: Uniques InstanceMetadataOf (r:1 w:0)
+ // Storage: Uniques Attribute (r:1 w:1)
fn clear_attribute() -> Weight {
- (63_932_000 as Weight)
+ (64_795_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: Uniques InstanceMetadataOf (r:1 w:1)
fn set_metadata() -> Weight {
- (53_647_000 as Weight)
+ (53_823_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: Uniques InstanceMetadataOf (r:1 w:1)
fn clear_metadata() -> Weight {
- (52_353_000 as Weight)
+ (53_760_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: Uniques ClassMetadataOf (r:1 w:1)
fn set_class_metadata() -> Weight {
- (51_900_000 as Weight)
+ (53_830_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Uniques Class (r:1 w:0)
+ // Storage: Uniques ClassMetadataOf (r:1 w:1)
fn clear_class_metadata() -> Weight {
- (46_929_000 as Weight)
+ (48_575_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Uniques Class (r:1 w:0)
+ // Storage: Uniques Asset (r:1 w:1)
fn approve_transfer() -> Weight {
- (32_693_000 as Weight)
+ (32_697_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Uniques Class (r:1 w:0)
+ // Storage: Uniques Asset (r:1 w:1)
fn cancel_approval() -> Weight {
- (32_418_000 as Weight)
+ (32_877_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
diff --git a/polkadot-parachains/statemine/src/weights/pallet_utility.rs b/polkadot-parachains/statemine/src/weights/pallet_utility.rs
index 17a21997078..fe819676b20 100644
--- a/polkadot-parachains/statemine/src/weights/pallet_utility.rs
+++ b/polkadot-parachains/statemine/src/weights/pallet_utility.rs
@@ -1,11 +1,27 @@
-//! Autogenerated weights for pallet_utility
+// Copyright 2021 Parity Technologies (UK) Ltd.
+// This file is part of Cumulus.
+
+// Cumulus is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Cumulus is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Cumulus. If not, see .
+
+//! Autogenerated weights for `pallet_utility`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2021-10-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 128
// Executed Command:
-// ./target/release/statemint
+// ./target/release/polkadot-collator
// benchmark
// --chain=statemine-dev
// --execution=wasm
@@ -15,8 +31,11 @@
// --steps=50
// --repeat=20
// --raw
-// --output=./runtime/statemine/src/weights/
+// --header=./file_header.txt
+// --output=./polkadot-parachains/statemine/src/weights
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -26,17 +45,17 @@ use sp_std::marker::PhantomData;
/// Weight functions for pallet_utility.
pub struct WeightInfo(PhantomData);
impl pallet_utility::WeightInfo for WeightInfo {
- fn batch(c: u32) -> Weight {
- (16_177_000 as Weight)
- // Standard Error: 0
- .saturating_add((4_582_000 as Weight).saturating_mul(c as Weight))
+ fn batch(c: u32, ) -> Weight {
+ (33_690_000 as Weight)
+ // Standard Error: 2_000
+ .saturating_add((8_407_000 as Weight).saturating_mul(c as Weight))
}
fn as_derivative() -> Weight {
- (7_848_000 as Weight)
+ (5_264_000 as Weight)
}
- fn batch_all(c: u32) -> Weight {
- (17_745_000 as Weight)
- // Standard Error: 0
- .saturating_add((4_578_000 as Weight).saturating_mul(c as Weight))
+ fn batch_all(c: u32, ) -> Weight {
+ (37_158_000 as Weight)
+ // Standard Error: 2_000
+ .saturating_add((9_086_000 as Weight).saturating_mul(c as Weight))
}
}
diff --git a/polkadot-parachains/statemint/src/weights/pallet_assets.rs b/polkadot-parachains/statemint/src/weights/pallet_assets.rs
index d8fec88ccf2..d956cf98755 100644
--- a/polkadot-parachains/statemint/src/weights/pallet_assets.rs
+++ b/polkadot-parachains/statemint/src/weights/pallet_assets.rs
@@ -1,11 +1,27 @@
-//! Autogenerated weights for pallet_assets
+// Copyright 2021 Parity Technologies (UK) Ltd.
+// This file is part of Cumulus.
+
+// Cumulus is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Cumulus is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Cumulus. If not, see .
+
+//! Autogenerated weights for `pallet_assets`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2021-10-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128
// Executed Command:
-// ./target/release/statemint
+// ./target/release/polkadot-collator
// benchmark
// --chain=statemint-dev
// --execution=wasm
@@ -15,8 +31,11 @@
// --steps=50
// --repeat=20
// --raw
-// --output=./runtime/statemint/src/weights/
+// --header=./file_header.txt
+// --output=./polkadot-parachains/statemint/src/weights
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -26,134 +45,183 @@ use sp_std::marker::PhantomData;
/// Weight functions for pallet_assets.
pub struct WeightInfo(PhantomData);
impl pallet_assets::WeightInfo for WeightInfo {
+ // Storage: Assets Asset (r:1 w:1)
fn create() -> Weight {
- (44_125_000 as Weight)
+ (42_570_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
fn force_create() -> Weight {
- (22_842_000 as Weight)
+ (22_200_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn destroy(c: u32, s: u32, a: u32) -> Weight {
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Account (r:5002 w:5001)
+ // Storage: System Account (r:5000 w:5000)
+ // Storage: Assets Metadata (r:1 w:0)
+ // Storage: Assets Approvals (r:501 w:500)
+ fn destroy(c: u32, s: u32, a: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 37_000
- .saturating_add((21_822_000 as Weight).saturating_mul(c as Weight))
- // Standard Error: 37_000
- .saturating_add((29_044_000 as Weight).saturating_mul(s as Weight))
- // Standard Error: 370_000
- .saturating_add((3_000_000 as Weight).saturating_mul(a as Weight))
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
+ // Standard Error: 42_000
+ .saturating_add((19_823_000 as Weight).saturating_mul(c as Weight))
+ // Standard Error: 42_000
+ .saturating_add((26_691_000 as Weight).saturating_mul(s as Weight))
+ // Standard Error: 422_000
+ .saturating_add((28_197_000 as Weight).saturating_mul(a 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(s as Weight)))
+ .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(a as Weight)))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(c as Weight)))
.saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(a as Weight)))
}
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Account (r:1 w:1)
fn mint() -> Weight {
- (49_933_000 as Weight)
+ (48_979_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Account (r:1 w:1)
fn burn() -> Weight {
- (56_434_000 as Weight)
+ (56_854_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Account (r:2 w:2)
+ // Storage: System Account (r:1 w:1)
fn transfer() -> Weight {
- (85_393_000 as Weight)
+ (84_794_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Account (r:2 w:2)
+ // Storage: System Account (r:1 w:1)
fn transfer_keep_alive() -> Weight {
- (72_039_000 as Weight)
+ (71_462_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Account (r:2 w:2)
+ // Storage: System Account (r:1 w:1)
fn force_transfer() -> Weight {
- (85_214_000 as Weight)
+ (85_243_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
+ // Storage: Assets Asset (r:1 w:0)
+ // Storage: Assets Account (r:1 w:1)
fn freeze() -> Weight {
- (31_915_000 as Weight)
+ (31_967_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:0)
+ // Storage: Assets Account (r:1 w:1)
fn thaw() -> Weight {
- (31_296_000 as Weight)
+ (32_826_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
fn freeze_asset() -> Weight {
- (22_272_000 as Weight)
+ (24_208_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
fn thaw_asset() -> Weight {
- (22_336_000 as Weight)
+ (24_602_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Metadata (r:1 w:0)
fn transfer_ownership() -> Weight {
- (25_526_000 as Weight)
+ (27_145_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
fn set_team() -> Weight {
- (22_632_000 as Weight)
+ (24_663_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn set_metadata(_n: u32, s: u32) -> Weight {
- (50_330_000 as Weight)
+ // Storage: Assets Asset (r:1 w:0)
+ // Storage: Assets Metadata (r:1 w:1)
+ fn set_metadata(_n: u32, s: u32, ) -> Weight {
+ (50_954_000 as Weight)
// Standard Error: 0
- .saturating_add((9_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add((5_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:0)
+ // Storage: Assets Metadata (r:1 w:1)
fn clear_metadata() -> Weight {
- (48_266_000 as Weight)
+ (49_239_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn force_set_metadata(_n: u32, s: u32) -> Weight {
- (26_249_000 as Weight)
+ // Storage: Assets Asset (r:1 w:0)
+ // Storage: Assets Metadata (r:1 w:1)
+ fn force_set_metadata(_n: u32, s: u32, ) -> Weight {
+ (27_031_000 as Weight)
// Standard Error: 0
- .saturating_add((6_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().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:0)
+ // Storage: Assets Metadata (r:1 w:1)
fn force_clear_metadata() -> Weight {
- (49_616_000 as Weight)
+ (48_823_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
fn force_asset_status() -> Weight {
- (22_596_000 as Weight)
+ (22_980_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Approvals (r:1 w:1)
fn approve_transfer() -> Weight {
- (48_708_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ (57_434_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(2 as Weight))
+ .saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Assets Approvals (r:1 w:1)
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Account (r:2 w:2)
+ // Storage: System Account (r:1 w:1)
fn transfer_approved() -> Weight {
- (108_476_000 as Weight)
+ (110_855_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Approvals (r:1 w:1)
fn cancel_approval() -> Weight {
- (49_157_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ (58_205_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(2 as Weight))
+ .saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Approvals (r:1 w:1)
fn force_cancel_approval() -> Weight {
- (56_862_000 as Weight)
+ (60_527_000 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(2 as Weight))
}
}
diff --git a/polkadot-parachains/statemint/src/weights/pallet_balances.rs b/polkadot-parachains/statemint/src/weights/pallet_balances.rs
index 9511a017602..4b41a51fdc8 100644
--- a/polkadot-parachains/statemint/src/weights/pallet_balances.rs
+++ b/polkadot-parachains/statemint/src/weights/pallet_balances.rs
@@ -1,11 +1,27 @@
-//! Autogenerated weights for pallet_balances
+// Copyright 2021 Parity Technologies (UK) Ltd.
+// This file is part of Cumulus.
+
+// Cumulus is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Cumulus is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Cumulus. If not, see .
+
+//! Autogenerated weights for `pallet_balances`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2021-10-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128
// Executed Command:
-// ./target/release/statemint
+// ./target/release/polkadot-collator
// benchmark
// --chain=statemint-dev
// --execution=wasm
@@ -15,8 +31,11 @@
// --steps=50
// --repeat=20
// --raw
-// --output=./runtime/statemint/src/weights/
+// --header=./file_header.txt
+// --output=./polkadot-parachains/statemint/src/weights
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -26,39 +45,39 @@ use sp_std::marker::PhantomData;
/// Weight functions for pallet_balances.
pub struct WeightInfo(PhantomData);
impl pallet_balances::WeightInfo for WeightInfo {
+ // Storage: System Account (r:1 w:1)
fn transfer() -> Weight {
- (79_601_000 as Weight)
+ (77_243_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: System Account (r:1 w:1)
fn transfer_keep_alive() -> Weight {
- (58_429_000 as Weight)
+ (56_457_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: System Account (r:1 w:1)
fn set_balance_creating() -> Weight {
- (29_124_000 as Weight)
+ (28_755_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: System Account (r:1 w:1)
fn set_balance_killing() -> Weight {
- (36_476_000 as Weight)
+ (36_827_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: System Account (r:2 w:2)
fn force_transfer() -> Weight {
- (78_772_000 as Weight)
+ (78_654_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
- fn transfer_all() -> Weight {
- (84_170_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
- }
// Storage: System Account (r:1 w:1)
- fn force_unreserve() -> Weight {
- (27_766_000 as Weight)
+ fn transfer_all() -> Weight {
+ (71_871_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
diff --git a/polkadot-parachains/statemint/src/weights/pallet_collator_selection.rs b/polkadot-parachains/statemint/src/weights/pallet_collator_selection.rs
index 328b8c12201..36a75aa9878 100644
--- a/polkadot-parachains/statemint/src/weights/pallet_collator_selection.rs
+++ b/polkadot-parachains/statemint/src/weights/pallet_collator_selection.rs
@@ -1,11 +1,27 @@
-//! Autogenerated weights for pallet_collator_selection
+// Copyright 2021 Parity Technologies (UK) Ltd.
+// This file is part of Cumulus.
+
+// Cumulus is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Cumulus is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Cumulus. If not, see .
+
+//! Autogenerated weights for `pallet_collator_selection`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2021-10-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128
// Executed Command:
-// ./target/release/statemint
+// ./target/release/polkadot-collator
// benchmark
// --chain=statemint-dev
// --execution=wasm
@@ -15,8 +31,11 @@
// --steps=50
// --repeat=20
// --raw
-// --output=./runtime/statemint/src/weights/
+// --header=./file_header.txt
+// --output=./polkadot-parachains/statemint/src/weights
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -26,46 +45,66 @@ use sp_std::marker::PhantomData;
/// Weight functions for pallet_collator_selection.
pub struct WeightInfo(PhantomData);
impl pallet_collator_selection::WeightInfo for WeightInfo {
- fn set_invulnerables(b: u32) -> Weight {
- (18_563_000 as Weight)
+ // Storage: CollatorSelection Invulnerables (r:0 w:1)
+ fn set_invulnerables(b: u32, ) -> Weight {
+ (17_515_000 as Weight)
// Standard Error: 0
- .saturating_add((68_000 as Weight).saturating_mul(b as Weight))
+ .saturating_add((48_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: CollatorSelection DesiredCandidates (r:0 w:1)
fn set_desired_candidates() -> Weight {
- (16_363_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
+ (15_384_000 as Weight)
+ .saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: CollatorSelection CandidacyBond (r:0 w:1)
fn set_candidacy_bond() -> Weight {
- (16_840_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
+ (16_192_000 as Weight)
+ .saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn register_as_candidate(c: u32) -> Weight {
- (71_196_000 as Weight)
- // Standard Error: 0
- .saturating_add((198_000 as Weight).saturating_mul(c as Weight))
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
+ // Storage: CollatorSelection Candidates (r:1 w:1)
+ // Storage: CollatorSelection DesiredCandidates (r:1 w:0)
+ // Storage: CollatorSelection Invulnerables (r:1 w:0)
+ // Storage: Session NextKeys (r:1 w:0)
+ // Storage: CollatorSelection CandidacyBond (r:1 w:0)
+ // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
+ fn register_as_candidate(c: u32, ) -> Weight {
+ (75_202_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((150_000 as Weight).saturating_mul(c as Weight))
+ .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
- fn leave_intent(c: u32) -> Weight {
- (55_336_000 as Weight)
- // Standard Error: 0
- .saturating_add((151_000 as Weight).saturating_mul(c as Weight))
+ // Storage: CollatorSelection Candidates (r:1 w:1)
+ // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
+ fn leave_intent(c: u32, ) -> Weight {
+ (69_777_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((207_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: System Account (r:2 w:2)
+ // Storage: System BlockWeight (r:1 w:1)
+ // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
fn note_author() -> Weight {
- (71_461_000 as Weight)
+ (67_078_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
- fn new_session(r: u32, c: u32) -> Weight {
+ // Storage: CollatorSelection Candidates (r:1 w:1)
+ // Storage: CollatorSelection LastAuthoredBlock (r:1000 w:1)
+ // Storage: System Account (r:1 w:1)
+ // Storage: CollatorSelection Invulnerables (r:1 w:0)
+ // Storage: System BlockWeight (r:1 w:1)
+ fn new_session(r: u32, c: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_010_000
- .saturating_add((109_961_000 as Weight).saturating_mul(r as Weight))
- // Standard Error: 1_010_000
- .saturating_add((151_952_000 as Weight).saturating_mul(c as Weight))
- .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))
+ // Standard Error: 4_396_000
+ .saturating_add((24_829_000 as Weight).saturating_mul(r as Weight))
+ // Standard Error: 4_396_000
+ .saturating_add((115_531_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().writes((2 as Weight).saturating_mul(r as Weight)))
- .saturating_add(T::DbWeight::get().writes((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(c as Weight)))
}
}
diff --git a/polkadot-parachains/statemint/src/weights/pallet_multisig.rs b/polkadot-parachains/statemint/src/weights/pallet_multisig.rs
index b79a8e0cad9..e7f752a288a 100644
--- a/polkadot-parachains/statemint/src/weights/pallet_multisig.rs
+++ b/polkadot-parachains/statemint/src/weights/pallet_multisig.rs
@@ -1,11 +1,27 @@
-//! Autogenerated weights for pallet_multisig
+// Copyright 2021 Parity Technologies (UK) Ltd.
+// This file is part of Cumulus.
+
+// Cumulus is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Cumulus is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Cumulus. If not, see .
+
+//! Autogenerated weights for `pallet_multisig`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2021-10-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128
// Executed Command:
-// ./target/release/statemint
+// ./target/release/polkadot-collator
// benchmark
// --chain=statemint-dev
// --execution=wasm
@@ -15,8 +31,11 @@
// --steps=50
// --repeat=20
// --raw
-// --output=./runtime/statemint/src/weights/
+// --header=./file_header.txt
+// --output=./polkadot-parachains/statemint/src/weights
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -26,81 +45,101 @@ use sp_std::marker::PhantomData;
/// Weight functions for pallet_multisig.
pub struct WeightInfo(PhantomData);
impl pallet_multisig::WeightInfo for WeightInfo {
- fn as_multi_threshold_1(z: u32) -> Weight {
- (14_936_000 as Weight)
+ fn as_multi_threshold_1(z: u32, ) -> Weight {
+ (20_369_000 as Weight)
// Standard Error: 0
.saturating_add((1_000 as Weight).saturating_mul(z as Weight))
}
- fn as_multi_create(s: u32, z: u32) -> Weight {
- (56_090_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((63_000 as Weight).saturating_mul(s as Weight))
+ // Storage: Multisig Multisigs (r:1 w:1)
+ // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
+ fn as_multi_create(s: u32, z: u32, ) -> Weight {
+ (53_679_000 as Weight)
// Standard Error: 0
- .saturating_add((1_000 as Weight).saturating_mul(z as Weight))
+ .saturating_add((155_000 as Weight).saturating_mul(s as Weight))
+ // Standard Error: 0
+ .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().writes(1 as Weight))
}
- fn as_multi_create_store(s: u32, z: u32) -> Weight {
- (62_519_000 as Weight)
+ // Storage: Multisig Multisigs (r:1 w:1)
+ // Storage: Multisig Calls (r:1 w:1)
+ // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
+ fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
+ (58_908_000 as Weight)
// Standard Error: 1_000
- .saturating_add((66_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add((163_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0
.saturating_add((3_000 as Weight).saturating_mul(z as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
- fn as_multi_approve(s: u32, z: u32) -> Weight {
- (30_781_000 as Weight)
+ // Storage: Multisig Multisigs (r:1 w:1)
+ fn as_multi_approve(s: u32, z: u32, ) -> Weight {
+ (33_969_000 as Weight)
// Standard Error: 0
- .saturating_add((111_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add((151_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(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn as_multi_approve_store(s: u32, z: u32) -> Weight {
- (60_393_000 as Weight)
- // Standard Error: 0
- .saturating_add((118_000 as Weight).saturating_mul(s as Weight))
+ // Storage: Multisig Multisigs (r:1 w:1)
+ // Storage: Multisig Calls (r:1 w:1)
+ fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
+ (57_173_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((168_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0
.saturating_add((3_000 as Weight).saturating_mul(z as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
- fn as_multi_complete(s: u32, z: u32) -> Weight {
- (81_704_000 as Weight)
+ // Storage: Multisig Multisigs (r:1 w:1)
+ // Storage: Multisig Calls (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ fn as_multi_complete(s: u32, z: u32, ) -> Weight {
+ (74_654_000 as Weight)
// Standard Error: 1_000
- .saturating_add((248_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add((250_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0
- .saturating_add((5_000 as Weight).saturating_mul(z as Weight))
+ .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().writes(3 as Weight))
}
- fn approve_as_multi_create(s: u32) -> Weight {
- (55_585_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((115_000 as Weight).saturating_mul(s as Weight))
+ // Storage: Multisig Multisigs (r:1 w:1)
+ // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
+ fn approve_as_multi_create(s: u32, ) -> Weight {
+ (53_766_000 as Weight)
+ // Standard Error: 0
+ .saturating_add((153_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn approve_as_multi_approve(s: u32) -> Weight {
- (33_483_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((82_000 as Weight).saturating_mul(s as Weight))
+ // Storage: Multisig Multisigs (r:1 w:1)
+ // Storage: Multisig Calls (r:1 w:0)
+ fn approve_as_multi_approve(s: u32, ) -> Weight {
+ (31_663_000 as Weight)
+ // Standard Error: 0
+ .saturating_add((154_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn approve_as_multi_complete(s: u32) -> Weight {
- (154_732_000 as Weight)
+ // Storage: Multisig Multisigs (r:1 w:1)
+ // Storage: Multisig Calls (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ fn approve_as_multi_complete(s: u32, ) -> Weight {
+ (110_419_000 as Weight)
// Standard Error: 1_000
- .saturating_add((253_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add((258_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
- fn cancel_as_multi(s: u32) -> Weight {
- (104_447_000 as Weight)
+ // Storage: Multisig Multisigs (r:1 w:1)
+ // Storage: Multisig Calls (r:1 w:1)
+ fn cancel_as_multi(s: u32, ) -> Weight {
+ (86_761_000 as Weight)
// Standard Error: 1_000
- .saturating_add((114_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add((156_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
diff --git a/polkadot-parachains/statemint/src/weights/pallet_proxy.rs b/polkadot-parachains/statemint/src/weights/pallet_proxy.rs
index 493ebdfbcba..26178776eb2 100644
--- a/polkadot-parachains/statemint/src/weights/pallet_proxy.rs
+++ b/polkadot-parachains/statemint/src/weights/pallet_proxy.rs
@@ -1,11 +1,27 @@
-//! Autogenerated weights for pallet_proxy
+// Copyright 2021 Parity Technologies (UK) Ltd.
+// This file is part of Cumulus.
+
+// Cumulus is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Cumulus is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Cumulus. If not, see .
+
+//! Autogenerated weights for `pallet_proxy`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2021-10-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128
// Executed Command:
-// ./target/release/statemint
+// ./target/release/polkadot-collator
// benchmark
// --chain=statemint-dev
// --execution=wasm
@@ -15,8 +31,11 @@
// --steps=50
// --repeat=20
// --raw
-// --output=./runtime/statemint/src/weights/
+// --header=./file_header.txt
+// --output=./polkadot-parachains/statemint/src/weights
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -26,80 +45,97 @@ use sp_std::marker::PhantomData;
/// Weight functions for pallet_proxy.
pub struct WeightInfo(PhantomData);
impl pallet_proxy::WeightInfo for WeightInfo {
- fn proxy(p: u32) -> Weight {
- (27_585_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((203_000 as Weight).saturating_mul(p as Weight))
+ // Storage: Proxy Proxies (r:1 w:0)
+ fn proxy(p: u32, ) -> Weight {
+ (23_855_000 as Weight)
+ // Standard Error: 2_000
+ .saturating_add((134_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
}
- fn proxy_announced(a: u32, p: u32) -> Weight {
- (61_093_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((680_000 as Weight).saturating_mul(a as Weight))
+ // Storage: Proxy Proxies (r:1 w:0)
+ // Storage: Proxy Announcements (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ fn proxy_announced(a: u32, p: u32, ) -> Weight {
+ (54_877_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((498_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 2_000
- .saturating_add((201_000 as Weight).saturating_mul(p as Weight))
+ .saturating_add((136_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
- fn remove_announcement(a: u32, p: u32) -> Weight {
- (39_494_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((686_000 as Weight).saturating_mul(a as Weight))
- // Standard Error: 2_000
- .saturating_add((1_000 as Weight).saturating_mul(p as Weight))
+ // Storage: Proxy Announcements (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ fn remove_announcement(a: u32, p: u32, ) -> Weight {
+ (36_720_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((504_000 as Weight).saturating_mul(a as Weight))
+ // Standard Error: 1_000
+ .saturating_add((12_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
- fn reject_announcement(a: u32, p: u32) -> Weight {
- (39_817_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((685_000 as Weight).saturating_mul(a as Weight))
- // Standard Error: 2_000
- .saturating_add((1_000 as Weight).saturating_mul(p as Weight))
+ // Storage: Proxy Announcements (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ fn reject_announcement(a: u32, p: u32, ) -> Weight {
+ (36_597_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((506_000 as Weight).saturating_mul(a as Weight))
+ // Standard Error: 1_000
+ .saturating_add((11_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
- fn announce(a: u32, p: u32) -> Weight {
- (54_835_000 as Weight)
+ // Storage: Proxy Proxies (r:1 w:0)
+ // Storage: Proxy Announcements (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ fn announce(a: u32, p: u32, ) -> Weight {
+ (51_918_000 as Weight)
// Standard Error: 2_000
- .saturating_add((684_000 as Weight).saturating_mul(a as Weight))
+ .saturating_add((496_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 2_000
- .saturating_add((205_000 as Weight).saturating_mul(p as Weight))
+ .saturating_add((151_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
- fn add_proxy(p: u32) -> Weight {
- (37_625_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((300_000 as Weight).saturating_mul(p as Weight))
+ // Storage: Proxy Proxies (r:1 w:1)
+ fn add_proxy(p: u32, ) -> Weight {
+ (35_723_000 as Weight)
+ // Standard Error: 3_000
+ .saturating_add((172_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn remove_proxy(p: u32) -> Weight {
- (36_945_000 as Weight)
+ // Storage: Proxy Proxies (r:1 w:1)
+ fn remove_proxy(p: u32, ) -> Weight {
+ (35_357_000 as Weight)
// Standard Error: 3_000
- .saturating_add((325_000 as Weight).saturating_mul(p as Weight))
+ .saturating_add((193_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn remove_proxies(p: u32) -> Weight {
- (35_128_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((209_000 as Weight).saturating_mul(p as Weight))
+ // Storage: Proxy Proxies (r:1 w:1)
+ fn remove_proxies(p: u32, ) -> Weight {
+ (34_104_000 as Weight)
+ // Standard Error: 2_000
+ .saturating_add((131_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn anonymous(p: u32) -> Weight {
- (51_624_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((41_000 as Weight).saturating_mul(p as Weight))
+ // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
+ // Storage: Proxy Proxies (r:1 w:1)
+ fn anonymous(p: u32, ) -> Weight {
+ (50_067_000 as Weight)
+ // Standard Error: 3_000
+ .saturating_add((6_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn kill_anonymous(p: u32) -> Weight {
- (37_469_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((204_000 as Weight).saturating_mul(p as Weight))
+ // Storage: Proxy Proxies (r:1 w:1)
+ fn kill_anonymous(p: u32, ) -> Weight {
+ (36_525_000 as Weight)
+ // Standard Error: 3_000
+ .saturating_add((118_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
diff --git a/polkadot-parachains/statemint/src/weights/pallet_session.rs b/polkadot-parachains/statemint/src/weights/pallet_session.rs
index f8f9ae735af..ab0ee7f23f0 100644
--- a/polkadot-parachains/statemint/src/weights/pallet_session.rs
+++ b/polkadot-parachains/statemint/src/weights/pallet_session.rs
@@ -1,7 +1,23 @@
-//! Autogenerated weights for pallet_session
+// Copyright 2021 Parity Technologies (UK) Ltd.
+// This file is part of Cumulus.
+
+// Cumulus is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Cumulus is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Cumulus. If not, see .
+
+//! Autogenerated weights for `pallet_session`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-06-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2021-10-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128
// Executed Command:
@@ -15,8 +31,11 @@
// --steps=50
// --repeat=20
// --raw
-// --output=./polkadot-parachains/statemint-runtime/src/weights
+// --header=./file_header.txt
+// --output=./polkadot-parachains/statemint/src/weights
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -26,13 +45,17 @@ use sp_std::marker::PhantomData;
/// Weight functions for pallet_session.
pub struct WeightInfo(PhantomData);
impl pallet_session::WeightInfo for WeightInfo {
+ // Storage: Session NextKeys (r:1 w:1)
+ // Storage: Session KeyOwner (r:1 w:1)
fn set_keys() -> Weight {
- (25_040_000 as Weight)
+ (25_928_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Session NextKeys (r:1 w:1)
+ // Storage: Session KeyOwner (r:0 w:1)
fn purge_keys() -> Weight {
- (17_551_000 as Weight)
+ (18_863_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
diff --git a/polkadot-parachains/statemint/src/weights/pallet_timestamp.rs b/polkadot-parachains/statemint/src/weights/pallet_timestamp.rs
index bd8c76a4dbc..8fd39dfaf94 100644
--- a/polkadot-parachains/statemint/src/weights/pallet_timestamp.rs
+++ b/polkadot-parachains/statemint/src/weights/pallet_timestamp.rs
@@ -1,11 +1,27 @@
-//! Autogenerated weights for pallet_timestamp
+// Copyright 2021 Parity Technologies (UK) Ltd.
+// This file is part of Cumulus.
+
+// Cumulus is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Cumulus is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Cumulus. If not, see .
+
+//! Autogenerated weights for `pallet_timestamp`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2021-10-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128
// Executed Command:
-// ./target/release/statemint
+// ./target/release/polkadot-collator
// benchmark
// --chain=statemint-dev
// --execution=wasm
@@ -15,8 +31,11 @@
// --steps=50
// --repeat=20
// --raw
-// --output=./runtime/statemint/src/weights/
+// --header=./file_header.txt
+// --output=./polkadot-parachains/statemint/src/weights
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -26,12 +45,13 @@ use sp_std::marker::PhantomData;
/// Weight functions for pallet_timestamp.
pub struct WeightInfo(PhantomData);
impl pallet_timestamp::WeightInfo for WeightInfo {
+ // Storage: Timestamp Now (r:1 w:1)
fn set() -> Weight {
- (7_687_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
+ (7_786_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn on_finalize() -> Weight {
- (4_303_000 as Weight)
+ (4_507_000 as Weight)
}
}
diff --git a/polkadot-parachains/statemint/src/weights/pallet_uniques.rs b/polkadot-parachains/statemint/src/weights/pallet_uniques.rs
index 1b42c35be2d..17148ca9609 100644
--- a/polkadot-parachains/statemint/src/weights/pallet_uniques.rs
+++ b/polkadot-parachains/statemint/src/weights/pallet_uniques.rs
@@ -14,26 +14,28 @@
// You should have received a copy of the GNU General Public License
// along with Cumulus. If not, see .
-//! Autogenerated weights for pallet_uniques
+//! Autogenerated weights for `pallet_uniques`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-06-02, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 128
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2021-10-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128
// Executed Command:
// ./target/release/polkadot-collator
// benchmark
-// --chain=statemine-dev
-// --steps=50
-// --repeat=20
-// --pallet=pallet_uniques
-// --extrinsic=*
+// --chain=statemint-dev
// --execution=wasm
// --wasm-execution=compiled
-// --heap-pages=4096
+// --pallet=pallet_uniques
+// --extrinsic=*
+// --steps=50
+// --repeat=20
+// --raw
// --header=./file_header.txt
-// --output=./polkadot-parachains/statemine-runtime/src/weights/
+// --output=./polkadot-parachains/statemint/src/weights
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -43,24 +45,32 @@ use sp_std::marker::PhantomData;
/// Weight functions for pallet_uniques.
pub struct WeightInfo(PhantomData);
impl pallet_uniques::WeightInfo for WeightInfo {
+ // Storage: Uniques Class (r:1 w:1)
fn create() -> Weight {
- (42_199_000 as Weight)
+ (45_992_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
fn force_create() -> Weight {
- (21_030_000 as Weight)
+ (23_298_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn destroy(n: u32, m: u32, a: u32) -> Weight {
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: Uniques Asset (r:1 w:0)
+ // Storage: Uniques Attribute (r:0 w:1000)
+ // Storage: Uniques ClassMetadataOf (r:0 w:1)
+ // Storage: Uniques InstanceMetadataOf (r:0 w:1000)
+ // Storage: Uniques Account (r:0 w:20)
+ fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 14_000
- .saturating_add((16_814_000 as Weight).saturating_mul(n as Weight))
- // Standard Error: 14_000
- .saturating_add((1_026_000 as Weight).saturating_mul(m as Weight))
- // Standard Error: 14_000
- .saturating_add((952_000 as Weight).saturating_mul(a as Weight))
+ // Standard Error: 13_000
+ .saturating_add((16_641_000 as Weight).saturating_mul(n as Weight))
+ // Standard Error: 13_000
+ .saturating_add((1_044_000 as Weight).saturating_mul(m as Weight))
+ // Standard Error: 13_000
+ .saturating_add((834_000 as Weight).saturating_mul(a 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().writes(2 as Weight))
@@ -68,102 +78,141 @@ impl pallet_uniques::WeightInfo for WeightInfo {
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(m as Weight)))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(a as Weight)))
}
+ // Storage: Uniques Asset (r:1 w:1)
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: Uniques Account (r:0 w:1)
fn mint() -> Weight {
- (57_236_000 as Weight)
+ (60_897_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: Uniques Asset (r:1 w:1)
+ // Storage: Uniques Account (r:0 w:1)
fn burn() -> Weight {
- (58_129_000 as Weight)
+ (62_855_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
+ // Storage: Uniques Class (r:1 w:0)
+ // Storage: Uniques Asset (r:1 w:1)
+ // Storage: Uniques Account (r:0 w:2)
fn transfer() -> Weight {
- (42_980_000 as Weight)
+ (46_073_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
- fn redeposit(i: u32) -> Weight {
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: Uniques Asset (r:100 w:100)
+ fn redeposit(i: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 11_000
- .saturating_add((26_921_000 as Weight).saturating_mul(i as Weight))
+ // Standard Error: 13_000
+ .saturating_add((28_260_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_mul(i as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
}
+ // Storage: Uniques Asset (r:1 w:1)
+ // Storage: Uniques Class (r:1 w:0)
fn freeze() -> Weight {
- (30_427_000 as Weight)
+ (31_797_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Uniques Asset (r:1 w:1)
+ // Storage: Uniques Class (r:1 w:0)
fn thaw() -> Weight {
- (29_789_000 as Weight)
+ (31_908_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
fn freeze_class() -> Weight {
- (21_380_000 as Weight)
+ (23_699_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
fn thaw_class() -> Weight {
- (21_430_000 as Weight)
+ (24_009_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
fn transfer_ownership() -> Weight {
- (49_331_000 as Weight)
+ (53_671_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
fn set_team() -> Weight {
- (22_305_000 as Weight)
+ (25_121_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
fn force_asset_status() -> Weight {
- (21_965_000 as Weight)
+ (24_014_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: Uniques InstanceMetadataOf (r:1 w:0)
+ // Storage: Uniques Attribute (r:1 w:1)
fn set_attribute() -> Weight {
- (70_386_000 as Weight)
+ (74_401_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: Uniques InstanceMetadataOf (r:1 w:0)
+ // Storage: Uniques Attribute (r:1 w:1)
fn clear_attribute() -> Weight {
- (63_932_000 as Weight)
+ (68_920_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: Uniques InstanceMetadataOf (r:1 w:1)
fn set_metadata() -> Weight {
- (53_647_000 as Weight)
+ (58_097_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: Uniques InstanceMetadataOf (r:1 w:1)
fn clear_metadata() -> Weight {
- (52_353_000 as Weight)
+ (56_565_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: Uniques ClassMetadataOf (r:1 w:1)
fn set_class_metadata() -> Weight {
- (51_900_000 as Weight)
+ (56_836_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Uniques Class (r:1 w:0)
+ // Storage: Uniques ClassMetadataOf (r:1 w:1)
fn clear_class_metadata() -> Weight {
- (46_929_000 as Weight)
+ (51_571_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Uniques Class (r:1 w:0)
+ // Storage: Uniques Asset (r:1 w:1)
fn approve_transfer() -> Weight {
- (32_693_000 as Weight)
+ (35_058_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Uniques Class (r:1 w:0)
+ // Storage: Uniques Asset (r:1 w:1)
fn cancel_approval() -> Weight {
- (32_418_000 as Weight)
+ (34_310_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
diff --git a/polkadot-parachains/statemint/src/weights/pallet_utility.rs b/polkadot-parachains/statemint/src/weights/pallet_utility.rs
index 3923c750a67..cd5517c2380 100644
--- a/polkadot-parachains/statemint/src/weights/pallet_utility.rs
+++ b/polkadot-parachains/statemint/src/weights/pallet_utility.rs
@@ -1,11 +1,27 @@
-//! Autogenerated weights for pallet_utility
+// Copyright 2021 Parity Technologies (UK) Ltd.
+// This file is part of Cumulus.
+
+// Cumulus is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Cumulus is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Cumulus. If not, see .
+
+//! Autogenerated weights for `pallet_utility`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2021-10-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128
// Executed Command:
-// ./target/release/statemint
+// ./target/release/polkadot-collator
// benchmark
// --chain=statemint-dev
// --execution=wasm
@@ -15,8 +31,11 @@
// --steps=50
// --repeat=20
// --raw
-// --output=./runtime/statemint/src/weights/
+// --header=./file_header.txt
+// --output=./polkadot-parachains/statemint/src/weights
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -26,17 +45,17 @@ use sp_std::marker::PhantomData;
/// Weight functions for pallet_utility.
pub struct WeightInfo(PhantomData);
impl pallet_utility::WeightInfo for WeightInfo {
- fn batch(c: u32) -> Weight {
- (15_408_000 as Weight)
- // Standard Error: 0
- .saturating_add((4_571_000 as Weight).saturating_mul(c as Weight))
+ fn batch(c: u32, ) -> Weight {
+ (35_032_000 as Weight)
+ // Standard Error: 3_000
+ .saturating_add((8_071_000 as Weight).saturating_mul(c as Weight))
}
fn as_derivative() -> Weight {
- (7_817_000 as Weight)
+ (5_111_000 as Weight)
}
- fn batch_all(c: u32) -> Weight {
- (16_520_000 as Weight)
- // Standard Error: 0
- .saturating_add((4_571_000 as Weight).saturating_mul(c as Weight))
+ fn batch_all(c: u32, ) -> Weight {
+ (39_269_000 as Weight)
+ // Standard Error: 3_000
+ .saturating_add((8_782_000 as Weight).saturating_mul(c as Weight))
}
}
diff --git a/polkadot-parachains/westmint/src/weights/pallet_assets.rs b/polkadot-parachains/westmint/src/weights/pallet_assets.rs
index d8fec88ccf2..9162e4a31e1 100644
--- a/polkadot-parachains/westmint/src/weights/pallet_assets.rs
+++ b/polkadot-parachains/westmint/src/weights/pallet_assets.rs
@@ -1,13 +1,29 @@
-//! Autogenerated weights for pallet_assets
+// Copyright 2021 Parity Technologies (UK) Ltd.
+// This file is part of Cumulus.
+
+// Cumulus is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Cumulus is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Cumulus. If not, see .
+
+//! Autogenerated weights for `pallet_assets`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2021-10-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 128
// Executed Command:
-// ./target/release/statemint
+// ./target/release/polkadot-collator
// benchmark
-// --chain=statemint-dev
+// --chain=westmint-dev
// --execution=wasm
// --wasm-execution=compiled
// --pallet=pallet_assets
@@ -15,8 +31,11 @@
// --steps=50
// --repeat=20
// --raw
-// --output=./runtime/statemint/src/weights/
+// --header=./file_header.txt
+// --output=./polkadot-parachains/westmint/src/weights
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -26,134 +45,183 @@ use sp_std::marker::PhantomData;
/// Weight functions for pallet_assets.
pub struct WeightInfo(PhantomData);
impl pallet_assets::WeightInfo for WeightInfo {
+ // Storage: Assets Asset (r:1 w:1)
fn create() -> Weight {
- (44_125_000 as Weight)
+ (44_080_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
fn force_create() -> Weight {
- (22_842_000 as Weight)
+ (21_744_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn destroy(c: u32, s: u32, a: u32) -> Weight {
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Account (r:5002 w:5001)
+ // Storage: System Account (r:5000 w:5000)
+ // Storage: Assets Metadata (r:1 w:0)
+ // Storage: Assets Approvals (r:501 w:500)
+ fn destroy(c: u32, s: u32, a: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 37_000
- .saturating_add((21_822_000 as Weight).saturating_mul(c as Weight))
- // Standard Error: 37_000
- .saturating_add((29_044_000 as Weight).saturating_mul(s as Weight))
- // Standard Error: 370_000
- .saturating_add((3_000_000 as Weight).saturating_mul(a as Weight))
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
+ // Standard Error: 41_000
+ .saturating_add((20_043_000 as Weight).saturating_mul(c as Weight))
+ // Standard Error: 41_000
+ .saturating_add((27_229_000 as Weight).saturating_mul(s as Weight))
+ // Standard Error: 418_000
+ .saturating_add((27_798_000 as Weight).saturating_mul(a 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(s as Weight)))
+ .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(a as Weight)))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(c as Weight)))
.saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(a as Weight)))
}
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Account (r:1 w:1)
fn mint() -> Weight {
- (49_933_000 as Weight)
+ (49_897_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Account (r:1 w:1)
fn burn() -> Weight {
- (56_434_000 as Weight)
+ (56_521_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Account (r:2 w:2)
+ // Storage: System Account (r:1 w:1)
fn transfer() -> Weight {
- (85_393_000 as Weight)
+ (87_004_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Account (r:2 w:2)
+ // Storage: System Account (r:1 w:1)
fn transfer_keep_alive() -> Weight {
- (72_039_000 as Weight)
+ (73_037_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Account (r:2 w:2)
+ // Storage: System Account (r:1 w:1)
fn force_transfer() -> Weight {
- (85_214_000 as Weight)
+ (86_994_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
+ // Storage: Assets Asset (r:1 w:0)
+ // Storage: Assets Account (r:1 w:1)
fn freeze() -> Weight {
- (31_915_000 as Weight)
+ (33_464_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:0)
+ // Storage: Assets Account (r:1 w:1)
fn thaw() -> Weight {
- (31_296_000 as Weight)
+ (33_300_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
fn freeze_asset() -> Weight {
- (22_272_000 as Weight)
+ (24_529_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
fn thaw_asset() -> Weight {
- (22_336_000 as Weight)
+ (24_666_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Metadata (r:1 w:0)
fn transfer_ownership() -> Weight {
- (25_526_000 as Weight)
+ (27_867_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
fn set_team() -> Weight {
- (22_632_000 as Weight)
+ (25_107_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn set_metadata(_n: u32, s: u32) -> Weight {
- (50_330_000 as Weight)
+ // Storage: Assets Asset (r:1 w:0)
+ // Storage: Assets Metadata (r:1 w:1)
+ fn set_metadata(_n: u32, s: u32, ) -> Weight {
+ (52_476_000 as Weight)
// Standard Error: 0
- .saturating_add((9_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add((6_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:0)
+ // Storage: Assets Metadata (r:1 w:1)
fn clear_metadata() -> Weight {
- (48_266_000 as Weight)
+ (50_279_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn force_set_metadata(_n: u32, s: u32) -> Weight {
- (26_249_000 as Weight)
+ // Storage: Assets Asset (r:1 w:0)
+ // Storage: Assets Metadata (r:1 w:1)
+ fn force_set_metadata(_n: u32, s: u32, ) -> Weight {
+ (27_068_000 as Weight)
// Standard Error: 0
- .saturating_add((6_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add((5_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:0)
+ // Storage: Assets Metadata (r:1 w:1)
fn force_clear_metadata() -> Weight {
- (49_616_000 as Weight)
+ (49_754_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
fn force_asset_status() -> Weight {
- (22_596_000 as Weight)
+ (22_873_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Approvals (r:1 w:1)
fn approve_transfer() -> Weight {
- (48_708_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ (59_043_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(2 as Weight))
+ .saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Assets Approvals (r:1 w:1)
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Account (r:2 w:2)
+ // Storage: System Account (r:1 w:1)
fn transfer_approved() -> Weight {
- (108_476_000 as Weight)
+ (114_211_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Approvals (r:1 w:1)
fn cancel_approval() -> Weight {
- (49_157_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ (59_229_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(2 as Weight))
+ .saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Assets Asset (r:1 w:1)
+ // Storage: Assets Approvals (r:1 w:1)
fn force_cancel_approval() -> Weight {
- (56_862_000 as Weight)
+ (61_123_000 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(2 as Weight))
}
}
diff --git a/polkadot-parachains/westmint/src/weights/pallet_balances.rs b/polkadot-parachains/westmint/src/weights/pallet_balances.rs
index 9511a017602..cb274070789 100644
--- a/polkadot-parachains/westmint/src/weights/pallet_balances.rs
+++ b/polkadot-parachains/westmint/src/weights/pallet_balances.rs
@@ -1,13 +1,29 @@
-//! Autogenerated weights for pallet_balances
+// Copyright 2021 Parity Technologies (UK) Ltd.
+// This file is part of Cumulus.
+
+// Cumulus is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Cumulus is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Cumulus. If not, see .
+
+//! Autogenerated weights for `pallet_balances`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2021-10-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 128
// Executed Command:
-// ./target/release/statemint
+// ./target/release/polkadot-collator
// benchmark
-// --chain=statemint-dev
+// --chain=westmint-dev
// --execution=wasm
// --wasm-execution=compiled
// --pallet=pallet_balances
@@ -15,8 +31,11 @@
// --steps=50
// --repeat=20
// --raw
-// --output=./runtime/statemint/src/weights/
+// --header=./file_header.txt
+// --output=./polkadot-parachains/westmint/src/weights
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -26,39 +45,39 @@ use sp_std::marker::PhantomData;
/// Weight functions for pallet_balances.
pub struct WeightInfo(PhantomData);
impl pallet_balances::WeightInfo for WeightInfo {
+ // Storage: System Account (r:1 w:1)
fn transfer() -> Weight {
- (79_601_000 as Weight)
+ (80_134_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: System Account (r:1 w:1)
fn transfer_keep_alive() -> Weight {
- (58_429_000 as Weight)
+ (58_200_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: System Account (r:1 w:1)
fn set_balance_creating() -> Weight {
- (29_124_000 as Weight)
+ (30_541_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: System Account (r:1 w:1)
fn set_balance_killing() -> Weight {
- (36_476_000 as Weight)
+ (38_276_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: System Account (r:2 w:2)
fn force_transfer() -> Weight {
- (78_772_000 as Weight)
+ (80_705_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
- fn transfer_all() -> Weight {
- (84_170_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
- }
// Storage: System Account (r:1 w:1)
- fn force_unreserve() -> Weight {
- (27_766_000 as Weight)
+ fn transfer_all() -> Weight {
+ (74_037_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
diff --git a/polkadot-parachains/westmint/src/weights/pallet_collator_selection.rs b/polkadot-parachains/westmint/src/weights/pallet_collator_selection.rs
index 328b8c12201..44279893a27 100644
--- a/polkadot-parachains/westmint/src/weights/pallet_collator_selection.rs
+++ b/polkadot-parachains/westmint/src/weights/pallet_collator_selection.rs
@@ -1,13 +1,29 @@
-//! Autogenerated weights for pallet_collator_selection
+// Copyright 2021 Parity Technologies (UK) Ltd.
+// This file is part of Cumulus.
+
+// Cumulus is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Cumulus is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Cumulus. If not, see .
+
+//! Autogenerated weights for `pallet_collator_selection`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2021-10-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 128
// Executed Command:
-// ./target/release/statemint
+// ./target/release/polkadot-collator
// benchmark
-// --chain=statemint-dev
+// --chain=westmint-dev
// --execution=wasm
// --wasm-execution=compiled
// --pallet=pallet_collator_selection
@@ -15,8 +31,11 @@
// --steps=50
// --repeat=20
// --raw
-// --output=./runtime/statemint/src/weights/
+// --header=./file_header.txt
+// --output=./polkadot-parachains/westmint/src/weights
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -26,46 +45,66 @@ use sp_std::marker::PhantomData;
/// Weight functions for pallet_collator_selection.
pub struct WeightInfo(PhantomData);
impl pallet_collator_selection::WeightInfo for WeightInfo {
- fn set_invulnerables(b: u32) -> Weight {
- (18_563_000 as Weight)
+ // Storage: CollatorSelection Invulnerables (r:0 w:1)
+ fn set_invulnerables(b: u32, ) -> Weight {
+ (17_923_000 as Weight)
// Standard Error: 0
- .saturating_add((68_000 as Weight).saturating_mul(b as Weight))
+ .saturating_add((49_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: CollatorSelection DesiredCandidates (r:0 w:1)
fn set_desired_candidates() -> Weight {
- (16_363_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
+ (15_659_000 as Weight)
+ .saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: CollatorSelection CandidacyBond (r:0 w:1)
fn set_candidacy_bond() -> Weight {
- (16_840_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
+ (16_265_000 as Weight)
+ .saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn register_as_candidate(c: u32) -> Weight {
- (71_196_000 as Weight)
- // Standard Error: 0
- .saturating_add((198_000 as Weight).saturating_mul(c as Weight))
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
+ // Storage: CollatorSelection Candidates (r:1 w:1)
+ // Storage: CollatorSelection DesiredCandidates (r:1 w:0)
+ // Storage: CollatorSelection Invulnerables (r:1 w:0)
+ // Storage: Session NextKeys (r:1 w:0)
+ // Storage: CollatorSelection CandidacyBond (r:1 w:0)
+ // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
+ fn register_as_candidate(c: u32, ) -> Weight {
+ (77_849_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((148_000 as Weight).saturating_mul(c as Weight))
+ .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
- fn leave_intent(c: u32) -> Weight {
- (55_336_000 as Weight)
- // Standard Error: 0
- .saturating_add((151_000 as Weight).saturating_mul(c as Weight))
+ // Storage: CollatorSelection Candidates (r:1 w:1)
+ // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
+ fn leave_intent(c: u32, ) -> Weight {
+ (66_934_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((213_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: System Account (r:2 w:2)
+ // Storage: System BlockWeight (r:1 w:1)
+ // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
fn note_author() -> Weight {
- (71_461_000 as Weight)
+ (69_179_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
- fn new_session(r: u32, c: u32) -> Weight {
+ // Storage: CollatorSelection Candidates (r:1 w:1)
+ // Storage: CollatorSelection LastAuthoredBlock (r:1000 w:1)
+ // Storage: System Account (r:1 w:1)
+ // Storage: CollatorSelection Invulnerables (r:1 w:0)
+ // Storage: System BlockWeight (r:1 w:1)
+ fn new_session(r: u32, c: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_010_000
- .saturating_add((109_961_000 as Weight).saturating_mul(r as Weight))
- // Standard Error: 1_010_000
- .saturating_add((151_952_000 as Weight).saturating_mul(c as Weight))
- .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))
+ // Standard Error: 4_465_000
+ .saturating_add((25_104_000 as Weight).saturating_mul(r as Weight))
+ // Standard Error: 4_465_000
+ .saturating_add((117_326_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().writes((2 as Weight).saturating_mul(r as Weight)))
- .saturating_add(T::DbWeight::get().writes((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(c as Weight)))
}
}
diff --git a/polkadot-parachains/westmint/src/weights/pallet_multisig.rs b/polkadot-parachains/westmint/src/weights/pallet_multisig.rs
index b79a8e0cad9..2d6242e721b 100644
--- a/polkadot-parachains/westmint/src/weights/pallet_multisig.rs
+++ b/polkadot-parachains/westmint/src/weights/pallet_multisig.rs
@@ -1,13 +1,29 @@
-//! Autogenerated weights for pallet_multisig
+// Copyright 2021 Parity Technologies (UK) Ltd.
+// This file is part of Cumulus.
+
+// Cumulus is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Cumulus is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Cumulus. If not, see .
+
+//! Autogenerated weights for `pallet_multisig`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2021-10-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 128
// Executed Command:
-// ./target/release/statemint
+// ./target/release/polkadot-collator
// benchmark
-// --chain=statemint-dev
+// --chain=westmint-dev
// --execution=wasm
// --wasm-execution=compiled
// --pallet=pallet_multisig
@@ -15,8 +31,11 @@
// --steps=50
// --repeat=20
// --raw
-// --output=./runtime/statemint/src/weights/
+// --header=./file_header.txt
+// --output=./polkadot-parachains/westmint/src/weights
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -26,81 +45,101 @@ use sp_std::marker::PhantomData;
/// Weight functions for pallet_multisig.
pub struct WeightInfo(PhantomData);
impl pallet_multisig::WeightInfo for WeightInfo {
- fn as_multi_threshold_1(z: u32) -> Weight {
- (14_936_000 as Weight)
+ fn as_multi_threshold_1(z: u32, ) -> Weight {
+ (20_064_000 as Weight)
// Standard Error: 0
.saturating_add((1_000 as Weight).saturating_mul(z as Weight))
}
- fn as_multi_create(s: u32, z: u32) -> Weight {
- (56_090_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((63_000 as Weight).saturating_mul(s as Weight))
+ // Storage: Multisig Multisigs (r:1 w:1)
+ // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
+ fn as_multi_create(s: u32, z: u32, ) -> Weight {
+ (53_366_000 as Weight)
// Standard Error: 0
- .saturating_add((1_000 as Weight).saturating_mul(z as Weight))
+ .saturating_add((160_000 as Weight).saturating_mul(s as Weight))
+ // Standard Error: 0
+ .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().writes(1 as Weight))
}
- fn as_multi_create_store(s: u32, z: u32) -> Weight {
- (62_519_000 as Weight)
+ // Storage: Multisig Multisigs (r:1 w:1)
+ // Storage: Multisig Calls (r:1 w:1)
+ // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
+ fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
+ (58_596_000 as Weight)
// Standard Error: 1_000
- .saturating_add((66_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add((169_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0
.saturating_add((3_000 as Weight).saturating_mul(z as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
- fn as_multi_approve(s: u32, z: u32) -> Weight {
- (30_781_000 as Weight)
- // Standard Error: 0
- .saturating_add((111_000 as Weight).saturating_mul(s as Weight))
+ // Storage: Multisig Multisigs (r:1 w:1)
+ fn as_multi_approve(s: u32, z: u32, ) -> Weight {
+ (32_137_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((153_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0
- .saturating_add((1_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(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn as_multi_approve_store(s: u32, z: u32) -> Weight {
- (60_393_000 as Weight)
- // Standard Error: 0
- .saturating_add((118_000 as Weight).saturating_mul(s as Weight))
+ // Storage: Multisig Multisigs (r:1 w:1)
+ // Storage: Multisig Calls (r:1 w:1)
+ fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
+ (56_967_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((165_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0
.saturating_add((3_000 as Weight).saturating_mul(z as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
- fn as_multi_complete(s: u32, z: u32) -> Weight {
- (81_704_000 as Weight)
+ // Storage: Multisig Multisigs (r:1 w:1)
+ // Storage: Multisig Calls (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ fn as_multi_complete(s: u32, z: u32, ) -> Weight {
+ (74_502_000 as Weight)
// Standard Error: 1_000
- .saturating_add((248_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add((247_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0
- .saturating_add((5_000 as Weight).saturating_mul(z as Weight))
+ .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().writes(3 as Weight))
}
- fn approve_as_multi_create(s: u32) -> Weight {
- (55_585_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((115_000 as Weight).saturating_mul(s as Weight))
+ // Storage: Multisig Multisigs (r:1 w:1)
+ // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
+ fn approve_as_multi_create(s: u32, ) -> Weight {
+ (52_695_000 as Weight)
+ // Standard Error: 0
+ .saturating_add((162_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn approve_as_multi_approve(s: u32) -> Weight {
- (33_483_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((82_000 as Weight).saturating_mul(s as Weight))
+ // Storage: Multisig Multisigs (r:1 w:1)
+ // Storage: Multisig Calls (r:1 w:0)
+ fn approve_as_multi_approve(s: u32, ) -> Weight {
+ (31_109_000 as Weight)
+ // Standard Error: 0
+ .saturating_add((153_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn approve_as_multi_complete(s: u32) -> Weight {
- (154_732_000 as Weight)
+ // Storage: Multisig Multisigs (r:1 w:1)
+ // Storage: Multisig Calls (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ fn approve_as_multi_complete(s: u32, ) -> Weight {
+ (109_359_000 as Weight)
// Standard Error: 1_000
- .saturating_add((253_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add((259_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
- fn cancel_as_multi(s: u32) -> Weight {
- (104_447_000 as Weight)
+ // Storage: Multisig Multisigs (r:1 w:1)
+ // Storage: Multisig Calls (r:1 w:1)
+ fn cancel_as_multi(s: u32, ) -> Weight {
+ (85_937_000 as Weight)
// Standard Error: 1_000
- .saturating_add((114_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add((155_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
diff --git a/polkadot-parachains/westmint/src/weights/pallet_proxy.rs b/polkadot-parachains/westmint/src/weights/pallet_proxy.rs
index 493ebdfbcba..2d8b34198be 100644
--- a/polkadot-parachains/westmint/src/weights/pallet_proxy.rs
+++ b/polkadot-parachains/westmint/src/weights/pallet_proxy.rs
@@ -1,13 +1,29 @@
-//! Autogenerated weights for pallet_proxy
+// Copyright 2021 Parity Technologies (UK) Ltd.
+// This file is part of Cumulus.
+
+// Cumulus is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Cumulus is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Cumulus. If not, see .
+
+//! Autogenerated weights for `pallet_proxy`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2021-10-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 128
// Executed Command:
-// ./target/release/statemint
+// ./target/release/polkadot-collator
// benchmark
-// --chain=statemint-dev
+// --chain=westmint-dev
// --execution=wasm
// --wasm-execution=compiled
// --pallet=pallet_proxy
@@ -15,8 +31,11 @@
// --steps=50
// --repeat=20
// --raw
-// --output=./runtime/statemint/src/weights/
+// --header=./file_header.txt
+// --output=./polkadot-parachains/westmint/src/weights
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -26,80 +45,97 @@ use sp_std::marker::PhantomData;
/// Weight functions for pallet_proxy.
pub struct WeightInfo(PhantomData);
impl pallet_proxy::WeightInfo for WeightInfo {
- fn proxy(p: u32) -> Weight {
- (27_585_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((203_000 as Weight).saturating_mul(p as Weight))
+ // Storage: Proxy Proxies (r:1 w:0)
+ fn proxy(p: u32, ) -> Weight {
+ (23_584_000 as Weight)
+ // Standard Error: 2_000
+ .saturating_add((130_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
}
- fn proxy_announced(a: u32, p: u32) -> Weight {
- (61_093_000 as Weight)
+ // Storage: Proxy Proxies (r:1 w:0)
+ // Storage: Proxy Announcements (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ fn proxy_announced(a: u32, p: u32, ) -> Weight {
+ (54_435_000 as Weight)
// Standard Error: 2_000
- .saturating_add((680_000 as Weight).saturating_mul(a as Weight))
+ .saturating_add((495_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 2_000
- .saturating_add((201_000 as Weight).saturating_mul(p as Weight))
+ .saturating_add((143_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
- fn remove_announcement(a: u32, p: u32) -> Weight {
- (39_494_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((686_000 as Weight).saturating_mul(a as Weight))
- // Standard Error: 2_000
- .saturating_add((1_000 as Weight).saturating_mul(p as Weight))
+ // Storage: Proxy Announcements (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ fn remove_announcement(a: u32, p: u32, ) -> Weight {
+ (35_694_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((509_000 as Weight).saturating_mul(a as Weight))
+ // Standard Error: 1_000
+ .saturating_add((17_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
- fn reject_announcement(a: u32, p: u32) -> Weight {
- (39_817_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((685_000 as Weight).saturating_mul(a as Weight))
+ // Storage: Proxy Announcements (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ fn reject_announcement(a: u32, p: u32, ) -> Weight {
+ (35_773_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((506_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 2_000
- .saturating_add((1_000 as Weight).saturating_mul(p as Weight))
+ .saturating_add((13_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
- fn announce(a: u32, p: u32) -> Weight {
- (54_835_000 as Weight)
+ // Storage: Proxy Proxies (r:1 w:0)
+ // Storage: Proxy Announcements (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ fn announce(a: u32, p: u32, ) -> Weight {
+ (51_177_000 as Weight)
// Standard Error: 2_000
- .saturating_add((684_000 as Weight).saturating_mul(a as Weight))
+ .saturating_add((502_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 2_000
- .saturating_add((205_000 as Weight).saturating_mul(p as Weight))
+ .saturating_add((150_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
- fn add_proxy(p: u32) -> Weight {
- (37_625_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((300_000 as Weight).saturating_mul(p as Weight))
+ // Storage: Proxy Proxies (r:1 w:1)
+ fn add_proxy(p: u32, ) -> Weight {
+ (35_549_000 as Weight)
+ // Standard Error: 3_000
+ .saturating_add((175_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn remove_proxy(p: u32) -> Weight {
- (36_945_000 as Weight)
+ // Storage: Proxy Proxies (r:1 w:1)
+ fn remove_proxy(p: u32, ) -> Weight {
+ (35_068_000 as Weight)
// Standard Error: 3_000
- .saturating_add((325_000 as Weight).saturating_mul(p as Weight))
+ .saturating_add((204_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn remove_proxies(p: u32) -> Weight {
- (35_128_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((209_000 as Weight).saturating_mul(p as Weight))
+ // Storage: Proxy Proxies (r:1 w:1)
+ fn remove_proxies(p: u32, ) -> Weight {
+ (34_352_000 as Weight)
+ // Standard Error: 2_000
+ .saturating_add((117_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn anonymous(p: u32) -> Weight {
- (51_624_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((41_000 as Weight).saturating_mul(p as Weight))
+ // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
+ // Storage: Proxy Proxies (r:1 w:1)
+ fn anonymous(p: u32, ) -> Weight {
+ (49_841_000 as Weight)
+ // Standard Error: 3_000
+ .saturating_add((9_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn kill_anonymous(p: u32) -> Weight {
- (37_469_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((204_000 as Weight).saturating_mul(p as Weight))
+ // Storage: Proxy Proxies (r:1 w:1)
+ fn kill_anonymous(p: u32, ) -> Weight {
+ (36_384_000 as Weight)
+ // Standard Error: 2_000
+ .saturating_add((122_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
diff --git a/polkadot-parachains/westmint/src/weights/pallet_session.rs b/polkadot-parachains/westmint/src/weights/pallet_session.rs
index f8f9ae735af..b9099332a01 100644
--- a/polkadot-parachains/westmint/src/weights/pallet_session.rs
+++ b/polkadot-parachains/westmint/src/weights/pallet_session.rs
@@ -1,13 +1,29 @@
-//! Autogenerated weights for pallet_session
+// Copyright 2021 Parity Technologies (UK) Ltd.
+// This file is part of Cumulus.
+
+// Cumulus is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Cumulus is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Cumulus. If not, see .
+
+//! Autogenerated weights for `pallet_session`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-06-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2021-10-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 128
// Executed Command:
// ./target/release/polkadot-collator
// benchmark
-// --chain=statemint-dev
+// --chain=westmint-dev
// --execution=wasm
// --wasm-execution=compiled
// --pallet=pallet_session
@@ -15,8 +31,11 @@
// --steps=50
// --repeat=20
// --raw
-// --output=./polkadot-parachains/statemint-runtime/src/weights
+// --header=./file_header.txt
+// --output=./polkadot-parachains/westmint/src/weights
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -26,13 +45,17 @@ use sp_std::marker::PhantomData;
/// Weight functions for pallet_session.
pub struct WeightInfo(PhantomData);
impl pallet_session::WeightInfo for WeightInfo {
+ // Storage: Session NextKeys (r:1 w:1)
+ // Storage: Session KeyOwner (r:1 w:1)
fn set_keys() -> Weight {
- (25_040_000 as Weight)
+ (25_791_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Session NextKeys (r:1 w:1)
+ // Storage: Session KeyOwner (r:0 w:1)
fn purge_keys() -> Weight {
- (17_551_000 as Weight)
+ (18_166_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
diff --git a/polkadot-parachains/westmint/src/weights/pallet_timestamp.rs b/polkadot-parachains/westmint/src/weights/pallet_timestamp.rs
index bd8c76a4dbc..206a57d18ff 100644
--- a/polkadot-parachains/westmint/src/weights/pallet_timestamp.rs
+++ b/polkadot-parachains/westmint/src/weights/pallet_timestamp.rs
@@ -1,13 +1,29 @@
-//! Autogenerated weights for pallet_timestamp
+// Copyright 2021 Parity Technologies (UK) Ltd.
+// This file is part of Cumulus.
+
+// Cumulus is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Cumulus is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Cumulus. If not, see .
+
+//! Autogenerated weights for `pallet_timestamp`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2021-10-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 128
// Executed Command:
-// ./target/release/statemint
+// ./target/release/polkadot-collator
// benchmark
-// --chain=statemint-dev
+// --chain=westmint-dev
// --execution=wasm
// --wasm-execution=compiled
// --pallet=pallet_timestamp
@@ -15,8 +31,11 @@
// --steps=50
// --repeat=20
// --raw
-// --output=./runtime/statemint/src/weights/
+// --header=./file_header.txt
+// --output=./polkadot-parachains/westmint/src/weights
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -26,12 +45,13 @@ use sp_std::marker::PhantomData;
/// Weight functions for pallet_timestamp.
pub struct WeightInfo(PhantomData);
impl pallet_timestamp::WeightInfo for WeightInfo {
+ // Storage: Timestamp Now (r:1 w:1)
fn set() -> Weight {
- (7_687_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
+ (8_177_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn on_finalize() -> Weight {
- (4_303_000 as Weight)
+ (4_422_000 as Weight)
}
}
diff --git a/polkadot-parachains/westmint/src/weights/pallet_uniques.rs b/polkadot-parachains/westmint/src/weights/pallet_uniques.rs
index 1b42c35be2d..b6ddcc17bba 100644
--- a/polkadot-parachains/westmint/src/weights/pallet_uniques.rs
+++ b/polkadot-parachains/westmint/src/weights/pallet_uniques.rs
@@ -14,26 +14,28 @@
// You should have received a copy of the GNU General Public License
// along with Cumulus. If not, see .
-//! Autogenerated weights for pallet_uniques
+//! Autogenerated weights for `pallet_uniques`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-06-02, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 128
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2021-10-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 128
// Executed Command:
// ./target/release/polkadot-collator
// benchmark
-// --chain=statemine-dev
-// --steps=50
-// --repeat=20
-// --pallet=pallet_uniques
-// --extrinsic=*
+// --chain=westmint-dev
// --execution=wasm
// --wasm-execution=compiled
-// --heap-pages=4096
+// --pallet=pallet_uniques
+// --extrinsic=*
+// --steps=50
+// --repeat=20
+// --raw
// --header=./file_header.txt
-// --output=./polkadot-parachains/statemine-runtime/src/weights/
+// --output=./polkadot-parachains/westmint/src/weights
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -43,24 +45,32 @@ use sp_std::marker::PhantomData;
/// Weight functions for pallet_uniques.
pub struct WeightInfo(PhantomData);
impl pallet_uniques::WeightInfo for WeightInfo {
+ // Storage: Uniques Class (r:1 w:1)
fn create() -> Weight {
- (42_199_000 as Weight)
+ (43_061_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
fn force_create() -> Weight {
- (21_030_000 as Weight)
+ (21_453_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
- fn destroy(n: u32, m: u32, a: u32) -> Weight {
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: Uniques Asset (r:1 w:0)
+ // Storage: Uniques Attribute (r:0 w:1000)
+ // Storage: Uniques ClassMetadataOf (r:0 w:1)
+ // Storage: Uniques InstanceMetadataOf (r:0 w:1000)
+ // Storage: Uniques Account (r:0 w:20)
+ fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 14_000
- .saturating_add((16_814_000 as Weight).saturating_mul(n as Weight))
- // Standard Error: 14_000
- .saturating_add((1_026_000 as Weight).saturating_mul(m as Weight))
- // Standard Error: 14_000
- .saturating_add((952_000 as Weight).saturating_mul(a as Weight))
+ // Standard Error: 15_000
+ .saturating_add((16_115_000 as Weight).saturating_mul(n as Weight))
+ // Standard Error: 15_000
+ .saturating_add((1_044_000 as Weight).saturating_mul(m as Weight))
+ // Standard Error: 15_000
+ .saturating_add((859_000 as Weight).saturating_mul(a 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().writes(2 as Weight))
@@ -68,102 +78,141 @@ impl pallet_uniques::WeightInfo for WeightInfo {
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(m as Weight)))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(a as Weight)))
}
+ // Storage: Uniques Asset (r:1 w:1)
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: Uniques Account (r:0 w:1)
fn mint() -> Weight {
- (57_236_000 as Weight)
+ (57_339_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: Uniques Asset (r:1 w:1)
+ // Storage: Uniques Account (r:0 w:1)
fn burn() -> Weight {
- (58_129_000 as Weight)
+ (58_514_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
+ // Storage: Uniques Class (r:1 w:0)
+ // Storage: Uniques Asset (r:1 w:1)
+ // Storage: Uniques Account (r:0 w:2)
fn transfer() -> Weight {
- (42_980_000 as Weight)
+ (43_682_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
- fn redeposit(i: u32) -> Weight {
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: Uniques Asset (r:100 w:100)
+ fn redeposit(i: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 11_000
- .saturating_add((26_921_000 as Weight).saturating_mul(i as Weight))
+ // Standard Error: 15_000
+ .saturating_add((26_966_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_mul(i as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
}
+ // Storage: Uniques Asset (r:1 w:1)
+ // Storage: Uniques Class (r:1 w:0)
fn freeze() -> Weight {
- (30_427_000 as Weight)
+ (30_244_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Uniques Asset (r:1 w:1)
+ // Storage: Uniques Class (r:1 w:0)
fn thaw() -> Weight {
- (29_789_000 as Weight)
+ (30_067_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
fn freeze_class() -> Weight {
- (21_380_000 as Weight)
+ (22_708_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
fn thaw_class() -> Weight {
- (21_430_000 as Weight)
+ (22_747_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
fn transfer_ownership() -> Weight {
- (49_331_000 as Weight)
+ (51_123_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
fn set_team() -> Weight {
- (22_305_000 as Weight)
+ (23_482_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
fn force_asset_status() -> Weight {
- (21_965_000 as Weight)
+ (22_383_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: Uniques InstanceMetadataOf (r:1 w:0)
+ // Storage: Uniques Attribute (r:1 w:1)
fn set_attribute() -> Weight {
- (70_386_000 as Weight)
+ (70_980_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: Uniques InstanceMetadataOf (r:1 w:0)
+ // Storage: Uniques Attribute (r:1 w:1)
fn clear_attribute() -> Weight {
- (63_932_000 as Weight)
+ (63_949_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: Uniques InstanceMetadataOf (r:1 w:1)
fn set_metadata() -> Weight {
- (53_647_000 as Weight)
+ (54_397_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: Uniques InstanceMetadataOf (r:1 w:1)
fn clear_metadata() -> Weight {
- (52_353_000 as Weight)
+ (52_752_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Uniques Class (r:1 w:1)
+ // Storage: Uniques ClassMetadataOf (r:1 w:1)
fn set_class_metadata() -> Weight {
- (51_900_000 as Weight)
+ (53_620_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
+ // Storage: Uniques Class (r:1 w:0)
+ // Storage: Uniques ClassMetadataOf (r:1 w:1)
fn clear_class_metadata() -> Weight {
- (46_929_000 as Weight)
+ (48_462_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Uniques Class (r:1 w:0)
+ // Storage: Uniques Asset (r:1 w:1)
fn approve_transfer() -> Weight {
- (32_693_000 as Weight)
+ (31_999_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
+ // Storage: Uniques Class (r:1 w:0)
+ // Storage: Uniques Asset (r:1 w:1)
fn cancel_approval() -> Weight {
- (32_418_000 as Weight)
+ (32_338_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
diff --git a/polkadot-parachains/westmint/src/weights/pallet_utility.rs b/polkadot-parachains/westmint/src/weights/pallet_utility.rs
index 3923c750a67..02e3456904d 100644
--- a/polkadot-parachains/westmint/src/weights/pallet_utility.rs
+++ b/polkadot-parachains/westmint/src/weights/pallet_utility.rs
@@ -1,13 +1,29 @@
-//! Autogenerated weights for pallet_utility
+// Copyright 2021 Parity Technologies (UK) Ltd.
+// This file is part of Cumulus.
+
+// Cumulus is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Cumulus is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Cumulus. If not, see .
+
+//! Autogenerated weights for `pallet_utility`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2021-10-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 128
// Executed Command:
-// ./target/release/statemint
+// ./target/release/polkadot-collator
// benchmark
-// --chain=statemint-dev
+// --chain=westmint-dev
// --execution=wasm
// --wasm-execution=compiled
// --pallet=pallet_utility
@@ -15,8 +31,11 @@
// --steps=50
// --repeat=20
// --raw
-// --output=./runtime/statemint/src/weights/
+// --header=./file_header.txt
+// --output=./polkadot-parachains/westmint/src/weights
+
+#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -26,17 +45,17 @@ use sp_std::marker::PhantomData;
/// Weight functions for pallet_utility.
pub struct WeightInfo(PhantomData);
impl pallet_utility::WeightInfo for WeightInfo {
- fn batch(c: u32) -> Weight {
- (15_408_000 as Weight)
- // Standard Error: 0
- .saturating_add((4_571_000 as Weight).saturating_mul(c as Weight))
+ fn batch(c: u32, ) -> Weight {
+ (31_135_000 as Weight)
+ // Standard Error: 2_000
+ .saturating_add((7_752_000 as Weight).saturating_mul(c as Weight))
}
fn as_derivative() -> Weight {
- (7_817_000 as Weight)
+ (4_788_000 as Weight)
}
- fn batch_all(c: u32) -> Weight {
- (16_520_000 as Weight)
- // Standard Error: 0
- .saturating_add((4_571_000 as Weight).saturating_mul(c as Weight))
+ fn batch_all(c: u32, ) -> Weight {
+ (34_790_000 as Weight)
+ // Standard Error: 2_000
+ .saturating_add((8_622_000 as Weight).saturating_mul(c as Weight))
}
}