update weights (sync with 0.9.42) (#7149)

* polkadot: update weights

* westend: update weights

* kusama: update weights

* rococo: update weights
This commit is contained in:
Mara Robin B
2023-05-02 15:12:47 +02:00
committed by GitHub
parent 0ae0393042
commit d50ff483f8
163 changed files with 7550 additions and 6818 deletions
+111 -99
View File
@@ -13,12 +13,13 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for `pallet_nis`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -38,97 +39,148 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions for `pallet_nis`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_nis::WeightInfo for WeightInfo<T> {
/// Storage: Nis Queues (r:1 w:1)
/// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen)
/// Storage: Balances Reserves (r:1 w:1)
/// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
/// Storage: Balances Holds (r:1 w:1)
/// Proof: Balances Holds (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen)
/// Storage: Nis QueueTotals (r:1 w:1)
/// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(10002), added: 10497, mode: MaxEncodedLen)
/// The range of component `l` is `[0, 999]`.
fn place_bid(l: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `10216 + l * (48 ±0)`
// Estimated: `67688`
// Minimum execution time: 29_879_000 picoseconds.
Weight::from_parts(32_953_670, 0)
.saturating_add(Weight::from_parts(0, 67688))
// Standard Error: 715
.saturating_add(Weight::from_parts(71_838, 0).saturating_mul(l.into()))
// Measured: `10210 + l * (48 ±0)`
// Estimated: `51487`
// Minimum execution time: 45_950_000 picoseconds.
Weight::from_parts(47_235_564, 0)
.saturating_add(Weight::from_parts(0, 51487))
// Standard Error: 723
.saturating_add(Weight::from_parts(71_625, 0).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: Nis Queues (r:1 w:1)
/// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen)
/// Storage: Balances Reserves (r:1 w:1)
/// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
/// Storage: Balances Holds (r:1 w:1)
/// Proof: Balances Holds (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen)
/// Storage: Nis QueueTotals (r:1 w:1)
/// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(10002), added: 10497, mode: MaxEncodedLen)
fn place_bid_max() -> Weight {
// Proof Size summary in bytes:
// Measured: `58218`
// Estimated: `67688`
// Minimum execution time: 107_169_000 picoseconds.
Weight::from_parts(108_661_000, 0)
.saturating_add(Weight::from_parts(0, 67688))
// Measured: `58212`
// Estimated: `51487`
// Minimum execution time: 129_538_000 picoseconds.
Weight::from_parts(132_437_000, 0)
.saturating_add(Weight::from_parts(0, 51487))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: Nis Queues (r:1 w:1)
/// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen)
/// Storage: Balances Holds (r:1 w:1)
/// Proof: Balances Holds (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen)
/// Storage: Nis QueueTotals (r:1 w:1)
/// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(10002), added: 10497, mode: MaxEncodedLen)
/// Storage: Balances Reserves (r:1 w:1)
/// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
/// The range of component `l` is `[1, 1000]`.
fn retract_bid(l: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `10216 + l * (48 ±0)`
// Estimated: `67688`
// Minimum execution time: 37_765_000 picoseconds.
Weight::from_parts(34_128_234, 0)
.saturating_add(Weight::from_parts(0, 67688))
// Standard Error: 714
.saturating_add(Weight::from_parts(59_820, 0).saturating_mul(l.into()))
// Measured: `10210 + l * (48 ±0)`
// Estimated: `51487`
// Minimum execution time: 49_489_000 picoseconds.
Weight::from_parts(44_072_270, 0)
.saturating_add(Weight::from_parts(0, 51487))
// Standard Error: 744
.saturating_add(Weight::from_parts(90_901, 0).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: Nis Summary (r:1 w:0)
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
/// Storage: Balances InactiveIssuance (r:1 w:0)
/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn fund_deficit() -> Weight {
// Proof Size summary in bytes:
// Measured: `225`
// Estimated: `5118`
// Minimum execution time: 34_474_000 picoseconds.
Weight::from_parts(35_247_000, 0)
.saturating_add(Weight::from_parts(0, 5118))
.saturating_add(T::DbWeight::get().reads(2))
// Estimated: `3593`
// Minimum execution time: 38_216_000 picoseconds.
Weight::from_parts(38_536_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: Nis Receipts (r:1 w:1)
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
/// Storage: Balances Holds (r:1 w:1)
/// Proof: Balances Holds (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Nis Summary (r:1 w:1)
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
/// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
/// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
/// Storage: NisCounterpartBalances Account (r:1 w:1)
/// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen)
fn communify() -> Weight {
// Proof Size summary in bytes:
// Measured: `470`
// Estimated: `3593`
// Minimum execution time: 72_706_000 picoseconds.
Weight::from_parts(73_956_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(6))
}
/// Storage: Nis Receipts (r:1 w:1)
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
/// Storage: Nis Summary (r:1 w:1)
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
/// Storage: Balances InactiveIssuance (r:1 w:0)
/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: NisCounterpartBalances Account (r:1 w:1)
/// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen)
/// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
/// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
/// Storage: Balances Holds (r:1 w:1)
/// Proof: Balances Holds (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen)
fn privatize() -> Weight {
// Proof Size summary in bytes:
// Measured: `660`
// Estimated: `3593`
// Minimum execution time: 85_985_000 picoseconds.
Weight::from_parts(87_206_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(6))
}
/// Storage: Nis Receipts (r:1 w:1)
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
/// Storage: Nis Summary (r:1 w:1)
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
/// Storage: Balances InactiveIssuance (r:1 w:0)
/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:0)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Balances Reserves (r:1 w:1)
/// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
/// Storage: Balances Holds (r:1 w:1)
/// Proof: Balances Holds (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen)
fn thaw_private() -> Weight {
// Proof Size summary in bytes:
// Measured: `394`
// Estimated: `13378`
// Minimum execution time: 50_476_000 picoseconds.
Weight::from_parts(51_300_000, 0)
.saturating_add(Weight::from_parts(0, 13378))
.saturating_add(T::DbWeight::get().reads(4))
// Measured: `388`
// Estimated: `3593`
// Minimum execution time: 47_928_000 picoseconds.
Weight::from_parts(48_637_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: Nis Receipts (r:1 w:1)
@@ -139,64 +191,24 @@ impl<T: frame_system::Config> pallet_nis::WeightInfo for WeightInfo<T> {
/// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen)
/// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
/// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
/// Storage: Balances InactiveIssuance (r:1 w:0)
/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn thaw_communal() -> Weight {
// Proof Size summary in bytes:
// Measured: `604`
// Estimated: `13742`
// Minimum execution time: 63_964_000 picoseconds.
Weight::from_parts(64_804_000, 0)
.saturating_add(Weight::from_parts(0, 13742))
.saturating_add(T::DbWeight::get().reads(5))
// Estimated: `3593`
// Minimum execution time: 90_893_000 picoseconds.
Weight::from_parts(92_819_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(5))
}
/// Storage: Nis Receipts (r:1 w:1)
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
/// Storage: Nis Summary (r:1 w:1)
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: NisCounterpartBalances Account (r:1 w:1)
/// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen)
/// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
/// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
/// Storage: Balances Reserves (r:1 w:1)
/// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
fn privatize() -> Weight {
// Proof Size summary in bytes:
// Measured: `666`
// Estimated: `18456`
// Minimum execution time: 74_135_000 picoseconds.
Weight::from_parts(74_896_000, 0)
.saturating_add(Weight::from_parts(0, 18456))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(6))
}
/// Storage: Nis Receipts (r:1 w:1)
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
/// Storage: Balances Reserves (r:1 w:1)
/// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Nis Summary (r:1 w:1)
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
/// Storage: NisCounterpartBalances Account (r:1 w:1)
/// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen)
/// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
/// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
fn communify() -> Weight {
// Proof Size summary in bytes:
// Measured: `476`
// Estimated: `18456`
// Minimum execution time: 68_354_000 picoseconds.
Weight::from_parts(68_984_000, 0)
.saturating_add(Weight::from_parts(0, 18456))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(6))
}
/// Storage: Nis Summary (r:1 w:1)
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
/// Storage: Balances InactiveIssuance (r:1 w:0)
/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:0)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Nis QueueTotals (r:1 w:1)
@@ -204,11 +216,11 @@ impl<T: frame_system::Config> pallet_nis::WeightInfo for WeightInfo<T> {
fn process_queues() -> Weight {
// Proof Size summary in bytes:
// Measured: `10658`
// Estimated: `16605`
// Minimum execution time: 24_500_000 picoseconds.
Weight::from_parts(24_920_000, 0)
.saturating_add(Weight::from_parts(0, 16605))
.saturating_add(T::DbWeight::get().reads(3))
// Estimated: `11487`
// Minimum execution time: 24_052_000 picoseconds.
Weight::from_parts(24_288_000, 0)
.saturating_add(Weight::from_parts(0, 11487))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
/// Storage: Nis Queues (r:1 w:1)
@@ -217,8 +229,8 @@ impl<T: frame_system::Config> pallet_nis::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `76`
// Estimated: `51487`
// Minimum execution time: 4_089_000 picoseconds.
Weight::from_parts(4_222_000, 0)
// Minimum execution time: 4_043_000 picoseconds.
Weight::from_parts(4_153_000, 0)
.saturating_add(Weight::from_parts(0, 51487))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -229,8 +241,8 @@ impl<T: frame_system::Config> pallet_nis::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_020_000 picoseconds.
Weight::from_parts(7_177_000, 0)
// Minimum execution time: 7_136_000 picoseconds.
Weight::from_parts(7_266_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}