Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

update weights (sync with 0.9.42) #7149

Merged
merged 4 commits into from
May 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions runtime/kusama/constants/src/weights/block_weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@

// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.

//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-03-16 (Y/M/D)
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-04-28 (Y/M/D)
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//!
//! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development`
//! WARMUPS: `10`, REPEAT: `100`
Expand All @@ -42,17 +43,17 @@ parameter_types! {
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats nanoseconds:
/// Min, Max: 6_708_387, 7_042_534
/// Average: 6_818_965
/// Median: 6_826_464
/// Std-Dev: 66350.7
/// Min, Max: 3_425_466, 3_609_886
/// Average: 3_467_068
/// Median: 3_449_072
/// Std-Dev: 36835.22
///
/// Percentiles nanoseconds:
/// 99th: 6_991_352
/// 95th: 6_933_543
/// 75th: 6_854_332
/// 99th: 3_600_149
/// 95th: 3_542_240
/// 75th: 3_479_155
pub const BlockExecutionWeight: Weight =
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(6_818_965), 0);
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(3_467_068), 0);
}

#[cfg(test)]
Expand Down
21 changes: 11 additions & 10 deletions runtime/kusama/constants/src/weights/extrinsic_weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@

// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.

//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-03-16 (Y/M/D)
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-04-28 (Y/M/D)
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//!
//! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development`
//! WARMUPS: `10`, REPEAT: `100`
Expand All @@ -42,17 +43,17 @@ parameter_types! {
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats nanoseconds:
/// Min, Max: 105_285, 107_713
/// Average: 106_013
/// Median: 105_990
/// Std-Dev: 441.55
/// Min, Max: 110_261, 112_028
/// Average: 110_921
/// Median: 110_835
/// Std-Dev: 357.12
///
/// Percentiles nanoseconds:
/// 99th: 107_324
/// 95th: 106_820
/// 75th: 106_178
/// 99th: 111_911
/// 95th: 111_630
/// 75th: 111_113
pub const ExtrinsicBaseWeight: Weight =
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(106_013), 0);
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(110_921), 0);
}

#[cfg(test)]
Expand Down
36 changes: 19 additions & 17 deletions runtime/kusama/src/weights/frame_benchmarking_baseline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 `frame_benchmarking::baseline`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-03-15, 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:
Expand All @@ -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 `frame_benchmarking::baseline`.
pub struct WeightInfo<T>(PhantomData<T>);
Expand All @@ -50,54 +52,54 @@ impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for Weigh
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 181_000 picoseconds.
Weight::from_parts(213_057, 0)
// Minimum execution time: 182_000 picoseconds.
Weight::from_parts(205_425, 0)
.saturating_add(Weight::from_parts(0, 0))
}
/// The range of component `i` is `[0, 1000000]`.
fn subtraction(_i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 187_000 picoseconds.
Weight::from_parts(218_567, 0)
// Minimum execution time: 181_000 picoseconds.
Weight::from_parts(211_154, 0)
.saturating_add(Weight::from_parts(0, 0))
}
/// The range of component `i` is `[0, 1000000]`.
fn multiplication(_i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 186_000 picoseconds.
Weight::from_parts(217_697, 0)
// Minimum execution time: 181_000 picoseconds.
Weight::from_parts(213_770, 0)
.saturating_add(Weight::from_parts(0, 0))
}
/// The range of component `i` is `[0, 1000000]`.
fn division(_i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 175_000 picoseconds.
Weight::from_parts(215_174, 0)
// Minimum execution time: 182_000 picoseconds.
Weight::from_parts(205_830, 0)
.saturating_add(Weight::from_parts(0, 0))
}
fn hashing() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 19_355_019_000 picoseconds.
Weight::from_parts(19_438_410_000, 0)
// Minimum execution time: 19_204_192_000 picoseconds.
Weight::from_parts(19_387_813_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
/// The range of component `i` is `[0, 100]`.
fn sr25519_verification(i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 215_000 picoseconds.
Weight::from_parts(225_000, 0)
// Minimum execution time: 201_000 picoseconds.
Weight::from_parts(216_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 21_389
.saturating_add(Weight::from_parts(47_593_832, 0).saturating_mul(i.into()))
// Standard Error: 7_416
.saturating_add(Weight::from_parts(46_946_123, 0).saturating_mul(i.into()))
}
}
32 changes: 17 additions & 15 deletions runtime/kusama/src/weights/frame_election_provider_support.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 `frame_election_provider_support`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-03-15, 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:
Expand All @@ -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 `frame_election_provider_support`.
pub struct WeightInfo<T>(PhantomData<T>);
Expand All @@ -52,13 +54,13 @@ impl<T: frame_system::Config> frame_election_provider_support::WeightInfo for We
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_408_324_000 picoseconds.
Weight::from_parts(6_485_200_000, 0)
// Minimum execution time: 6_592_602_000 picoseconds.
Weight::from_parts(6_624_542_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 141_569
.saturating_add(Weight::from_parts(5_934_369, 0).saturating_mul(v.into()))
// Standard Error: 14_473_545
.saturating_add(Weight::from_parts(1_546_857_142, 0).saturating_mul(d.into()))
// Standard Error: 146_810
.saturating_add(Weight::from_parts(6_132_062, 0).saturating_mul(v.into()))
// Standard Error: 15_009_354
.saturating_add(Weight::from_parts(1_608_749_783, 0).saturating_mul(d.into()))
}
/// The range of component `v` is `[1000, 2000]`.
/// The range of component `t` is `[500, 1000]`.
Expand All @@ -67,12 +69,12 @@ impl<T: frame_system::Config> frame_election_provider_support::WeightInfo for We
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 4_994_312_000 picoseconds.
Weight::from_parts(5_043_278_000, 0)
// Minimum execution time: 4_594_449_000 picoseconds.
Weight::from_parts(4_624_318_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 153_800
.saturating_add(Weight::from_parts(5_926_584, 0).saturating_mul(v.into()))
// Standard Error: 15_724_043
.saturating_add(Weight::from_parts(1_841_670_903, 0).saturating_mul(d.into()))
// Standard Error: 125_306
.saturating_add(Weight::from_parts(4_982_326, 0).saturating_mul(v.into()))
// Standard Error: 12_810_878
.saturating_add(Weight::from_parts(1_455_352_897, 0).saturating_mul(d.into()))
}
}
54 changes: 28 additions & 26 deletions runtime/kusama/src/weights/frame_system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 `frame_system`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-03-15, 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:
Expand All @@ -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 `frame_system`.
pub struct WeightInfo<T>(PhantomData<T>);
Expand All @@ -50,22 +52,22 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_184_000 picoseconds.
Weight::from_parts(2_232_000, 0)
// Minimum execution time: 2_539_000 picoseconds.
Weight::from_parts(2_627_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 0
.saturating_add(Weight::from_parts(374, 0).saturating_mul(b.into()))
.saturating_add(Weight::from_parts(365, 0).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_626_000 picoseconds.
Weight::from_parts(7_777_000, 0)
// Minimum execution time: 8_055_000 picoseconds.
Weight::from_parts(8_173_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 0
.saturating_add(Weight::from_parts(1_410, 0).saturating_mul(b.into()))
.saturating_add(Weight::from_parts(1_398, 0).saturating_mul(b.into()))
}
/// Storage: System Digest (r:1 w:1)
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
Expand All @@ -75,8 +77,8 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `1485`
// Minimum execution time: 4_094_000 picoseconds.
Weight::from_parts(4_332_000, 0)
// Minimum execution time: 4_417_000 picoseconds.
Weight::from_parts(4_671_000, 0)
.saturating_add(Weight::from_parts(0, 1485))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
Expand All @@ -88,11 +90,11 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_142_000 picoseconds.
Weight::from_parts(2_256_000, 0)
// Minimum execution time: 2_558_000 picoseconds.
Weight::from_parts(2_602_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 1_736
.saturating_add(Weight::from_parts(658_559, 0).saturating_mul(i.into()))
// Standard Error: 1_616
.saturating_add(Weight::from_parts(660_932, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
/// Storage: Skipped Metadata (r:0 w:0)
Expand All @@ -102,25 +104,25 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_179_000 picoseconds.
Weight::from_parts(2_226_000, 0)
// Minimum execution time: 2_485_000 picoseconds.
Weight::from_parts(2_597_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 817
.saturating_add(Weight::from_parts(485_258, 0).saturating_mul(i.into()))
// Standard Error: 762
.saturating_add(Weight::from_parts(484_884, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
/// Storage: Skipped Metadata (r:0 w:0)
/// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
/// The range of component `p` is `[0, 1000]`.
fn kill_prefix(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `120 + p * (69 ±0)`
// Estimated: `121 + p * (70 ±0)`
// Minimum execution time: 4_109_000 picoseconds.
Weight::from_parts(4_255_000, 0)
.saturating_add(Weight::from_parts(0, 121))
// Standard Error: 1_259
.saturating_add(Weight::from_parts(1_043_188, 0).saturating_mul(p.into()))
// Measured: `105 + p * (69 ±0)`
// Estimated: `115 + p * (70 ±0)`
// Minimum execution time: 4_495_000 picoseconds.
Weight::from_parts(4_626_000, 0)
.saturating_add(Weight::from_parts(0, 115))
// Standard Error: 903
.saturating_add(Weight::from_parts(1_003_387, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
.saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into()))
Expand Down
Loading