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

update weights #6897

Merged
merged 4 commits into from
Mar 17, 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
18 changes: 9 additions & 9 deletions runtime/kusama/constants/src/weights/block_weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// 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-02-28 (Y/M/D)
//! DATE: 2023-03-16 (Y/M/D)
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//!
//! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development`
Expand Down Expand Up @@ -42,17 +42,17 @@ parameter_types! {
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats nanoseconds:
/// Min, Max: 9_120_818, 9_607_011
/// Average: 9_246_456
/// Median: 9_232_819
/// Std-Dev: 75654.75
/// Min, Max: 6_708_387, 7_042_534
/// Average: 6_818_965
/// Median: 6_826_464
/// Std-Dev: 66350.7
///
/// Percentiles nanoseconds:
/// 99th: 9_433_167
/// 95th: 9_411_822
/// 75th: 9_272_878
/// 99th: 6_991_352
/// 95th: 6_933_543
/// 75th: 6_854_332
pub const BlockExecutionWeight: Weight =
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(9_246_456), 0);
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(6_818_965), 0);
}

#[cfg(test)]
Expand Down
18 changes: 9 additions & 9 deletions runtime/kusama/constants/src/weights/extrinsic_weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// 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-02-28 (Y/M/D)
//! DATE: 2023-03-16 (Y/M/D)
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//!
//! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development`
Expand Down Expand Up @@ -42,17 +42,17 @@ parameter_types! {
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats nanoseconds:
/// Min, Max: 103_518, 106_907
/// Average: 104_517
/// Median: 104_438
/// Std-Dev: 475.03
/// Min, Max: 105_285, 107_713
/// Average: 106_013
/// Median: 105_990
/// Std-Dev: 441.55
///
/// Percentiles nanoseconds:
/// 99th: 106_279
/// 95th: 105_257
/// 75th: 104_647
/// 99th: 107_324
/// 95th: 106_820
/// 75th: 106_178
pub const ExtrinsicBaseWeight: Weight =
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(104_517), 0);
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(106_013), 0);
}

#[cfg(test)]
Expand Down
30 changes: 15 additions & 15 deletions runtime/kusama/src/weights/frame_benchmarking_baseline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! Autogenerated weights for `frame_benchmarking::baseline`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-03-15, 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`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
Expand Down Expand Up @@ -50,54 +50,54 @@ impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for Weigh
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 169 nanoseconds.
Weight::from_parts(211_793, 0)
// Minimum execution time: 181_000 picoseconds.
Weight::from_parts(213_057, 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: 172 nanoseconds.
Weight::from_parts(210_656, 0)
// Minimum execution time: 187_000 picoseconds.
Weight::from_parts(218_567, 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: 173 nanoseconds.
Weight::from_parts(216_851, 0)
// Minimum execution time: 186_000 picoseconds.
Weight::from_parts(217_697, 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: 171 nanoseconds.
Weight::from_parts(210_747, 0)
// Minimum execution time: 175_000 picoseconds.
Weight::from_parts(215_174, 0)
.saturating_add(Weight::from_parts(0, 0))
}
fn hashing() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 24_801_107 nanoseconds.
Weight::from_parts(25_036_984_000, 0)
// Minimum execution time: 19_355_019_000 picoseconds.
Weight::from_parts(19_438_410_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: 197 nanoseconds.
Weight::from_parts(220_000, 0)
// Minimum execution time: 215_000 picoseconds.
Weight::from_parts(225_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 18_400
.saturating_add(Weight::from_parts(47_299_555, 0).saturating_mul(i.into()))
// Standard Error: 21_389
.saturating_add(Weight::from_parts(47_593_832, 0).saturating_mul(i.into()))
}
}
26 changes: 13 additions & 13 deletions runtime/kusama/src/weights/frame_election_provider_support.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! Autogenerated weights for `frame_election_provider_support`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-03-15, 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`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
Expand Down Expand Up @@ -52,13 +52,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_256_446 nanoseconds.
Weight::from_parts(6_327_881_000, 0)
// Minimum execution time: 6_408_324_000 picoseconds.
Weight::from_parts(6_485_200_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 140_664
.saturating_add(Weight::from_parts(5_840_511, 0).saturating_mul(v.into()))
// Standard Error: 14_381_047
.saturating_add(Weight::from_parts(1_543_872_437, 0).saturating_mul(d.into()))
// 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()))
}
/// The range of component `v` is `[1000, 2000]`.
/// The range of component `t` is `[500, 1000]`.
Expand All @@ -67,12 +67,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_822_640 nanoseconds.
Weight::from_parts(4_870_840_000, 0)
// Minimum execution time: 4_994_312_000 picoseconds.
Weight::from_parts(5_043_278_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 150_173
.saturating_add(Weight::from_parts(5_687_544, 0).saturating_mul(v.into()))
// Standard Error: 15_353_175
.saturating_add(Weight::from_parts(1_784_144_004, 0).saturating_mul(d.into()))
// 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()))
}
}
46 changes: 23 additions & 23 deletions runtime/kusama/src/weights/frame_system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! Autogenerated weights for `frame_system`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-03-15, 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`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
Expand Down Expand Up @@ -50,22 +50,22 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_917 nanoseconds.
Weight::from_parts(1_973_000, 0)
// Minimum execution time: 2_184_000 picoseconds.
Weight::from_parts(2_232_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 0
.saturating_add(Weight::from_parts(370, 0).saturating_mul(b.into()))
.saturating_add(Weight::from_parts(374, 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_274 nanoseconds.
Weight::from_parts(7_405_000, 0)
// Minimum execution time: 7_626_000 picoseconds.
Weight::from_parts(7_777_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 0
.saturating_add(Weight::from_parts(1_731, 0).saturating_mul(b.into()))
.saturating_add(Weight::from_parts(1_410, 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 @@ -74,10 +74,10 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
fn set_heap_pages() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `495`
// Minimum execution time: 3_833 nanoseconds.
Weight::from_parts(3_995_000, 0)
.saturating_add(Weight::from_parts(0, 495))
// Estimated: `1485`
// Minimum execution time: 4_094_000 picoseconds.
Weight::from_parts(4_332_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 +88,11 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_820 nanoseconds.
Weight::from_parts(1_857_000, 0)
// Minimum execution time: 2_142_000 picoseconds.
Weight::from_parts(2_256_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 1_965
.saturating_add(Weight::from_parts(676_171, 0).saturating_mul(i.into()))
// Standard Error: 1_736
.saturating_add(Weight::from_parts(658_559, 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,11 +102,11 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_856 nanoseconds.
Weight::from_parts(1_919_000, 0)
// Minimum execution time: 2_179_000 picoseconds.
Weight::from_parts(2_226_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 850
.saturating_add(Weight::from_parts(484_572, 0).saturating_mul(i.into()))
// Standard Error: 817
.saturating_add(Weight::from_parts(485_258, 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 @@ -116,11 +116,11 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `120 + p * (69 ±0)`
// Estimated: `121 + p * (70 ±0)`
// Minimum execution time: 3_847 nanoseconds.
Weight::from_parts(3_930_000, 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_032
.saturating_add(Weight::from_parts(1_006_925, 0).saturating_mul(p.into()))
// Standard Error: 1_259
.saturating_add(Weight::from_parts(1_043_188, 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
32 changes: 16 additions & 16 deletions runtime/kusama/src/weights/pallet_bags_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_bags_list`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-03-15, 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`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
Expand Down Expand Up @@ -55,11 +55,11 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
fn rebag_non_terminal() -> Weight {
// Proof Size summary in bytes:
// Measured: `1846`
// Estimated: `19186`
// Minimum execution time: 59_681 nanoseconds.
Weight::from_parts(60_540_000, 0)
.saturating_add(Weight::from_parts(0, 19186))
// Measured: `1654`
// Estimated: `23146`
// Minimum execution time: 60_668_000 picoseconds.
Weight::from_parts(62_285_000, 0)
.saturating_add(Weight::from_parts(0, 23146))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(5))
}
Expand All @@ -73,11 +73,11 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
fn rebag_terminal() -> Weight {
// Proof Size summary in bytes:
// Measured: `1740`
// Estimated: `19114`
// Minimum execution time: 58_266 nanoseconds.
Weight::from_parts(59_035_000, 0)
.saturating_add(Weight::from_parts(0, 19114))
// Measured: `1548`
// Estimated: `23074`
// Minimum execution time: 58_418_000 picoseconds.
Weight::from_parts(59_124_000, 0)
.saturating_add(Weight::from_parts(0, 23074))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(5))
}
Expand All @@ -93,11 +93,11 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
fn put_in_front_of() -> Weight {
// Proof Size summary in bytes:
// Measured: `2081`
// Estimated: `25798`
// Minimum execution time: 65_043 nanoseconds.
Weight::from_parts(65_583_000, 0)
.saturating_add(Weight::from_parts(0, 25798))
// Measured: `1857`
// Estimated: `30748`
// Minimum execution time: 64_409_000 picoseconds.
Weight::from_parts(65_566_000, 0)
.saturating_add(Weight::from_parts(0, 30748))
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(6))
}
Expand Down
Loading