mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 04:01:02 +00:00
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:
@@ -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_ranked_collective`
|
||||
//!
|
||||
//! 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,9 +39,10 @@
|
||||
#![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_ranked_collective`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
@@ -56,10 +58,10 @@ impl<T: frame_system::Config> pallet_ranked_collective::WeightInfo for WeightInf
|
||||
fn add_member() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `76`
|
||||
// Estimated: `6986`
|
||||
// Minimum execution time: 17_330_000 picoseconds.
|
||||
Weight::from_parts(18_056_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 6986))
|
||||
// Estimated: `3507`
|
||||
// Minimum execution time: 17_166_000 picoseconds.
|
||||
Weight::from_parts(17_525_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3507))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
@@ -75,17 +77,17 @@ impl<T: frame_system::Config> pallet_ranked_collective::WeightInfo for WeightInf
|
||||
fn remove_member(r: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `550 + r * (281 ±0)`
|
||||
// Estimated: `14024 + r * (7547 ±0)`
|
||||
// Minimum execution time: 27_803_000 picoseconds.
|
||||
Weight::from_parts(32_948_051, 0)
|
||||
.saturating_add(Weight::from_parts(0, 14024))
|
||||
// Standard Error: 34_857
|
||||
.saturating_add(Weight::from_parts(11_563_940, 0).saturating_mul(r.into()))
|
||||
// Estimated: `3519 + r * (2529 ±0)`
|
||||
// Minimum execution time: 27_083_000 picoseconds.
|
||||
Weight::from_parts(31_255_405, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3519))
|
||||
// Standard Error: 26_146
|
||||
.saturating_add(Weight::from_parts(11_608_764, 0).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(r.into())))
|
||||
.saturating_add(Weight::from_parts(0, 7547).saturating_mul(r.into()))
|
||||
.saturating_add(Weight::from_parts(0, 2529).saturating_mul(r.into()))
|
||||
}
|
||||
/// Storage: FellowshipCollective Members (r:1 w:1)
|
||||
/// Proof: FellowshipCollective Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen)
|
||||
@@ -99,12 +101,12 @@ impl<T: frame_system::Config> pallet_ranked_collective::WeightInfo for WeightInf
|
||||
fn promote_member(r: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `248 + r * (17 ±0)`
|
||||
// Estimated: `6986`
|
||||
// Minimum execution time: 19_310_000 picoseconds.
|
||||
Weight::from_parts(20_134_066, 0)
|
||||
.saturating_add(Weight::from_parts(0, 6986))
|
||||
// Standard Error: 3_943
|
||||
.saturating_add(Weight::from_parts(316_477, 0).saturating_mul(r.into()))
|
||||
// Estimated: `3507`
|
||||
// Minimum execution time: 19_158_000 picoseconds.
|
||||
Weight::from_parts(19_893_892, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3507))
|
||||
// Standard Error: 4_132
|
||||
.saturating_add(Weight::from_parts(318_611, 0).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
@@ -120,12 +122,12 @@ impl<T: frame_system::Config> pallet_ranked_collective::WeightInfo for WeightInf
|
||||
fn demote_member(r: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `566 + r * (72 ±0)`
|
||||
// Estimated: `14024`
|
||||
// Minimum execution time: 27_232_000 picoseconds.
|
||||
Weight::from_parts(31_561_050, 0)
|
||||
.saturating_add(Weight::from_parts(0, 14024))
|
||||
// Standard Error: 26_545
|
||||
.saturating_add(Weight::from_parts(771_800, 0).saturating_mul(r.into()))
|
||||
// Estimated: `3519`
|
||||
// Minimum execution time: 27_058_000 picoseconds.
|
||||
Weight::from_parts(29_517_469, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3519))
|
||||
// Standard Error: 32_402
|
||||
.saturating_add(Weight::from_parts(639_726, 0).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
@@ -139,11 +141,11 @@ impl<T: frame_system::Config> pallet_ranked_collective::WeightInfo for WeightInf
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn vote() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `672`
|
||||
// Estimated: `95268`
|
||||
// Minimum execution time: 51_056_000 picoseconds.
|
||||
Weight::from_parts(51_866_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 95268))
|
||||
// Measured: `638`
|
||||
// Estimated: `83866`
|
||||
// Minimum execution time: 50_139_000 picoseconds.
|
||||
Weight::from_parts(50_871_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 83866))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
@@ -156,13 +158,13 @@ impl<T: frame_system::Config> pallet_ranked_collective::WeightInfo for WeightInf
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
fn cleanup_poll(n: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `468 + n * (50 ±0)`
|
||||
// Estimated: `8934 + n * (2540 ±0)`
|
||||
// Minimum execution time: 14_635_000 picoseconds.
|
||||
Weight::from_parts(18_272_905, 0)
|
||||
.saturating_add(Weight::from_parts(0, 8934))
|
||||
// Standard Error: 1_276
|
||||
.saturating_add(Weight::from_parts(935_824, 0).saturating_mul(n.into()))
|
||||
// Measured: `434 + n * (50 ±0)`
|
||||
// Estimated: `4365 + n * (2540 ±0)`
|
||||
// Minimum execution time: 14_639_000 picoseconds.
|
||||
Weight::from_parts(17_825_612, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4365))
|
||||
// Standard Error: 1_138
|
||||
.saturating_add(Weight::from_parts(921_612, 0).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
|
||||
|
||||
Reference in New Issue
Block a user