Skip to content

Commit

Permalink
Update Weights (#38)
Browse files Browse the repository at this point in the history
* Update system-parachain weights

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Update system-parachain weights again

Just a sanity check for the consistency.

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Update Relay weights

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

---------

Signed-off-by: Oliver Tale-Yazdi <[email protected]>
  • Loading branch information
ggwpez authored Sep 25, 2023
1 parent 7764f55 commit 5312070
Show file tree
Hide file tree
Showing 162 changed files with 13,196 additions and 13,303 deletions.
51 changes: 23 additions & 28 deletions relay/kusama/src/weights/frame_benchmarking_baseline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,22 @@
//! Autogenerated weights for `frame_benchmarking::baseline`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-09-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `runner-e8ezs4ez-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
//! HOSTNAME: `a3dce7bd4066`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("spec-kusama.json")`, DB CACHE: 1024

// Executed Command:
// ./target/production/polkadot
// /builds/polkadot-sdk/target/production/polkadot
// benchmark
// pallet
// --chain=kusama-dev
// --steps=50
// --repeat=20
// --no-storage-info
// --chain=spec-kusama.json
// --pallet=frame_benchmarking::baseline
// --extrinsic=
// --output=/builds/runtimes/relay/kusama/src/weights
// --header=/builds/bench/header.txt
// --no-median-slopes
// --no-min-squares
// --pallet=frame_benchmarking::baseline
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --header=./file_header.txt
// --output=./runtime/kusama/src/weights/frame_benchmarking_baseline.rs

#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
Expand All @@ -55,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: 173_000 picoseconds.
Weight::from_parts(235_396, 0)
// Minimum execution time: 141_000 picoseconds.
Weight::from_parts(182_446, 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: 177_000 picoseconds.
Weight::from_parts(228_745, 0)
// Minimum execution time: 140_000 picoseconds.
Weight::from_parts(181_688, 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: 178_000 picoseconds.
Weight::from_parts(233_063, 0)
// Minimum execution time: 140_000 picoseconds.
Weight::from_parts(178_127, 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: 167_000 picoseconds.
Weight::from_parts(224_853, 0)
// Minimum execution time: 135_000 picoseconds.
Weight::from_parts(175_786, 0)
.saturating_add(Weight::from_parts(0, 0))
}
fn hashing() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 23_298_471_000 picoseconds.
Weight::from_parts(23_321_832_000, 0)
// Minimum execution time: 21_633_308_000 picoseconds.
Weight::from_parts(21_658_241_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: 228_000 picoseconds.
Weight::from_parts(8_448_493, 0)
// Minimum execution time: 176_000 picoseconds.
Weight::from_parts(2_627_074, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 18_878
.saturating_add(Weight::from_parts(55_611_437, 0).saturating_mul(i.into()))
// Standard Error: 6_117
.saturating_add(Weight::from_parts(55_299_711, 0).saturating_mul(i.into()))
}
}
47 changes: 21 additions & 26 deletions relay/kusama/src/weights/frame_election_provider_support.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,22 @@
//! Autogenerated weights for `frame_election_provider_support`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-09-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `runner-e8ezs4ez-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
//! HOSTNAME: `a3dce7bd4066`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("spec-kusama.json")`, DB CACHE: 1024

// Executed Command:
// ./target/production/polkadot
// /builds/polkadot-sdk/target/production/polkadot
// benchmark
// pallet
// --chain=kusama-dev
// --steps=50
// --repeat=20
// --no-storage-info
// --chain=spec-kusama.json
// --pallet=frame_election_provider_support
// --extrinsic=
// --output=/builds/runtimes/relay/kusama/src/weights
// --header=/builds/bench/header.txt
// --no-median-slopes
// --no-min-squares
// --pallet=frame_election_provider_support
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --header=./file_header.txt
// --output=./runtime/kusama/src/weights/

#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
Expand All @@ -57,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_647_123_000 picoseconds.
Weight::from_parts(6_809_648_000, 0)
// Minimum execution time: 6_339_278_000 picoseconds.
Weight::from_parts(6_431_084_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 139_689
.saturating_add(Weight::from_parts(6_171_199, 0).saturating_mul(v.into()))
// Standard Error: 14_281_333
.saturating_add(Weight::from_parts(1_423_059_328, 0).saturating_mul(d.into()))
// Standard Error: 134_006
.saturating_add(Weight::from_parts(5_754_252, 0).saturating_mul(v.into()))
// Standard Error: 13_700_316
.saturating_add(Weight::from_parts(1_424_664_173, 0).saturating_mul(d.into()))
}
/// The range of component `v` is `[1000, 2000]`.
/// The range of component `t` is `[500, 1000]`.
Expand All @@ -72,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_616_850_000 picoseconds.
Weight::from_parts(4_769_028_000, 0)
// Minimum execution time: 4_326_658_000 picoseconds.
Weight::from_parts(4_390_844_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 123_691
.saturating_add(Weight::from_parts(4_925_892, 0).saturating_mul(v.into()))
// Standard Error: 12_645_798
.saturating_add(Weight::from_parts(1_357_902_261, 0).saturating_mul(d.into()))
// Standard Error: 118_967
.saturating_add(Weight::from_parts(4_561_230, 0).saturating_mul(v.into()))
// Standard Error: 12_162_815
.saturating_add(Weight::from_parts(1_340_777_050, 0).saturating_mul(d.into()))
}
}
105 changes: 50 additions & 55 deletions relay/kusama/src/weights/frame_system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,22 @@
//! Autogenerated weights for `frame_system`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-09-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `runner-e8ezs4ez-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
//! HOSTNAME: `a3dce7bd4066`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("spec-kusama.json")`, DB CACHE: 1024

// Executed Command:
// ./target/production/polkadot
// /builds/polkadot-sdk/target/production/polkadot
// benchmark
// pallet
// --chain=kusama-dev
// --steps=50
// --repeat=20
// --no-storage-info
// --chain=spec-kusama.json
// --pallet=frame_system
// --extrinsic=
// --output=/builds/runtimes/relay/kusama/src/weights
// --header=/builds/bench/header.txt
// --no-median-slopes
// --no-min-squares
// --pallet=frame_system
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --header=./file_header.txt
// --output=./runtime/kusama/src/weights/

#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
Expand All @@ -55,91 +50,91 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_951_000 picoseconds.
Weight::from_parts(2_015_000, 0)
// Minimum execution time: 1_794_000 picoseconds.
Weight::from_parts(691_547, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 1
.saturating_add(Weight::from_parts(431, 0).saturating_mul(b.into()))
// Standard Error: 0
.saturating_add(Weight::from_parts(386, 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_410_000 picoseconds.
Weight::from_parts(7_603_000, 0)
// Minimum execution time: 6_475_000 picoseconds.
Weight::from_parts(58_654_048, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 3
.saturating_add(Weight::from_parts(1_793, 0).saturating_mul(b.into()))
// Standard Error: 5
.saturating_add(Weight::from_parts(1_656, 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)
/// Storage: unknown `0x3a686561707061676573` (r:0 w:1)
/// Proof Skipped: unknown `0x3a686561707061676573` (r:0 w:1)
/// Storage: `System::Digest` (r:1 w:1)
/// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1)
/// Proof: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1)
fn set_heap_pages() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `1485`
// Minimum execution time: 3_736_000 picoseconds.
Weight::from_parts(3_922_000, 0)
// Minimum execution time: 3_393_000 picoseconds.
Weight::from_parts(3_660_000, 0)
.saturating_add(Weight::from_parts(0, 1485))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
/// Storage: System Digest (r:1 w:1)
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: unknown `0x3a636f6465` (r:0 w:1)
/// Proof Skipped: unknown `0x3a636f6465` (r:0 w:1)
/// Storage: `System::Digest` (r:1 w:1)
/// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: UNKNOWN KEY `0x3a636f6465` (r:0 w:1)
/// Proof: UNKNOWN KEY `0x3a636f6465` (r:0 w:1)
fn set_code() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `1485`
// Minimum execution time: 93_052_017_000 picoseconds.
Weight::from_parts(98_271_042_000, 0)
// Minimum execution time: 92_055_300_000 picoseconds.
Weight::from_parts(95_101_886_000, 0)
.saturating_add(Weight::from_parts(0, 1485))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
/// Storage: Skipped Metadata (r:0 w:0)
/// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
/// Storage: `Skipped::Metadata` (r:0 w:0)
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `i` is `[0, 1000]`.
fn set_storage(i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_100_000 picoseconds.
Weight::from_parts(2_131_000, 0)
// Minimum execution time: 1_887_000 picoseconds.
Weight::from_parts(1_964_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 1_975
.saturating_add(Weight::from_parts(744_852, 0).saturating_mul(i.into()))
// Standard Error: 1_853
.saturating_add(Weight::from_parts(698_445, 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)
/// Storage: `Skipped::Metadata` (r:0 w:0)
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `i` is `[0, 1000]`.
fn kill_storage(i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_089_000 picoseconds.
Weight::from_parts(2_129_000, 0)
// Minimum execution time: 1_851_000 picoseconds.
Weight::from_parts(1_914_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 1_093
.saturating_add(Weight::from_parts(568_923, 0).saturating_mul(i.into()))
// Standard Error: 841
.saturating_add(Weight::from_parts(524_502, 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)
/// Storage: `Skipped::Metadata` (r:0 w:0)
/// Proof: `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: `105 + p * (69 ±0)`
// Estimated: `118 + p * (70 ±0)`
// Minimum execution time: 3_913_000 picoseconds.
Weight::from_parts(4_056_000, 0)
.saturating_add(Weight::from_parts(0, 118))
// Standard Error: 2_452
.saturating_add(Weight::from_parts(1_281_244, 0).saturating_mul(p.into()))
// Measured: `82 + p * (69 ±0)`
// Estimated: `86 + p * (70 ±0)`
// Minimum execution time: 3_570_000 picoseconds.
Weight::from_parts(3_691_000, 0)
.saturating_add(Weight::from_parts(0, 86))
// Standard Error: 1_327
.saturating_add(Weight::from_parts(1_165_480, 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

0 comments on commit 5312070

Please sign in to comment.