mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 19:51:02 +00:00
update weights (#5097)
* westend: update weights * kusama: update weights * polkadot: update weights * westend: update weights (production profile) * kusama: update weights (production profile) * polkadot: update weights (production profile) * kusama: update weights (production profile pt 2) * westend: update weights (production profile pt 2) * fixup * fixup * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/ * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/ * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/ Co-authored-by: Parity Bot <admin@parity.io>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2021 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -16,11 +16,11 @@
|
||||
//! Autogenerated weights for `frame_benchmarking::baseline`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-01-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/production/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -44,39 +44,37 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for WeightInfo<T> {
|
||||
fn addition(_i: u32, ) -> Weight {
|
||||
(128_000 as Weight)
|
||||
(114_000 as Weight)
|
||||
}
|
||||
fn subtraction(_i: u32, ) -> Weight {
|
||||
(128_000 as Weight)
|
||||
(108_000 as Weight)
|
||||
}
|
||||
fn multiplication(_i: u32, ) -> Weight {
|
||||
(133_000 as Weight)
|
||||
(113_000 as Weight)
|
||||
}
|
||||
fn division(_i: u32, ) -> Weight {
|
||||
(147_000 as Weight)
|
||||
(111_000 as Weight)
|
||||
}
|
||||
fn hashing(i: u32, ) -> Weight {
|
||||
(19_711_716_000 as Weight)
|
||||
// Standard Error: 116_000
|
||||
.saturating_add((320_000 as Weight).saturating_mul(i as Weight))
|
||||
fn hashing(_i: u32, ) -> Weight {
|
||||
(19_085_634_000 as Weight)
|
||||
}
|
||||
fn sr25519_verification(i: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 14_000
|
||||
.saturating_add((47_625_000 as Weight).saturating_mul(i as Weight))
|
||||
.saturating_add((47_267_000 as Weight).saturating_mul(i as Weight))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
fn storage_read(i: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add((2_027_000 as Weight).saturating_mul(i as Weight))
|
||||
// Standard Error: 4_000
|
||||
.saturating_add((1_988_000 as Weight).saturating_mul(i as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(i as Weight)))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
fn storage_write(i: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((329_000 as Weight).saturating_mul(i as Weight))
|
||||
.saturating_add((320_000 as Weight).saturating_mul(i as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2020 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -15,12 +15,12 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for `frame_system`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-06-19, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-03-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -33,6 +33,7 @@
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
@@ -42,33 +43,40 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `frame_system`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||
fn remark(_b: u32) -> Weight {
|
||||
(1_234_000 as Weight)
|
||||
fn remark(_b: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
}
|
||||
fn remark_with_event(b: u32) -> Weight {
|
||||
fn remark_with_event(b: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((1_000 as Weight).saturating_mul(b as Weight))
|
||||
.saturating_add((2_000 as Weight).saturating_mul(b as Weight))
|
||||
}
|
||||
// Storage: System Digest (r:1 w:1)
|
||||
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
|
||||
fn set_heap_pages() -> Weight {
|
||||
(1_670_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
(2_293_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn set_storage(i: u32) -> Weight {
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
fn set_storage(i: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((529_000 as Weight).saturating_mul(i as Weight))
|
||||
.saturating_add((329_000 as Weight).saturating_mul(i as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
|
||||
}
|
||||
fn kill_storage(i: u32) -> Weight {
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
fn kill_storage(i: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((381_000 as Weight).saturating_mul(i as Weight))
|
||||
.saturating_add((238_000 as Weight).saturating_mul(i as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
|
||||
}
|
||||
fn kill_prefix(p: u32) -> Weight {
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
fn kill_prefix(p: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((788_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add((593_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2021 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -16,22 +16,22 @@
|
||||
//! Autogenerated weights for `pallet_bags_list`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2021-12-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet-bags-list
|
||||
// --pallet=pallet_bags_list
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
// --output=./runtime/kusama/src/weights/pallet_bags_list.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -48,7 +48,7 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
|
||||
// Storage: BagsList ListNodes (r:4 w:4)
|
||||
// Storage: BagsList ListBags (r:1 w:1)
|
||||
fn rebag_non_terminal() -> Weight {
|
||||
(64_147_000 as Weight)
|
||||
(38_665_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as Weight))
|
||||
}
|
||||
@@ -57,7 +57,7 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
|
||||
// Storage: BagsList ListNodes (r:3 w:3)
|
||||
// Storage: BagsList ListBags (r:2 w:2)
|
||||
fn rebag_terminal() -> Weight {
|
||||
(61_899_000 as Weight)
|
||||
(38_388_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as Weight))
|
||||
}
|
||||
@@ -67,7 +67,7 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
|
||||
// Storage: BagsList CounterForListNodes (r:1 w:1)
|
||||
// Storage: BagsList ListBags (r:1 w:1)
|
||||
fn put_in_front_of() -> Weight {
|
||||
(73_684_000 as Weight)
|
||||
(43_827_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(10 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as Weight))
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2021 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -16,11 +16,11 @@
|
||||
//! Autogenerated weights for `pallet_balances`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-01-24, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/production/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -31,7 +31,7 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
// --output=./runtime/kusama/src/weights/pallet_balances.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -45,43 +45,43 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer() -> Weight {
|
||||
(29_999_000 as Weight)
|
||||
(32_009_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 {
|
||||
(23_263_000 as Weight)
|
||||
(23_427_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 {
|
||||
(14_780_000 as Weight)
|
||||
(15_154_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 {
|
||||
(17_217_000 as Weight)
|
||||
(17_885_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 {
|
||||
(30_538_000 as Weight)
|
||||
(31_871_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer_all() -> Weight {
|
||||
(27_937_000 as Weight)
|
||||
(28_975_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 {
|
||||
(13_646_000 as Weight)
|
||||
(13_626_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2020 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -15,12 +15,12 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for `pallet_bounties`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -31,8 +31,9 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
// --output=./runtime/kusama/src/weights/pallet_bounties.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
@@ -42,62 +43,87 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_bounties`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
|
||||
fn propose_bounty(d: u32) -> Weight {
|
||||
(43_276_000 as Weight)
|
||||
// Storage: Bounties BountyCount (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
// Storage: Bounties Bounties (r:0 w:1)
|
||||
fn propose_bounty(d: u32, ) -> Weight {
|
||||
(21_103_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((1_000 as Weight).saturating_mul(d as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
fn approve_bounty() -> Weight {
|
||||
(11_557_000 as Weight)
|
||||
(7_028_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
fn propose_curator() -> Weight {
|
||||
(8_693_000 as Weight)
|
||||
(5_052_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn unassign_curator() -> Weight {
|
||||
(53_028_000 as Weight)
|
||||
(31_695_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn accept_curator() -> Weight {
|
||||
(36_603_000 as Weight)
|
||||
(18_673_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
fn award_bounty() -> Weight {
|
||||
(24_706_000 as Weight)
|
||||
(13_456_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:3 w:3)
|
||||
// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
fn claim_bounty() -> Weight {
|
||||
(126_167_000 as Weight)
|
||||
(52_983_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as Weight))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
fn close_bounty_proposed() -> Weight {
|
||||
(51_788_000 as Weight)
|
||||
(30_964_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
fn close_bounty_active() -> Weight {
|
||||
(83_343_000 as Weight)
|
||||
(39_645_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
fn extend_bounty_expiry() -> Weight {
|
||||
(23_740_000 as Weight)
|
||||
(12_827_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn spend_funds(b: u32) -> Weight {
|
||||
// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
fn spend_funds(b: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 14_000
|
||||
.saturating_add((60_142_000 as Weight).saturating_mul(b as Weight))
|
||||
// Standard Error: 16_000
|
||||
.saturating_add((27_815_000 as Weight).saturating_mul(b as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(b as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2020 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -15,12 +15,12 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for `pallet_democracy`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -31,8 +31,9 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
// --output=./runtime/kusama/src/weights/pallet_democracy.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
@@ -42,167 +43,236 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_democracy`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy PublicPropCount (r:1 w:1)
|
||||
// Storage: Democracy PublicProps (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:1 w:0)
|
||||
// Storage: Democracy DepositOf (r:0 w:1)
|
||||
fn propose() -> Weight {
|
||||
(58_488_000 as Weight)
|
||||
(32_753_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn second(s: u32) -> Weight {
|
||||
(39_011_000 as Weight)
|
||||
// Storage: Democracy DepositOf (r:1 w:1)
|
||||
fn second(s: u32, ) -> Weight {
|
||||
(23_509_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((157_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((84_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 vote_new(r: u32) -> Weight {
|
||||
(43_998_000 as Weight)
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn vote_new(r: u32, ) -> Weight {
|
||||
(31_071_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((211_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((129_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn vote_existing(r: u32) -> Weight {
|
||||
(44_219_000 as Weight)
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn vote_existing(r: u32, ) -> Weight {
|
||||
(31_126_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((206_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((132_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy Cancellations (r:1 w:1)
|
||||
fn emergency_cancel() -> Weight {
|
||||
(28_974_000 as Weight)
|
||||
(14_025_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn blacklist(p: u32) -> Weight {
|
||||
(77_299_000 as Weight)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add((541_000 as Weight).saturating_mul(p as Weight))
|
||||
// Storage: Democracy PublicProps (r:1 w:1)
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:0 w:1)
|
||||
// Storage: Democracy DepositOf (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn blacklist(p: u32, ) -> Weight {
|
||||
(46_277_000 as Weight)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add((199_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as Weight))
|
||||
}
|
||||
fn external_propose(v: u32) -> Weight {
|
||||
(13_334_000 as Weight)
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:1 w:0)
|
||||
fn external_propose(v: u32, ) -> Weight {
|
||||
(7_590_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((80_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add((29_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:0 w:1)
|
||||
fn external_propose_majority() -> Weight {
|
||||
(2_650_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
(1_602_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:0 w:1)
|
||||
fn external_propose_default() -> Weight {
|
||||
(2_667_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
(1_380_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy ReferendumCount (r:1 w:1)
|
||||
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
|
||||
fn fast_track() -> Weight {
|
||||
(27_908_000 as Weight)
|
||||
(14_130_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn veto_external(v: u32) -> Weight {
|
||||
(28_446_000 as Weight)
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:1 w:1)
|
||||
fn veto_external(v: u32, ) -> Weight {
|
||||
(14_804_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((134_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add((62_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn cancel_proposal(p: u32) -> Weight {
|
||||
(51_004_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((512_000 as Weight).saturating_mul(p as Weight))
|
||||
// Storage: Democracy PublicProps (r:1 w:1)
|
||||
// Storage: Democracy DepositOf (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn cancel_proposal(p: u32, ) -> Weight {
|
||||
(34_598_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((186_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
|
||||
fn cancel_referendum() -> Weight {
|
||||
(17_377_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
(8_866_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn cancel_queued(r: u32) -> Weight {
|
||||
(33_882_000 as Weight)
|
||||
// Standard Error: 15_000
|
||||
.saturating_add((6_070_000 as Weight).saturating_mul(r as Weight))
|
||||
// Storage: Scheduler Lookup (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn cancel_queued(r: u32, ) -> Weight {
|
||||
(20_109_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((1_922_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn on_initialize_base(r: u32) -> Weight {
|
||||
(7_295_000 as Weight)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add((5_093_000 as Weight).saturating_mul(r as Weight))
|
||||
// Storage: Democracy LowestUnbaked (r:1 w:1)
|
||||
// Storage: Democracy ReferendumCount (r:1 w:0)
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:0)
|
||||
fn on_initialize_base(r: u32, ) -> Weight {
|
||||
(2_615_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((2_814_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Democracy LowestUnbaked (r:1 w:1)
|
||||
// Storage: Democracy ReferendumCount (r:1 w:0)
|
||||
// Storage: Democracy LastTabledWasExternal (r:1 w:0)
|
||||
// Storage: Democracy NextExternal (r:1 w:0)
|
||||
// Storage: Democracy PublicProps (r:1 w:0)
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:0)
|
||||
fn on_initialize_base_with_launch_period(r: u32, ) -> Weight {
|
||||
(6_624_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((2_820_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn on_initialize_base_with_launch_period(r: u32) -> Weight {
|
||||
(7_295_000 as Weight)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add((5_093_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))
|
||||
}
|
||||
fn delegate(r: u32) -> Weight {
|
||||
(54_128_000 as Weight)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add((7_209_000 as Weight).saturating_mul(r as Weight))
|
||||
// Storage: Democracy VotingOf (r:3 w:3)
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn delegate(r: u32, ) -> Weight {
|
||||
(31_399_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((3_594_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight)))
|
||||
}
|
||||
fn undelegate(r: u32) -> Weight {
|
||||
(23_613_000 as Weight)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add((7_196_000 as Weight).saturating_mul(r as Weight))
|
||||
// Storage: Democracy VotingOf (r:2 w:2)
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
fn undelegate(r: u32, ) -> Weight {
|
||||
(14_684_000 as Weight)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add((3_574_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight)))
|
||||
}
|
||||
// Storage: Democracy PublicProps (r:0 w:1)
|
||||
fn clear_public_proposals() -> Weight {
|
||||
(2_607_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn note_preimage(b: u32) -> Weight {
|
||||
(42_847_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((3_000 as Weight).saturating_mul(b as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
(1_164_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn note_imminent_preimage(b: u32) -> Weight {
|
||||
(27_699_000 as Weight)
|
||||
// Storage: Democracy Preimages (r:1 w:1)
|
||||
fn note_preimage(b: u32, ) -> Weight {
|
||||
(20_990_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((2_000 as Weight).saturating_mul(b as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn reap_preimage(b: u32) -> Weight {
|
||||
(38_171_000 as Weight)
|
||||
// Storage: Democracy Preimages (r:1 w:1)
|
||||
fn note_imminent_preimage(b: u32, ) -> Weight {
|
||||
(13_864_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((2_000 as Weight).saturating_mul(b as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Democracy Preimages (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:0)
|
||||
fn reap_preimage(b: u32, ) -> Weight {
|
||||
(20_944_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((1_000 as Weight).saturating_mul(b as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn unlock_remove(r: u32) -> Weight {
|
||||
(37_418_000 as Weight)
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn unlock_remove(r: u32, ) -> Weight {
|
||||
(19_908_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((55_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((26_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn unlock_set(r: u32) -> Weight {
|
||||
(35_077_000 as Weight)
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn unlock_set(r: u32, ) -> Weight {
|
||||
(19_013_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((197_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((114_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn remove_vote(r: u32) -> Weight {
|
||||
(19_476_000 as Weight)
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
fn remove_vote(r: u32, ) -> Weight {
|
||||
(10_289_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((183_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((109_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn remove_other_vote(r: u32) -> Weight {
|
||||
(19_518_000 as Weight)
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
fn remove_other_vote(r: u32, ) -> Weight {
|
||||
(10_414_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((186_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((108_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2020 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -15,12 +15,12 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for `pallet_gilt`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -31,8 +31,9 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
// --output=./runtime/kusama/src/weights/pallet_gilt.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
@@ -42,50 +43,69 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_gilt`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_gilt::WeightInfo for WeightInfo<T> {
|
||||
fn place_bid(l: u32) -> Weight {
|
||||
(57_179_000 as Weight)
|
||||
// Storage: Gilt Queues (r:1 w:1)
|
||||
// Storage: Gilt QueueTotals (r:1 w:1)
|
||||
fn place_bid(l: u32, ) -> Weight {
|
||||
(33_582_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((195_000 as Weight).saturating_mul(l as Weight))
|
||||
.saturating_add((144_000 as Weight).saturating_mul(l as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
// Storage: Gilt Queues (r:1 w:1)
|
||||
// Storage: Gilt QueueTotals (r:1 w:1)
|
||||
fn place_bid_max() -> Weight {
|
||||
(226_003_000 as Weight)
|
||||
(145_880_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn retract_bid(l: u32) -> Weight {
|
||||
(57_082_000 as Weight)
|
||||
// Storage: Gilt Queues (r:1 w:1)
|
||||
// Storage: Gilt QueueTotals (r:1 w:1)
|
||||
fn retract_bid(l: u32, ) -> Weight {
|
||||
(33_460_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((166_000 as Weight).saturating_mul(l as Weight))
|
||||
.saturating_add((116_000 as Weight).saturating_mul(l as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
// Storage: Gilt ActiveTotal (r:1 w:1)
|
||||
fn set_target() -> Weight {
|
||||
(5_948_000 as Weight)
|
||||
(2_762_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Gilt Active (r:1 w:1)
|
||||
// Storage: Gilt ActiveTotal (r:1 w:1)
|
||||
fn thaw() -> Weight {
|
||||
(70_070_000 as Weight)
|
||||
(37_628_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
// Storage: Gilt ActiveTotal (r:1 w:0)
|
||||
fn pursue_target_noop() -> Weight {
|
||||
(3_347_000 as Weight).saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
(1_497_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
}
|
||||
fn pursue_target_per_item(b: u32) -> Weight {
|
||||
(56_853_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((10_238_000 as Weight).saturating_mul(b as Weight))
|
||||
// Storage: Gilt ActiveTotal (r:1 w:1)
|
||||
// Storage: Gilt QueueTotals (r:1 w:1)
|
||||
// Storage: Gilt Queues (r:1 w:1)
|
||||
// Storage: Gilt Active (r:0 w:1)
|
||||
fn pursue_target_per_item(b: u32, ) -> Weight {
|
||||
(39_722_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((3_910_000 as Weight).saturating_mul(b as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))
|
||||
}
|
||||
fn pursue_target_per_queue(q: u32) -> Weight {
|
||||
(23_272_000 as Weight)
|
||||
// Storage: Gilt ActiveTotal (r:1 w:1)
|
||||
// Storage: Gilt QueueTotals (r:1 w:1)
|
||||
// Storage: Gilt Queues (r:1 w:1)
|
||||
// Storage: Gilt Active (r:0 w:1)
|
||||
fn pursue_target_per_queue(q: u32, ) -> Weight {
|
||||
(14_681_000 as Weight)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add((16_821_000 as Weight).saturating_mul(q as Weight))
|
||||
.saturating_add((7_600_000 as Weight).saturating_mul(q as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(q as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2020 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -15,12 +15,12 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for `pallet_identity`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -31,8 +31,9 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
// --output=./runtime/kusama/src/weights/pallet_identity.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
@@ -42,136 +43,167 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_identity`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
|
||||
fn add_registrar(r: u32) -> Weight {
|
||||
(21_339_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((236_000 as Weight).saturating_mul(r as Weight))
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
fn add_registrar(r: u32, ) -> Weight {
|
||||
(11_701_000 as Weight)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add((227_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn set_identity(r: u32, x: u32) -> Weight {
|
||||
(50_839_000 as Weight)
|
||||
// Standard Error: 14_000
|
||||
.saturating_add((223_000 as Weight).saturating_mul(r as Weight))
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
fn set_identity(r: u32, x: u32, ) -> Weight {
|
||||
(25_210_000 as Weight)
|
||||
// Standard Error: 9_000
|
||||
.saturating_add((148_000 as Weight).saturating_mul(r as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((954_000 as Weight).saturating_mul(x as Weight))
|
||||
.saturating_add((363_000 as Weight).saturating_mul(x as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn set_subs_new(s: u32) -> Weight {
|
||||
(40_807_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((6_374_000 as Weight).saturating_mul(s as Weight))
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
fn set_subs_new(s: u32, ) -> Weight {
|
||||
(24_287_000 as Weight)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add((2_755_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
|
||||
}
|
||||
fn set_subs_old(p: u32) -> Weight {
|
||||
(40_924_000 as Weight)
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
// Storage: Identity SuperOf (r:0 w:1)
|
||||
fn set_subs_old(p: u32, ) -> Weight {
|
||||
(21_748_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((2_059_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add((743_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))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight)))
|
||||
}
|
||||
fn clear_identity(r: u32, s: u32, x: u32) -> Weight {
|
||||
(51_123_000 as Weight)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add((110_000 as Weight).saturating_mul(r as Weight))
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
// Storage: Identity SuperOf (r:0 w:100)
|
||||
fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {
|
||||
(27_190_000 as Weight)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add((79_000 as Weight).saturating_mul(r as Weight))
|
||||
// Standard Error: 0
|
||||
.saturating_add((2_042_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((722_000 as Weight).saturating_mul(s as Weight))
|
||||
// Standard Error: 0
|
||||
.saturating_add((595_000 as Weight).saturating_mul(x as Weight))
|
||||
.saturating_add((225_000 as Weight).saturating_mul(x as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
|
||||
}
|
||||
fn request_judgement(r: u32, x: u32) -> Weight {
|
||||
(53_230_000 as Weight)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add((223_000 as Weight).saturating_mul(r as Weight))
|
||||
// Storage: Identity Registrars (r:1 w:0)
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
fn request_judgement(r: u32, x: u32, ) -> Weight {
|
||||
(26_469_000 as Weight)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add((169_000 as Weight).saturating_mul(r as Weight))
|
||||
// Standard Error: 0
|
||||
.saturating_add((1_169_000 as Weight).saturating_mul(x as Weight))
|
||||
.saturating_add((408_000 as Weight).saturating_mul(x as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn cancel_request(r: u32, x: u32) -> Weight {
|
||||
(48_425_000 as Weight)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add((161_000 as Weight).saturating_mul(r as Weight))
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
fn cancel_request(r: u32, x: u32, ) -> Weight {
|
||||
(23_404_000 as Weight)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add((139_000 as Weight).saturating_mul(r as Weight))
|
||||
// Standard Error: 0
|
||||
.saturating_add((1_161_000 as Weight).saturating_mul(x as Weight))
|
||||
.saturating_add((404_000 as Weight).saturating_mul(x as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn set_fee(r: u32) -> Weight {
|
||||
(8_028_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((202_000 as Weight).saturating_mul(r as Weight))
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
fn set_fee(r: u32, ) -> Weight {
|
||||
(4_677_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((152_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn set_account_id(r: u32) -> Weight {
|
||||
(8_682_000 as Weight)
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
fn set_account_id(r: u32, ) -> Weight {
|
||||
(4_460_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((150_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
fn set_fields(r: u32, ) -> Weight {
|
||||
(4_571_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((153_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:0)
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
fn provide_judgement(r: u32, x: u32, ) -> Weight {
|
||||
(18_344_000 as Weight)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add((124_000 as Weight).saturating_mul(r as Weight))
|
||||
// Standard Error: 0
|
||||
.saturating_add((404_000 as Weight).saturating_mul(x as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Identity SuperOf (r:0 w:100)
|
||||
fn kill_identity(r: u32, s: u32, _x: u32, ) -> Weight {
|
||||
(40_297_000 as Weight)
|
||||
// Standard Error: 12_000
|
||||
.saturating_add((70_000 as Weight).saturating_mul(r as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((203_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn set_fields(r: u32) -> Weight {
|
||||
(8_010_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((203_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn provide_judgement(r: u32, x: u32) -> Weight {
|
||||
(34_291_000 as Weight)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add((203_000 as Weight).saturating_mul(r as Weight))
|
||||
// Standard Error: 0
|
||||
.saturating_add((1_164_000 as Weight).saturating_mul(x as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn kill_identity(r: u32, s: u32, x: u32) -> Weight {
|
||||
(62_644_000 as Weight)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add((111_000 as Weight).saturating_mul(r as Weight))
|
||||
// Standard Error: 0
|
||||
.saturating_add((2_048_000 as Weight).saturating_mul(s as Weight))
|
||||
// Standard Error: 0
|
||||
.saturating_add((3_000 as Weight).saturating_mul(x as Weight))
|
||||
.saturating_add((724_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))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
|
||||
}
|
||||
fn add_sub(s: u32) -> Weight {
|
||||
(54_234_000 as Weight)
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
fn add_sub(s: u32, ) -> Weight {
|
||||
(28_599_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((154_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((102_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn rename_sub(s: u32) -> Weight {
|
||||
(16_622_000 as Weight)
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
fn rename_sub(s: u32, ) -> Weight {
|
||||
(9_070_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((21_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((20_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 remove_sub(s: u32) -> Weight {
|
||||
(55_325_000 as Weight)
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
fn remove_sub(s: u32, ) -> Weight {
|
||||
(29_544_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((138_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((89_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn quit_sub(s: u32) -> Weight {
|
||||
(34_002_000 as Weight)
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
fn quit_sub(s: u32, ) -> Weight {
|
||||
(19_341_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((138_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((88_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))
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2020 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -15,12 +15,12 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for `pallet_im_online`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -31,8 +31,9 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
// --output=./runtime/kusama/src/weights/pallet_im_online.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
@@ -42,12 +43,17 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_im_online`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_im_online::WeightInfo for WeightInfo<T> {
|
||||
fn validate_unsigned_and_then_heartbeat(k: u32, e: u32) -> Weight {
|
||||
(86_872_000 as Weight)
|
||||
// Storage: Session Validators (r:1 w:0)
|
||||
// Storage: Session CurrentIndex (r:1 w:0)
|
||||
// Storage: ImOnline ReceivedHeartbeats (r:1 w:1)
|
||||
// Storage: ImOnline AuthoredBlocks (r:1 w:0)
|
||||
// Storage: ImOnline Keys (r:1 w:0)
|
||||
fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight {
|
||||
(68_790_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((158_000 as Weight).saturating_mul(k as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((347_000 as Weight).saturating_mul(e as Weight))
|
||||
.saturating_add((65_000 as Weight).saturating_mul(k as Weight))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((328_000 as Weight).saturating_mul(e as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2020 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -15,12 +15,12 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for `pallet_indices`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -31,8 +31,9 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
// --output=./runtime/kusama/src/weights/pallet_indices.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
@@ -42,28 +43,35 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_indices`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_indices::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
fn claim() -> Weight {
|
||||
(40_340_000 as Weight)
|
||||
(18_432_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer() -> Weight {
|
||||
(48_814_000 as Weight)
|
||||
(22_921_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
fn free() -> Weight {
|
||||
(40_153_000 as Weight)
|
||||
(19_128_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn force_transfer() -> Weight {
|
||||
(40_676_000 as Weight)
|
||||
(19_505_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
fn freeze() -> Weight {
|
||||
(37_742_000 as Weight)
|
||||
(21_478_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2020 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -15,12 +15,12 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for `pallet_membership`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -31,8 +31,9 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
// --output=./runtime/kusama/src/weights/pallet_membership.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
@@ -42,49 +43,79 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_membership`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
|
||||
fn add_member(m: u32) -> Weight {
|
||||
(23_736_000 as Weight)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add((166_000 as Weight).saturating_mul(m as Weight))
|
||||
// Storage: TechnicalMembership Members (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Proposals (r:1 w:0)
|
||||
// Storage: TechnicalCommittee Members (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
fn add_member(m: u32, ) -> Weight {
|
||||
(13_328_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((59_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn remove_member(m: u32) -> Weight {
|
||||
(28_609_000 as Weight)
|
||||
// Storage: TechnicalMembership Members (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Proposals (r:1 w:0)
|
||||
// Storage: TechnicalMembership Prime (r:1 w:0)
|
||||
// Storage: TechnicalCommittee Members (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
fn remove_member(m: u32, ) -> Weight {
|
||||
(15_684_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((137_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((45_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn swap_member(m: u32) -> Weight {
|
||||
(28_935_000 as Weight)
|
||||
// Storage: TechnicalMembership Members (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Proposals (r:1 w:0)
|
||||
// Storage: TechnicalMembership Prime (r:1 w:0)
|
||||
// Storage: TechnicalCommittee Members (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
fn swap_member(m: u32, ) -> Weight {
|
||||
(15_616_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((150_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((57_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn reset_member(m: u32) -> Weight {
|
||||
(29_621_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((304_000 as Weight).saturating_mul(m as Weight))
|
||||
// Storage: TechnicalMembership Members (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Proposals (r:1 w:0)
|
||||
// Storage: TechnicalMembership Prime (r:1 w:0)
|
||||
// Storage: TechnicalCommittee Members (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
fn reset_member(m: u32, ) -> Weight {
|
||||
(15_248_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((195_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn change_key(m: u32) -> Weight {
|
||||
(30_393_000 as Weight)
|
||||
// Storage: TechnicalMembership Members (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Proposals (r:1 w:0)
|
||||
// Storage: TechnicalMembership Prime (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Members (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
fn change_key(m: u32, ) -> Weight {
|
||||
(16_174_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((145_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((52_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||
}
|
||||
fn set_prime(m: u32) -> Weight {
|
||||
(7_534_000 as Weight)
|
||||
// Storage: TechnicalMembership Members (r:1 w:0)
|
||||
// Storage: TechnicalMembership Prime (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
fn set_prime(m: u32, ) -> Weight {
|
||||
(4_206_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((79_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add((29_000 as Weight).saturating_mul(m as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn clear_prime(_m: u32) -> Weight {
|
||||
(2_755_000 as Weight).saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
// Storage: TechnicalMembership Prime (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
fn clear_prime(_m: u32, ) -> Weight {
|
||||
(1_215_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2020 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -15,12 +15,12 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for `pallet_multisig`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -31,8 +31,9 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
// --output=./runtime/kusama/src/weights/pallet_multisig.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
@@ -42,79 +43,101 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_multisig`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
fn as_multi_threshold_1(_z: u32) -> Weight {
|
||||
(12_153_000 as Weight)
|
||||
}
|
||||
fn as_multi_create(s: u32, z: u32) -> Weight {
|
||||
(50_455_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((103_000 as Weight).saturating_mul(s as Weight))
|
||||
fn as_multi_threshold_1(z: u32, ) -> Weight {
|
||||
(8_971_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((1_000 as Weight).saturating_mul(z as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn as_multi_create_store(s: u32, z: u32) -> Weight {
|
||||
(56_117_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 {
|
||||
(25_105_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((106_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(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn as_multi_approve(s: u32, z: u32) -> Weight {
|
||||
(29_486_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((103_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 {
|
||||
(53_516_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((118_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((98_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(2 as Weight))
|
||||
}
|
||||
fn as_multi_complete(s: u32, z: u32) -> Weight {
|
||||
(70_795_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((205_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(3 as Weight))
|
||||
}
|
||||
fn approve_as_multi_create(s: u32) -> Weight {
|
||||
(50_128_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((104_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 {
|
||||
(28_902_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 {
|
||||
(27_094_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((105_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(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
|
||||
(15_585_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((99_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(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn approve_as_multi_complete(s: u32) -> Weight {
|
||||
(112_716_000 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 {
|
||||
(25_849_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((210_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((115_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(2 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 {
|
||||
(34_935_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((125_000 as Weight).saturating_mul(s as Weight))
|
||||
// Standard Error: 0
|
||||
.saturating_add((4_000 as Weight).saturating_mul(z as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn cancel_as_multi(s: u32) -> Weight {
|
||||
(84_205_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 {
|
||||
(24_541_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((101_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((102_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: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: Multisig Calls (r:1 w:0)
|
||||
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
||||
(15_072_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((102_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))
|
||||
}
|
||||
// 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 {
|
||||
(66_873_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((141_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))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: Multisig Calls (r:1 w:1)
|
||||
fn cancel_as_multi(s: u32, ) -> Weight {
|
||||
(44_874_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((106_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2021 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -16,11 +16,11 @@
|
||||
//! Autogenerated weights for `pallet_preimage`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2021-12-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -31,7 +31,7 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/polkadot/src/weights/
|
||||
// --output=./runtime/kusama/src/weights/pallet_preimage.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -42,7 +42,7 @@ use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_preimage`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_preimage::weights::WeightInfo for WeightInfo<T> {
|
||||
impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Preimage PreimageFor (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn note_preimage(s: u32, ) -> Weight {
|
||||
@@ -73,58 +73,58 @@ impl<T: frame_system::Config> pallet_preimage::weights::WeightInfo for WeightInf
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
fn unnote_preimage() -> Weight {
|
||||
(57_735_000 as Weight)
|
||||
(37_738_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
fn unnote_no_deposit_preimage() -> Weight {
|
||||
(36_686_000 as Weight)
|
||||
(24_696_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_preimage() -> Weight {
|
||||
(54_443_000 as Weight)
|
||||
(35_392_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_no_deposit_preimage() -> Weight {
|
||||
(34_868_000 as Weight)
|
||||
(24_025_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_unnoted_preimage() -> Weight {
|
||||
(20_741_000 as Weight)
|
||||
(12_824_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_requested_preimage() -> Weight {
|
||||
(7_543_000 as Weight)
|
||||
(4_411_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
fn unrequest_preimage() -> Weight {
|
||||
(36_829_000 as Weight)
|
||||
(23_215_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
fn unrequest_unnoted_preimage() -> Weight {
|
||||
(21_581_000 as Weight)
|
||||
(13_130_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn unrequest_multi_referenced_preimage() -> Weight {
|
||||
(7_188_000 as Weight)
|
||||
(4_206_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2020 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -15,12 +15,12 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for `pallet_proxy`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -31,8 +31,9 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
// --output=./runtime/kusama/src/weights/pallet_proxy.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
@@ -42,76 +43,97 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_proxy`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||
fn proxy(p: u32) -> Weight {
|
||||
(24_892_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((122_000 as Weight).saturating_mul(p as Weight))
|
||||
// Storage: Proxy Proxies (r:1 w:0)
|
||||
fn proxy(p: u32, ) -> Weight {
|
||||
(12_609_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((81_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 {
|
||||
(55_405_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 {
|
||||
(27_637_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((563_000 as Weight).saturating_mul(a as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((106_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 {
|
||||
(37_762_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((554_000 as Weight).saturating_mul(a 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 {
|
||||
(37_826_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((554_000 as Weight).saturating_mul(a 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 {
|
||||
(51_131_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((562_000 as Weight).saturating_mul(a as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((109_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 {
|
||||
(36_114_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((223_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 {
|
||||
(35_456_000 as Weight)
|
||||
.saturating_add((197_000 as Weight).saturating_mul(a as Weight))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((246_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add((51_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))
|
||||
}
|
||||
// Storage: Proxy Announcements (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn remove_announcement(a: u32, p: u32, ) -> Weight {
|
||||
(18_819_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((197_000 as Weight).saturating_mul(a as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((4_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))
|
||||
}
|
||||
// Storage: Proxy Announcements (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn reject_announcement(a: u32, p: u32, ) -> Weight {
|
||||
(18_632_000 as Weight)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add((202_000 as Weight).saturating_mul(a as Weight))
|
||||
// Standard Error: 3_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))
|
||||
}
|
||||
// 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 {
|
||||
(25_480_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((197_000 as Weight).saturating_mul(a as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((55_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))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
fn add_proxy(p: u32, ) -> Weight {
|
||||
(20_497_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((128_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 {
|
||||
(33_748_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
fn remove_proxy(p: u32, ) -> Weight {
|
||||
(17_417_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((136_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 {
|
||||
(48_409_000 as Weight)
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
fn remove_proxies(p: u32, ) -> Weight {
|
||||
(17_278_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((31_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add((90_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))
|
||||
}
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
fn anonymous(p: u32, ) -> Weight {
|
||||
(23_070_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((43_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 {
|
||||
(35_515_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((134_000 as Weight).saturating_mul(p as Weight))
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
fn kill_anonymous(p: u32, ) -> Weight {
|
||||
(18_262_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((74_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2021 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -16,11 +16,11 @@
|
||||
//! Autogenerated weights for `pallet_scheduler`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2021-12-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -31,7 +31,7 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
// --output=./runtime/kusama/src/weights/pallet_scheduler.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -48,9 +48,9 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Scheduler Lookup (r:0 w:1)
|
||||
fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight {
|
||||
(2_821_000 as Weight)
|
||||
// Standard Error: 39_000
|
||||
.saturating_add((39_671_000 as Weight).saturating_mul(s as Weight))
|
||||
(0 as Weight)
|
||||
// Standard Error: 28_000
|
||||
.saturating_add((23_540_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(s as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
@@ -61,9 +61,9 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Scheduler Lookup (r:0 w:1)
|
||||
fn on_initialize_named_resolved(s: u32, ) -> Weight {
|
||||
(674_000 as Weight)
|
||||
// Standard Error: 36_000
|
||||
.saturating_add((31_391_000 as Weight).saturating_mul(s as Weight))
|
||||
(1_922_000 as Weight)
|
||||
// Standard Error: 21_000
|
||||
.saturating_add((18_731_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
@@ -74,8 +74,8 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn on_initialize_periodic_resolved(s: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 39_000
|
||||
.saturating_add((34_637_000 as Weight).saturating_mul(s as Weight))
|
||||
// Standard Error: 28_000
|
||||
.saturating_add((21_333_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(s as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
@@ -85,9 +85,9 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Preimage PreimageFor (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn on_initialize_resolved(s: u32, ) -> Weight {
|
||||
(3_619_000 as Weight)
|
||||
// Standard Error: 34_000
|
||||
.saturating_add((28_969_000 as Weight).saturating_mul(s as Weight))
|
||||
(3_373_000 as Weight)
|
||||
// Standard Error: 19_000
|
||||
.saturating_add((17_693_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
@@ -97,9 +97,9 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Preimage PreimageFor (r:1 w:0)
|
||||
// Storage: Scheduler Lookup (r:0 w:1)
|
||||
fn on_initialize_named_aborted(s: u32, ) -> Weight {
|
||||
(8_846_000 as Weight)
|
||||
// Standard Error: 17_000
|
||||
.saturating_add((14_687_000 as Weight).saturating_mul(s as Weight))
|
||||
(5_089_000 as Weight)
|
||||
// Standard Error: 12_000
|
||||
.saturating_add((8_852_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
@@ -108,9 +108,9 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
// Storage: Preimage PreimageFor (r:1 w:0)
|
||||
fn on_initialize_aborted(s: u32, ) -> Weight {
|
||||
(8_849_000 as Weight)
|
||||
// Standard Error: 19_000
|
||||
.saturating_add((9_900_000 as Weight).saturating_mul(s as Weight))
|
||||
(5_759_000 as Weight)
|
||||
// Standard Error: 13_000
|
||||
.saturating_add((6_860_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
@@ -118,9 +118,9 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
// Storage: Scheduler Lookup (r:0 w:1)
|
||||
fn on_initialize_periodic_named(s: u32, ) -> Weight {
|
||||
(9_087_000 as Weight)
|
||||
// Standard Error: 31_000
|
||||
.saturating_add((22_780_000 as Weight).saturating_mul(s as Weight))
|
||||
(7_929_000 as Weight)
|
||||
// Standard Error: 17_000
|
||||
.saturating_add((14_075_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
@@ -128,9 +128,9 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn on_initialize_periodic(s: u32, ) -> Weight {
|
||||
(10_653_000 as Weight)
|
||||
// Standard Error: 25_000
|
||||
.saturating_add((17_581_000 as Weight).saturating_mul(s as Weight))
|
||||
(8_795_000 as Weight)
|
||||
// Standard Error: 13_000
|
||||
.saturating_add((11_887_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
@@ -139,53 +139,53 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
// Storage: Scheduler Lookup (r:0 w:1)
|
||||
fn on_initialize_named(s: u32, ) -> Weight {
|
||||
(13_412_000 as Weight)
|
||||
// Standard Error: 19_000
|
||||
.saturating_add((14_529_000 as Weight).saturating_mul(s as Weight))
|
||||
(8_961_000 as Weight)
|
||||
// Standard Error: 14_000
|
||||
.saturating_add((9_767_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))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn on_initialize(s: u32, ) -> Weight {
|
||||
(12_636_000 as Weight)
|
||||
// Standard Error: 18_000
|
||||
.saturating_add((12_548_000 as Weight).saturating_mul(s as Weight))
|
||||
(9_293_000 as Weight)
|
||||
// Standard Error: 12_000
|
||||
.saturating_add((8_907_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))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn schedule(s: u32, ) -> Weight {
|
||||
(23_530_000 as Weight)
|
||||
(15_107_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((38_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((44_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))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
// Storage: Scheduler Lookup (r:0 w:1)
|
||||
fn cancel(s: u32, ) -> Weight {
|
||||
(22_003_000 as Weight)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add((2_495_000 as Weight).saturating_mul(s as Weight))
|
||||
(13_151_000 as Weight)
|
||||
// Standard Error: 9_000
|
||||
.saturating_add((2_077_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
// Storage: Scheduler Lookup (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn schedule_named(s: u32, ) -> Weight {
|
||||
(28_604_000 as Weight)
|
||||
(17_845_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((56_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((52_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))
|
||||
}
|
||||
// Storage: Scheduler Lookup (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn cancel_named(s: u32, ) -> Weight {
|
||||
(24_130_000 as Weight)
|
||||
(15_422_000 as Weight)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add((2_513_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((2_035_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))
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2020 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -15,12 +15,12 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for `pallet_session`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -31,8 +31,9 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
// --output=./runtime/kusama/src/weights/pallet_session.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
@@ -42,13 +43,19 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_session`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Session NextKeys (r:1 w:1)
|
||||
// Storage: Session KeyOwner (r:6 w:6)
|
||||
fn set_keys() -> Weight {
|
||||
(72_025_000 as Weight)
|
||||
(37_410_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as Weight))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Session NextKeys (r:1 w:1)
|
||||
// Storage: Session KeyOwner (r:0 w:6)
|
||||
fn purge_keys() -> Weight {
|
||||
(39_838_000 as Weight)
|
||||
(22_267_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as Weight))
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2021 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -16,11 +16,11 @@
|
||||
//! Autogenerated weights for `pallet_staking`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-02-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/production/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -31,7 +31,7 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
// --output=./runtime/kusama/src/weights/pallet_staking.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -50,7 +50,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
fn bond() -> Weight {
|
||||
(33_080_000 as Weight)
|
||||
(34_148_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||
}
|
||||
@@ -60,7 +60,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: BagsList ListNodes (r:3 w:3)
|
||||
// Storage: BagsList ListBags (r:2 w:2)
|
||||
fn bond_extra() -> Weight {
|
||||
(55_828_000 as Weight)
|
||||
(57_550_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as Weight))
|
||||
}
|
||||
@@ -74,7 +74,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: BagsList ListBags (r:2 w:2)
|
||||
fn unbond() -> Weight {
|
||||
(62_236_000 as Weight)
|
||||
(63_873_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(12 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as Weight))
|
||||
}
|
||||
@@ -83,9 +83,9 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn withdraw_unbonded_update(s: u32, ) -> Weight {
|
||||
(25_955_000 as Weight)
|
||||
(26_245_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((23_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((25_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
@@ -103,7 +103,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
fn withdraw_unbonded_kill(_s: u32, ) -> Weight {
|
||||
(52_420_000 as Weight)
|
||||
(52_137_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(13 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(11 as Weight))
|
||||
}
|
||||
@@ -119,16 +119,16 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: BagsList CounterForListNodes (r:1 w:1)
|
||||
// Storage: Staking CounterForValidators (r:1 w:1)
|
||||
fn validate() -> Weight {
|
||||
(39_883_000 as Weight)
|
||||
(39_839_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(12 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as Weight))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:1)
|
||||
fn kick(k: u32, ) -> Weight {
|
||||
(7_412_000 as Weight)
|
||||
// Standard Error: 10_000
|
||||
.saturating_add((8_439_000 as Weight).saturating_mul(k as Weight))
|
||||
(6_534_000 as Weight)
|
||||
// Standard Error: 8_000
|
||||
.saturating_add((8_143_000 as Weight).saturating_mul(k as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(k as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(k as Weight)))
|
||||
@@ -145,9 +145,9 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: BagsList CounterForListNodes (r:1 w:1)
|
||||
// Storage: Staking CounterForNominators (r:1 w:1)
|
||||
fn nominate(n: u32, ) -> Weight {
|
||||
(44_263_000 as Weight)
|
||||
(44_865_000 as Weight)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add((2_971_000 as Weight).saturating_mul(n as Weight))
|
||||
.saturating_add((2_944_000 as Weight).saturating_mul(n as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(12 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as Weight))
|
||||
@@ -160,49 +160,49 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: BagsList ListBags (r:1 w:1)
|
||||
// Storage: BagsList CounterForListNodes (r:1 w:1)
|
||||
fn chill() -> Weight {
|
||||
(38_258_000 as Weight)
|
||||
(38_690_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as Weight))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
fn set_payee() -> Weight {
|
||||
(6_269_000 as Weight)
|
||||
(6_557_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:2 w:2)
|
||||
fn set_controller() -> Weight {
|
||||
(13_119_000 as Weight)
|
||||
(13_270_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
// Storage: Staking ValidatorCount (r:0 w:1)
|
||||
fn set_validator_count() -> Weight {
|
||||
(855_000 as Weight)
|
||||
(1_035_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Staking ForceEra (r:0 w:1)
|
||||
fn force_no_eras() -> Weight {
|
||||
(877_000 as Weight)
|
||||
(1_139_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Staking ForceEra (r:0 w:1)
|
||||
fn force_new_era() -> Weight {
|
||||
(892_000 as Weight)
|
||||
(1_092_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Staking ForceEra (r:0 w:1)
|
||||
fn force_new_era_always() -> Weight {
|
||||
(907_000 as Weight)
|
||||
(1_157_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Staking Invulnerables (r:0 w:1)
|
||||
fn set_invulnerables(v: u32, ) -> Weight {
|
||||
(1_431_000 as Weight)
|
||||
(1_121_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((50_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add((10_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
@@ -219,18 +219,18 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
// Storage: Staking SpanSlash (r:0 w:2)
|
||||
fn force_unstake(s: u32, ) -> Weight {
|
||||
(48_841_000 as Weight)
|
||||
(49_838_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((681_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((711_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(11 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
|
||||
}
|
||||
// Storage: Staking UnappliedSlashes (r:1 w:1)
|
||||
fn cancel_deferred_slash(s: u32, ) -> Weight {
|
||||
(972_369_000 as Weight)
|
||||
// Standard Error: 56_000
|
||||
.saturating_add((4_959_000 as Weight).saturating_mul(s as Weight))
|
||||
(2_732_935_000 as Weight)
|
||||
// Standard Error: 179_000
|
||||
.saturating_add((16_202_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))
|
||||
}
|
||||
@@ -245,9 +245,9 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking Payee (r:2 w:0)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
fn payout_stakers_dead_controller(n: u32, ) -> Weight {
|
||||
(69_502_000 as Weight)
|
||||
// Standard Error: 15_000
|
||||
.saturating_add((22_085_000 as Weight).saturating_mul(n as Weight))
|
||||
(72_280_000 as Weight)
|
||||
// Standard Error: 16_000
|
||||
.saturating_add((23_420_000 as Weight).saturating_mul(n as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(10 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
@@ -265,9 +265,9 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: Balances Locks (r:2 w:2)
|
||||
fn payout_stakers_alive_staked(n: u32, ) -> Weight {
|
||||
(106_569_000 as Weight)
|
||||
// Standard Error: 22_000
|
||||
.saturating_add((30_957_000 as Weight).saturating_mul(n as Weight))
|
||||
(79_862_000 as Weight)
|
||||
// Standard Error: 23_000
|
||||
.saturating_add((32_260_000 as Weight).saturating_mul(n as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(11 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
@@ -280,9 +280,9 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: BagsList ListBags (r:2 w:2)
|
||||
fn rebond(l: u32, ) -> Weight {
|
||||
(55_386_000 as Weight)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add((46_000 as Weight).saturating_mul(l as Weight))
|
||||
(56_281_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((62_000 as Weight).saturating_mul(l as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(9 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as Weight))
|
||||
}
|
||||
@@ -297,8 +297,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking ErasStartSessionIndex (r:0 w:1)
|
||||
fn set_history_depth(e: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 58_000
|
||||
.saturating_add((18_996_000 as Weight).saturating_mul(e as Weight))
|
||||
// Standard Error: 53_000
|
||||
.saturating_add((18_712_000 as Weight).saturating_mul(e as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((7 as Weight).saturating_mul(e as Weight)))
|
||||
@@ -317,9 +317,9 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
// Storage: Staking SpanSlash (r:0 w:1)
|
||||
fn reap_stash(s: u32, ) -> Weight {
|
||||
(54_679_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((686_000 as Weight).saturating_mul(s as Weight))
|
||||
(55_390_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((709_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(12 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
|
||||
@@ -345,10 +345,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking ErasStartSessionIndex (r:0 w:1)
|
||||
fn new_era(v: u32, n: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 812_000
|
||||
.saturating_add((214_379_000 as Weight).saturating_mul(v as Weight))
|
||||
// Standard Error: 40_000
|
||||
.saturating_add((31_034_000 as Weight).saturating_mul(n as Weight))
|
||||
// Standard Error: 794_000
|
||||
.saturating_add((240_827_000 as Weight).saturating_mul(v as Weight))
|
||||
// Standard Error: 39_000
|
||||
.saturating_add((33_225_000 as Weight).saturating_mul(n as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(192 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(v as Weight)))
|
||||
.saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(n as Weight)))
|
||||
@@ -367,12 +367,12 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System BlockWeight (r:1 w:1)
|
||||
fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 84_000
|
||||
.saturating_add((17_549_000 as Weight).saturating_mul(v as Weight))
|
||||
// Standard Error: 84_000
|
||||
.saturating_add((21_476_000 as Weight).saturating_mul(n as Weight))
|
||||
// Standard Error: 2_867_000
|
||||
.saturating_add((20_385_000 as Weight).saturating_mul(s as Weight))
|
||||
// Standard Error: 92_000
|
||||
.saturating_add((17_633_000 as Weight).saturating_mul(v as Weight))
|
||||
// Standard Error: 92_000
|
||||
.saturating_add((20_660_000 as Weight).saturating_mul(n as Weight))
|
||||
// Standard Error: 3_162_000
|
||||
.saturating_add((30_632_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(188 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(v as Weight)))
|
||||
.saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(n as Weight)))
|
||||
@@ -383,8 +383,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System BlockWeight (r:1 w:1)
|
||||
fn get_npos_targets(v: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 23_000
|
||||
.saturating_add((6_821_000 as Weight).saturating_mul(v as Weight))
|
||||
// Standard Error: 29_000
|
||||
.saturating_add((6_890_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(v as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
@@ -396,7 +396,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking MaxNominatorsCount (r:0 w:1)
|
||||
// Storage: Staking MinNominatorBond (r:0 w:1)
|
||||
fn set_staking_configs_all_set() -> Weight {
|
||||
(2_647_000 as Weight)
|
||||
(3_100_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(6 as Weight))
|
||||
}
|
||||
// Storage: Staking MinCommission (r:0 w:1)
|
||||
@@ -406,7 +406,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking MaxNominatorsCount (r:0 w:1)
|
||||
// Storage: Staking MinNominatorBond (r:0 w:1)
|
||||
fn set_staking_configs_all_remove() -> Weight {
|
||||
(2_647_000 as Weight)
|
||||
(2_995_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(6 as Weight))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
@@ -420,14 +420,14 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Storage: BagsList ListBags (r:1 w:1)
|
||||
// Storage: BagsList CounterForListNodes (r:1 w:1)
|
||||
fn chill_other() -> Weight {
|
||||
(47_009_000 as Weight)
|
||||
(47_866_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(11 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as Weight))
|
||||
}
|
||||
// Storage: Staking MinCommission (r:1 w:0)
|
||||
// Storage: Staking Validators (r:1 w:1)
|
||||
fn force_apply_min_commission() -> Weight {
|
||||
(6_737_000 as Weight)
|
||||
(7_093_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2020 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -15,12 +15,12 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for `pallet_timestamp`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -31,8 +31,9 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
// --output=./runtime/kusama/src/weights/pallet_timestamp.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
@@ -42,12 +43,14 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_timestamp`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Timestamp Now (r:1 w:1)
|
||||
// Storage: Babe CurrentSlot (r:1 w:0)
|
||||
fn set() -> Weight {
|
||||
(9_872_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
(4_848_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn on_finalize() -> Weight {
|
||||
(4_405_000 as Weight)
|
||||
(2_036_000 as Weight)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2020 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -15,12 +15,12 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for `pallet_tips`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -31,8 +31,9 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
// --output=./runtime/kusama/src/weights/pallet_tips.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
@@ -42,45 +43,60 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_tips`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
|
||||
fn report_awesome(r: u32) -> Weight {
|
||||
(49_516_000 as Weight)
|
||||
// Storage: Tips Reasons (r:1 w:1)
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
fn report_awesome(r: u32, ) -> Weight {
|
||||
(23_071_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((1_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((2_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
// Storage: Tips Reasons (r:0 w:1)
|
||||
fn retract_tip() -> Weight {
|
||||
(45_151_000 as Weight)
|
||||
(22_077_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn tip_new(r: u32, t: u32) -> Weight {
|
||||
(30_538_000 as Weight)
|
||||
// Storage: PhragmenElection Members (r:1 w:0)
|
||||
// Storage: Tips Reasons (r:1 w:1)
|
||||
// Storage: Tips Tips (r:0 w:1)
|
||||
fn tip_new(r: u32, t: u32, ) -> Weight {
|
||||
(15_063_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((2_000 as Weight).saturating_mul(r as Weight))
|
||||
// Standard Error: 0
|
||||
.saturating_add((116_000 as Weight).saturating_mul(t as Weight))
|
||||
// Standard Error: 3_000
|
||||
.saturating_add((88_000 as Weight).saturating_mul(t as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn tip(t: u32) -> Weight {
|
||||
(18_895_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((558_000 as Weight).saturating_mul(t as Weight))
|
||||
// Storage: PhragmenElection Members (r:1 w:0)
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
fn tip(t: u32, ) -> Weight {
|
||||
(8_709_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((315_000 as Weight).saturating_mul(t as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn close_tip(t: u32) -> Weight {
|
||||
(82_263_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((290_000 as Weight).saturating_mul(t as Weight))
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
// Storage: PhragmenElection Members (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Tips Reasons (r:0 w:1)
|
||||
fn close_tip(t: u32, ) -> Weight {
|
||||
(37_111_000 as Weight)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add((210_000 as Weight).saturating_mul(t as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn slash_tip(t: u32) -> Weight {
|
||||
(24_307_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((7_000 as Weight).saturating_mul(t as Weight))
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
// Storage: Tips Reasons (r:0 w:1)
|
||||
fn slash_tip(t: u32, ) -> Weight {
|
||||
(13_293_000 as Weight)
|
||||
// Standard Error: 22_000
|
||||
.saturating_add((24_000 as Weight).saturating_mul(t as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2020 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -15,12 +15,12 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for `pallet_treasury`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -31,8 +31,9 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
// --output=./runtime/kusama/src/weights/pallet_treasury.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
@@ -42,27 +43,37 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_treasury`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Treasury ProposalCount (r:1 w:1)
|
||||
// Storage: Treasury Proposals (r:0 w:1)
|
||||
fn propose_spend() -> Weight {
|
||||
(41_175_000 as Weight)
|
||||
(19_425_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
// Storage: Treasury Proposals (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn reject_proposal() -> Weight {
|
||||
(50_148_000 as Weight)
|
||||
(29_701_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn approve_proposal(p: u32) -> Weight {
|
||||
(12_321_000 as Weight)
|
||||
// Storage: Treasury Proposals (r:1 w:0)
|
||||
// Storage: Treasury Approvals (r:1 w:1)
|
||||
fn approve_proposal(p: u32, ) -> Weight {
|
||||
(7_035_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((34_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add((28_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn on_initialize_proposals(p: u32) -> Weight {
|
||||
(76_361_000 as Weight)
|
||||
// Standard Error: 17_000
|
||||
.saturating_add((60_132_000 as Weight).saturating_mul(p as Weight))
|
||||
// Storage: Treasury Approvals (r:1 w:1)
|
||||
// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Treasury Proposals (r:2 w:2)
|
||||
fn on_initialize_proposals(p: u32, ) -> Weight {
|
||||
(35_825_000 as Weight)
|
||||
// Standard Error: 19_000
|
||||
.saturating_add((27_514_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(p as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2020 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -15,12 +15,12 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for `pallet_utility`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -31,8 +31,9 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
// --output=./runtime/kusama/src/weights/pallet_utility.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
@@ -42,20 +43,20 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_utility`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
||||
fn batch(c: u32) -> Weight {
|
||||
(15_334_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((2_478_000 as Weight).saturating_mul(c as Weight))
|
||||
fn batch(c: u32, ) -> Weight {
|
||||
(9_938_000 as Weight)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add((3_408_000 as Weight).saturating_mul(c as Weight))
|
||||
}
|
||||
fn as_derivative() -> Weight {
|
||||
(5_220_000 as Weight)
|
||||
(2_438_000 as Weight)
|
||||
}
|
||||
fn batch_all(c: u32) -> Weight {
|
||||
(16_791_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((3_292_000 as Weight).saturating_mul(c as Weight))
|
||||
fn batch_all(c: u32, ) -> Weight {
|
||||
(16_539_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((3_774_000 as Weight).saturating_mul(c as Weight))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
(14_340_000 as Weight)
|
||||
(8_534_000 as Weight)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2020 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -15,12 +15,12 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for `pallet_vesting`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -31,8 +31,9 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
// --output=./runtime/kusama/src/weights/pallet_vesting.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
@@ -42,69 +43,97 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_vesting`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
fn vest_locked(l: u32, s: u32) -> Weight {
|
||||
(93_789_000 as Weight)
|
||||
// Standard Error: 70_000
|
||||
.saturating_add((41_000 as Weight).saturating_mul(l as Weight))
|
||||
// Standard Error: 182_000
|
||||
.saturating_add((211_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))
|
||||
}
|
||||
fn vest_unlocked(_l: u32, s: u32) -> Weight {
|
||||
(90_737_000 as Weight)
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn vest_locked(l: u32, s: u32, ) -> Weight {
|
||||
(23_856_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((263_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((80_000 as Weight).saturating_mul(l as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((164_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))
|
||||
}
|
||||
fn vest_other_locked(l: u32, s: u32) -> Weight {
|
||||
(85_211_000 as Weight)
|
||||
// Standard Error: 17_000
|
||||
.saturating_add((153_000 as Weight).saturating_mul(l as Weight))
|
||||
// Standard Error: 45_000
|
||||
.saturating_add((289_000 as Weight).saturating_mul(s as Weight))
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn vest_unlocked(l: u32, s: u32, ) -> Weight {
|
||||
(23_654_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((79_000 as Weight).saturating_mul(l as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((131_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))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn vest_other_locked(l: u32, s: u32, ) -> Weight {
|
||||
(23_372_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((86_000 as Weight).saturating_mul(l as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((166_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 vest_other_unlocked(l: u32, s: u32) -> Weight {
|
||||
(90_368_000 as Weight)
|
||||
// Standard Error: 17_000
|
||||
.saturating_add((31_000 as Weight).saturating_mul(l as Weight))
|
||||
// Standard Error: 45_000
|
||||
.saturating_add((132_000 as Weight).saturating_mul(s as Weight))
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn vest_other_unlocked(l: u32, s: u32, ) -> Weight {
|
||||
(23_385_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((77_000 as Weight).saturating_mul(l as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((139_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 vested_transfer(l: u32, _s: u32) -> Weight {
|
||||
(167_500_000 as Weight)
|
||||
// Standard Error: 194_000
|
||||
.saturating_add((255_000 as Weight).saturating_mul(l as Weight))
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn vested_transfer(l: u32, s: u32, ) -> Weight {
|
||||
(37_726_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((79_000 as Weight).saturating_mul(l as Weight))
|
||||
// Standard Error: 3_000
|
||||
.saturating_add((145_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 force_vested_transfer(l: u32, _s: u32) -> Weight {
|
||||
(174_000_000 as Weight)
|
||||
// Standard Error: 70_000
|
||||
.saturating_add((143_000 as Weight).saturating_mul(l as Weight))
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn force_vested_transfer(l: u32, s: u32, ) -> Weight {
|
||||
(37_282_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((86_000 as Weight).saturating_mul(l as Weight))
|
||||
// Standard Error: 3_000
|
||||
.saturating_add((145_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||
}
|
||||
fn not_unlocking_merge_schedules(l: u32, s: u32) -> Weight {
|
||||
(101_778_000 as Weight)
|
||||
// Standard Error: 17_000
|
||||
.saturating_add((194_000 as Weight).saturating_mul(l as Weight))
|
||||
// Standard Error: 48_000
|
||||
.saturating_add((361_000 as Weight).saturating_mul(s as Weight))
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
|
||||
(25_477_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((88_000 as Weight).saturating_mul(l as Weight))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((138_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 unlocking_merge_schedules(l: u32, s: u32) -> Weight {
|
||||
(104_111_000 as Weight)
|
||||
// Standard Error: 88_000
|
||||
.saturating_add((276_000 as Weight).saturating_mul(l as Weight))
|
||||
// Standard Error: 240_000
|
||||
.saturating_add((194_000 as Weight).saturating_mul(s as Weight))
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
|
||||
(24_656_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((84_000 as Weight).saturating_mul(l as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((159_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))
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2020 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -15,12 +15,12 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for `runtime_common::auctions`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -31,8 +31,9 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
// --output=./runtime/kusama/src/weights/runtime_common_auctions.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
@@ -42,23 +43,48 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `runtime_common::auctions`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Auctions AuctionInfo (r:1 w:1)
|
||||
// Storage: Auctions AuctionCounter (r:1 w:1)
|
||||
fn new_auction() -> Weight {
|
||||
(24_436_000 as Weight)
|
||||
(11_527_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
// Storage: Paras ParaLifecycles (r:1 w:0)
|
||||
// Storage: Auctions AuctionCounter (r:1 w:0)
|
||||
// Storage: Auctions AuctionInfo (r:1 w:0)
|
||||
// Storage: Slots Leases (r:1 w:0)
|
||||
// Storage: Auctions Winning (r:1 w:1)
|
||||
// Storage: Auctions ReservedAmounts (r:2 w:2)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn bid() -> Weight {
|
||||
(137_499_000 as Weight)
|
||||
(69_545_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||
}
|
||||
// Storage: Auctions AuctionInfo (r:1 w:1)
|
||||
// Storage: Babe NextRandomness (r:1 w:0)
|
||||
// Storage: Babe EpochStart (r:1 w:0)
|
||||
// Storage: Auctions AuctionCounter (r:1 w:0)
|
||||
// Storage: Auctions Winning (r:3600 w:3600)
|
||||
// Storage: Auctions ReservedAmounts (r:37 w:36)
|
||||
// Storage: System Account (r:36 w:36)
|
||||
// Storage: Slots Leases (r:7 w:7)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:1)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
fn on_initialize() -> Weight {
|
||||
(23_555_687_000 as Weight)
|
||||
(14_573_527_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(3688 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3683 as Weight))
|
||||
}
|
||||
// Storage: Auctions ReservedAmounts (r:37 w:36)
|
||||
// Storage: System Account (r:36 w:36)
|
||||
// Storage: Auctions Winning (r:0 w:3600)
|
||||
// Storage: Auctions AuctionInfo (r:0 w:1)
|
||||
fn cancel_auction() -> Weight {
|
||||
(5_007_594_000 as Weight)
|
||||
(2_993_495_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(73 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3673 as Weight))
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2021 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -16,11 +16,11 @@
|
||||
//! Autogenerated weights for `runtime_common::claims`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2021-10-06, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -33,7 +33,6 @@
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/runtime_common_claims.rs
|
||||
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
@@ -52,7 +51,7 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
|
||||
// Storage: System Account (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn claim() -> Weight {
|
||||
(442_992_000 as Weight)
|
||||
(133_001_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as Weight))
|
||||
}
|
||||
@@ -61,7 +60,7 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
|
||||
// Storage: Claims Claims (r:0 w:1)
|
||||
// Storage: Claims Signing (r:0 w:1)
|
||||
fn mint_claim() -> Weight {
|
||||
(12_098_000 as Weight)
|
||||
(5_890_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||
}
|
||||
@@ -73,7 +72,7 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
|
||||
// Storage: System Account (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn claim_attest() -> Weight {
|
||||
(442_328_000 as Weight)
|
||||
(136_336_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as Weight))
|
||||
}
|
||||
@@ -86,7 +85,7 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
|
||||
// Storage: System Account (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn attest() -> Weight {
|
||||
(126_506_000 as Weight)
|
||||
(55_502_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as Weight))
|
||||
}
|
||||
@@ -95,7 +94,7 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
|
||||
// Storage: Claims Signing (r:1 w:2)
|
||||
// Storage: Claims Preclaims (r:1 w:1)
|
||||
fn move_claim() -> Weight {
|
||||
(26_618_000 as Weight)
|
||||
(14_773_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as Weight))
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2020 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -15,12 +15,12 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for `runtime_common::paras_registrar`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -31,8 +31,9 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
// --output=./runtime/kusama/src/weights/runtime_common_paras_registrar.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
@@ -42,28 +43,64 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `runtime_common::paras_registrar`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Registrar NextFreeParaId (r:1 w:1)
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:0)
|
||||
fn reserve() -> Weight {
|
||||
(48_931_000 as Weight)
|
||||
(23_490_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:1)
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: Paras PvfActiveVoteMap (r:1 w:0)
|
||||
// Storage: Paras CodeByHash (r:1 w:1)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
// Storage: Paras CodeByHashRefs (r:1 w:1)
|
||||
// Storage: Paras CurrentCodeHash (r:0 w:1)
|
||||
// Storage: Paras UpcomingParasGenesis (r:0 w:1)
|
||||
fn register() -> Weight {
|
||||
(4_193_117_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||
(8_611_972_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as Weight))
|
||||
}
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:1)
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: Paras PvfActiveVoteMap (r:1 w:0)
|
||||
// Storage: Paras CodeByHash (r:1 w:1)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
// Storage: Paras CodeByHashRefs (r:1 w:1)
|
||||
// Storage: Paras CurrentCodeHash (r:0 w:1)
|
||||
// Storage: Paras UpcomingParasGenesis (r:0 w:1)
|
||||
fn force_register() -> Weight {
|
||||
(4_174_902_000 as Weight)
|
||||
(8_602_341_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as Weight))
|
||||
}
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:1)
|
||||
// Storage: Paras FutureCodeHash (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
// Storage: Registrar PendingSwap (r:0 w:1)
|
||||
fn deregister() -> Weight {
|
||||
(43_337_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||
}
|
||||
fn deregister() -> Weight {
|
||||
(81_324_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||
}
|
||||
// Storage: Registrar Paras (r:1 w:0)
|
||||
// Storage: Paras ParaLifecycles (r:2 w:2)
|
||||
// Storage: Registrar PendingSwap (r:1 w:1)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
// Storage: Crowdloan Funds (r:2 w:2)
|
||||
// Storage: Slots Leases (r:2 w:2)
|
||||
fn swap() -> Weight {
|
||||
(69_717_000 as Weight)
|
||||
(36_478_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(10 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as Weight))
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2020 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -15,12 +15,12 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for `runtime_common::slots`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -31,8 +31,9 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
// --output=./runtime/kusama/src/weights/runtime_common_slots.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
@@ -42,17 +43,25 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `runtime_common::slots`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Slots Leases (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn force_lease() -> Weight {
|
||||
(92_502_000 as Weight)
|
||||
(22_115_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn manage_lease_period_start(c: u32, t: u32) -> Weight {
|
||||
// Storage: Paras Parachains (r:1 w:0)
|
||||
// Storage: Slots Leases (r:101 w:100)
|
||||
// Storage: Paras ParaLifecycles (r:101 w:101)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
// Storage: Registrar Paras (r:100 w:100)
|
||||
fn manage_lease_period_start(c: u32, t: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 17_000
|
||||
.saturating_add((16_401_000 as Weight).saturating_mul(c as Weight))
|
||||
// Standard Error: 17_000
|
||||
.saturating_add((34_480_000 as Weight).saturating_mul(t as Weight))
|
||||
// Standard Error: 15_000
|
||||
.saturating_add((6_970_000 as Weight).saturating_mul(c as Weight))
|
||||
// Standard Error: 15_000
|
||||
.saturating_add((17_378_000 as Weight).saturating_mul(t as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(c as Weight)))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(t as Weight)))
|
||||
@@ -60,13 +69,20 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(c as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(t as Weight)))
|
||||
}
|
||||
// Storage: Slots Leases (r:1 w:1)
|
||||
// Storage: System Account (r:8 w:8)
|
||||
fn clear_all_leases() -> Weight {
|
||||
(194_756_000 as Weight)
|
||||
(89_163_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(9 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(9 as Weight))
|
||||
}
|
||||
// Storage: Slots Leases (r:1 w:0)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:1)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
fn trigger_onboard() -> Weight {
|
||||
(41_785_000 as Weight)
|
||||
(21_780_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2021 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -16,11 +16,11 @@
|
||||
//! Autogenerated weights for `runtime_parachains::configuration`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2021-12-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -45,34 +45,38 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> runtime_parachains::configuration::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Configuration PendingConfigs (r:1 w:1)
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_block_number() -> Weight {
|
||||
(8_240_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
(7_037_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Configuration PendingConfigs (r:1 w:1)
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_u32() -> Weight {
|
||||
(8_123_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
(6_933_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Configuration PendingConfigs (r:1 w:1)
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_option_u32() -> Weight {
|
||||
(8_547_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
(7_087_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Configuration PendingConfigs (r:1 w:1)
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_weight() -> Weight {
|
||||
(8_379_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
(7_152_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Benchmark Override (r:0 w:0)
|
||||
@@ -81,10 +85,11 @@ impl<T: frame_system::Config> runtime_parachains::configuration::WeightInfo for
|
||||
}
|
||||
// Storage: Configuration PendingConfigs (r:1 w:1)
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
fn set_config_with_balance() -> Weight {
|
||||
(8_400_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
(7_188_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2021 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -16,11 +16,11 @@
|
||||
//! Autogenerated weights for `runtime_parachains::disputes`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2021-11-24, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -45,7 +45,7 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> runtime_parachains::disputes::WeightInfo for WeightInfo<T> {
|
||||
// Storage: ParasDisputes Frozen (r:0 w:1)
|
||||
fn force_unfreeze() -> Weight {
|
||||
(2_156_000 as Weight)
|
||||
(683_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2021 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -16,11 +16,11 @@
|
||||
//! Autogenerated weights for `runtime_parachains::hrmp`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2021-11-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -33,7 +33,6 @@
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/runtime_parachains_hrmp.rs
|
||||
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
@@ -54,7 +53,7 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
fn hrmp_init_open_channel() -> Weight {
|
||||
(54_952_000 as Weight)
|
||||
(30_904_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(10 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as Weight))
|
||||
}
|
||||
@@ -66,7 +65,7 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
fn hrmp_accept_open_channel() -> Weight {
|
||||
(47_965_000 as Weight)
|
||||
(28_127_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||
}
|
||||
@@ -77,7 +76,7 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
fn hrmp_close_channel() -> Weight {
|
||||
(44_369_000 as Weight)
|
||||
(26_366_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||
}
|
||||
@@ -89,10 +88,10 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Hrmp HrmpOpenChannelRequestCount (r:0 w:1)
|
||||
fn force_clean_hrmp(i: u32, e: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 17_000
|
||||
.saturating_add((15_959_000 as Weight).saturating_mul(i as Weight))
|
||||
// Standard Error: 17_000
|
||||
.saturating_add((16_048_000 as Weight).saturating_mul(e as Weight))
|
||||
// Standard Error: 14_000
|
||||
.saturating_add((8_558_000 as Weight).saturating_mul(i as Weight))
|
||||
// Standard Error: 14_000
|
||||
.saturating_add((8_648_000 as Weight).saturating_mul(e as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(i as Weight)))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(e as Weight)))
|
||||
@@ -111,8 +110,8 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Hrmp HrmpChannels (r:0 w:2)
|
||||
fn force_process_hrmp_open(c: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 26_000
|
||||
.saturating_add((35_598_000 as Weight).saturating_mul(c as Weight))
|
||||
// Standard Error: 20_000
|
||||
.saturating_add((20_348_000 as Weight).saturating_mul(c as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((7 as Weight).saturating_mul(c as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
@@ -126,20 +125,20 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Hrmp HrmpChannelContents (r:0 w:2)
|
||||
fn force_process_hrmp_close(c: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 15_000
|
||||
.saturating_add((20_510_000 as Weight).saturating_mul(c as Weight))
|
||||
// Standard Error: 13_000
|
||||
.saturating_add((11_373_000 as Weight).saturating_mul(c as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(c as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((5 as Weight).saturating_mul(c as Weight)))
|
||||
}
|
||||
// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
|
||||
// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
|
||||
// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
|
||||
// Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1)
|
||||
fn hrmp_cancel_open_request(c: u32, ) -> Weight {
|
||||
(32_749_000 as Weight)
|
||||
(21_066_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((59_000 as Weight).saturating_mul(c as Weight))
|
||||
.saturating_add((51_000 as Weight).saturating_mul(c as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
@@ -147,8 +146,8 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
// Storage: Hrmp HrmpOpenChannelRequests (r:2 w:2)
|
||||
fn clean_open_channel_requests(c: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add((5_781_000 as Weight).saturating_mul(c as Weight))
|
||||
// Standard Error: 5_000
|
||||
.saturating_add((3_516_000 as Weight).saturating_mul(c as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(c as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2021 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -16,11 +16,11 @@
|
||||
//! Autogenerated weights for `runtime_parachains::initializer`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2021-09-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -33,7 +33,6 @@
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/runtime_parachains_initializer.rs
|
||||
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
@@ -46,7 +45,7 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> runtime_parachains::initializer::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Digest (r:1 w:1)
|
||||
fn force_approve(d: u32, ) -> Weight {
|
||||
(5_156_000 as Weight)
|
||||
(3_580_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((2_000 as Weight).saturating_mul(d as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2021 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -16,11 +16,11 @@
|
||||
//! Autogenerated weights for `runtime_parachains::paras`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2021-12-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -45,17 +45,20 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Paras CurrentCodeHash (r:1 w:1)
|
||||
// Storage: Paras CodeByHashRefs (r:1 w:1)
|
||||
// Storage: Paras PastCodeMeta (r:1 w:1)
|
||||
// Storage: Paras PastCodePruning (r:1 w:1)
|
||||
// Storage: Paras PastCodeHash (r:0 w:1)
|
||||
// Storage: Paras CodeByHash (r:0 w:1)
|
||||
fn force_set_current_code(c: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((3_000 as Weight).saturating_mul(c as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as Weight))
|
||||
}
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
fn force_set_current_head(s: u32, ) -> Weight {
|
||||
(11_803_000 as Weight)
|
||||
(11_215_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((1_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
@@ -80,17 +83,18 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
}
|
||||
// Storage: Paras FutureCodeUpgrades (r:1 w:0)
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
fn force_note_new_head(s: u32, ) -> Weight {
|
||||
(18_655_000 as Weight)
|
||||
(14_968_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((1_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))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
fn force_queue_action() -> Weight {
|
||||
(23_208_000 as Weight)
|
||||
(17_635_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
@@ -106,7 +110,7 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
|
||||
// Storage: Paras CodeByHashRefs (r:1 w:0)
|
||||
// Storage: Paras CodeByHash (r:0 w:1)
|
||||
fn poke_unused_validation_code() -> Weight {
|
||||
(4_639_000 as Weight)
|
||||
(2_669_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2021 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -16,11 +16,11 @@
|
||||
//! Autogenerated weights for `runtime_parachains::paras_inherent`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2021-12-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -45,13 +45,14 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for WeightInfo<T> {
|
||||
// Storage: ParaInherent Included (r:1 w:1)
|
||||
// Storage: System ParentHash (r:1 w:0)
|
||||
// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: Babe AuthorVrfRandomness (r:1 w:0)
|
||||
// Storage: ParaSessionInfo Sessions (r:1 w:0)
|
||||
// Storage: ParasDisputes Disputes (r:1 w:1)
|
||||
// Storage: ParasDisputes Included (r:1 w:1)
|
||||
// Storage: ParasDisputes SpamSlots (r:1 w:1)
|
||||
// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
|
||||
// Storage: ParasDisputes Frozen (r:1 w:0)
|
||||
// Storage: ParaInclusion PendingAvailability (r:2 w:1)
|
||||
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
|
||||
@@ -64,27 +65,29 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
// Storage: Hrmp HrmpChannelDigests (r:1 w:1)
|
||||
// Storage: Paras FutureCodeUpgrades (r:1 w:0)
|
||||
// Storage: ParaInherent OnChainVotes (r:1 w:1)
|
||||
// Storage: ParaScheduler SessionStartBlock (r:1 w:0)
|
||||
// Storage: ParaScheduler ParathreadQueue (r:1 w:1)
|
||||
// Storage: ParaScheduler Scheduled (r:1 w:1)
|
||||
// Storage: ParaScheduler ValidatorGroups (r:1 w:0)
|
||||
// Storage: Ump NeedsDispatch (r:1 w:1)
|
||||
// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
|
||||
// Storage: ParaInherent OnChainVotes (r:0 w:1)
|
||||
// Storage: Hrmp HrmpWatermarks (r:0 w:1)
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
fn enter_variable_disputes(v: u32, ) -> Weight {
|
||||
(484_589_000 as Weight)
|
||||
(407_507_000 as Weight)
|
||||
// Standard Error: 15_000
|
||||
.saturating_add((49_300_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(28 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(17 as Weight))
|
||||
.saturating_add((48_097_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(30 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(18 as Weight))
|
||||
}
|
||||
// Storage: ParaInherent Included (r:1 w:1)
|
||||
// Storage: System ParentHash (r:1 w:0)
|
||||
// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: Babe AuthorVrfRandomness (r:1 w:0)
|
||||
// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
|
||||
// Storage: ParasDisputes Frozen (r:1 w:0)
|
||||
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
|
||||
// Storage: Paras Parachains (r:1 w:0)
|
||||
@@ -97,6 +100,7 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
// Storage: Hrmp HrmpChannelDigests (r:1 w:1)
|
||||
// Storage: Paras FutureCodeUpgrades (r:1 w:0)
|
||||
// Storage: ParaInherent OnChainVotes (r:1 w:1)
|
||||
// Storage: ParasDisputes Disputes (r:1 w:0)
|
||||
// Storage: ParaScheduler SessionStartBlock (r:1 w:0)
|
||||
// Storage: ParaScheduler ParathreadQueue (r:1 w:1)
|
||||
@@ -105,20 +109,21 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Ump NeedsDispatch (r:1 w:1)
|
||||
// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
|
||||
// Storage: ParaInclusion AvailabilityBitfields (r:0 w:1)
|
||||
// Storage: ParaInherent OnChainVotes (r:0 w:1)
|
||||
// Storage: ParasDisputes Included (r:0 w:1)
|
||||
// Storage: Hrmp HrmpWatermarks (r:0 w:1)
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
fn enter_bitfields() -> Weight {
|
||||
(459_040_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(25 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(16 as Weight))
|
||||
(388_276_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(27 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(17 as Weight))
|
||||
}
|
||||
// Storage: ParaInherent Included (r:1 w:1)
|
||||
// Storage: System ParentHash (r:1 w:0)
|
||||
// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: Babe AuthorVrfRandomness (r:1 w:0)
|
||||
// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
|
||||
// Storage: ParasDisputes Frozen (r:1 w:0)
|
||||
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
|
||||
// Storage: Paras Parachains (r:1 w:0)
|
||||
@@ -131,6 +136,7 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
// Storage: Hrmp HrmpChannelDigests (r:1 w:1)
|
||||
// Storage: Paras FutureCodeUpgrades (r:1 w:0)
|
||||
// Storage: ParaInherent OnChainVotes (r:1 w:1)
|
||||
// Storage: ParasDisputes Disputes (r:2 w:0)
|
||||
// Storage: ParaScheduler SessionStartBlock (r:1 w:0)
|
||||
// Storage: ParaScheduler ParathreadQueue (r:1 w:1)
|
||||
@@ -140,22 +146,23 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Ump RelayDispatchQueueSize (r:1 w:0)
|
||||
// Storage: Ump NeedsDispatch (r:1 w:1)
|
||||
// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
|
||||
// Storage: ParaInherent OnChainVotes (r:0 w:1)
|
||||
// Storage: ParasDisputes Included (r:0 w:1)
|
||||
// Storage: Hrmp HrmpWatermarks (r:0 w:1)
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
fn enter_backed_candidates_variable(v: u32, ) -> Weight {
|
||||
(1_134_397_000 as Weight)
|
||||
// Standard Error: 29_000
|
||||
.saturating_add((49_193_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(28 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(15 as Weight))
|
||||
(1_030_406_000 as Weight)
|
||||
// Standard Error: 31_000
|
||||
.saturating_add((47_779_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(30 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(16 as Weight))
|
||||
}
|
||||
// Storage: ParaInherent Included (r:1 w:1)
|
||||
// Storage: System ParentHash (r:1 w:0)
|
||||
// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: Babe AuthorVrfRandomness (r:1 w:0)
|
||||
// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
|
||||
// Storage: ParasDisputes Frozen (r:1 w:0)
|
||||
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
|
||||
// Storage: Paras Parachains (r:1 w:0)
|
||||
@@ -168,6 +175,7 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
// Storage: Hrmp HrmpChannelDigests (r:1 w:1)
|
||||
// Storage: Paras FutureCodeUpgrades (r:1 w:0)
|
||||
// Storage: ParaInherent OnChainVotes (r:1 w:1)
|
||||
// Storage: ParasDisputes Disputes (r:2 w:0)
|
||||
// Storage: ParaScheduler SessionStartBlock (r:1 w:0)
|
||||
// Storage: ParaScheduler ParathreadQueue (r:1 w:1)
|
||||
@@ -179,13 +187,13 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Ump RelayDispatchQueueSize (r:1 w:0)
|
||||
// Storage: Ump NeedsDispatch (r:1 w:1)
|
||||
// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
|
||||
// Storage: ParaInherent OnChainVotes (r:0 w:1)
|
||||
// Storage: ParasDisputes Included (r:0 w:1)
|
||||
// Storage: Hrmp HrmpWatermarks (r:0 w:1)
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
fn enter_backed_candidate_code_upgrade() -> Weight {
|
||||
(43_202_449_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(30 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(15 as Weight))
|
||||
(43_323_857_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(32 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(16 as Weight))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2021 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -16,11 +16,11 @@
|
||||
//! Autogenerated weights for `runtime_parachains::ump`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-01-30, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/production/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -44,7 +44,7 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> runtime_parachains::ump::WeightInfo for WeightInfo<T> {
|
||||
fn sink_process_upward_message(s: u32, ) -> Weight {
|
||||
(3_715_000 as Weight)
|
||||
(4_768_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((2_000 as Weight).saturating_mul(s as Weight))
|
||||
}
|
||||
@@ -53,13 +53,13 @@ impl<T: frame_system::Config> runtime_parachains::ump::WeightInfo for WeightInfo
|
||||
// Storage: Ump RelayDispatchQueues (r:0 w:1)
|
||||
// Storage: Ump RelayDispatchQueueSize (r:0 w:1)
|
||||
fn clean_ump_after_outgoing() -> Weight {
|
||||
(6_711_000 as Weight)
|
||||
(6_989_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||
}
|
||||
// Storage: Ump Overweight (r:1 w:1)
|
||||
fn service_overweight() -> Weight {
|
||||
(16_427_000 as Weight)
|
||||
(18_667_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user