Skip to content

Commit

Permalink
Transition to VM weights (#7342)
Browse files Browse the repository at this point in the history
* ".git/.scripts/commands/bench-vm/bench-vm.sh" all westend

* ".git/.scripts/commands/bench-vm/bench-vm.sh" all polkadot

* ".git/.scripts/commands/bench-vm/bench-vm.sh" all kusama

---------

Co-authored-by: command-bot <>
  • Loading branch information
mateo-moon authored Jun 21, 2023
1 parent 33422cb commit fab24f3
Show file tree
Hide file tree
Showing 106 changed files with 4,384 additions and 2,727 deletions.
43 changes: 23 additions & 20 deletions polkadot/runtime/westend/src/weights/pallet_balances.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
//! Autogenerated weights for `pallet_balances`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-05-25, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-14, 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: `runner--ss9ysm1-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024
// Executed Command:
Expand All @@ -29,6 +29,9 @@
// --chain=westend-dev
// --steps=50
// --repeat=20
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --pallet=pallet_balances
// --extrinsic=*
// --execution=wasm
Expand All @@ -53,8 +56,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
// Minimum execution time: 51_864_000 picoseconds.
Weight::from_parts(52_543_000, 0)
// Minimum execution time: 57_163_000 picoseconds.
Weight::from_parts(58_105_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -65,8 +68,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
// Minimum execution time: 39_686_000 picoseconds.
Weight::from_parts(39_875_000, 0)
// Minimum execution time: 43_085_000 picoseconds.
Weight::from_parts(43_779_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -77,8 +80,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `3593`
// Minimum execution time: 15_841_000 picoseconds.
Weight::from_parts(16_149_000, 0)
// Minimum execution time: 16_153_000 picoseconds.
Weight::from_parts(16_725_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -89,8 +92,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `3593`
// Minimum execution time: 22_447_000 picoseconds.
Weight::from_parts(22_935_000, 0)
// Minimum execution time: 23_335_000 picoseconds.
Weight::from_parts(23_715_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -101,8 +104,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `103`
// Estimated: `6196`
// Minimum execution time: 53_749_000 picoseconds.
Weight::from_parts(54_549_000, 0)
// Minimum execution time: 58_776_000 picoseconds.
Weight::from_parts(59_353_000, 0)
.saturating_add(Weight::from_parts(0, 6196))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
Expand All @@ -113,8 +116,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
// Minimum execution time: 48_306_000 picoseconds.
Weight::from_parts(48_720_000, 0)
// Minimum execution time: 52_826_000 picoseconds.
Weight::from_parts(53_816_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -125,8 +128,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `3593`
// Minimum execution time: 18_644_000 picoseconds.
Weight::from_parts(18_969_000, 0)
// Minimum execution time: 19_400_000 picoseconds.
Weight::from_parts(19_746_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -138,11 +141,11 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0 + u * (135 ±0)`
// Estimated: `990 + u * (2603 ±0)`
// Minimum execution time: 17_484_000 picoseconds.
Weight::from_parts(17_670_000, 0)
// Minimum execution time: 18_465_000 picoseconds.
Weight::from_parts(18_670_000, 0)
.saturating_add(Weight::from_parts(0, 990))
// Standard Error: 9_919
.saturating_add(Weight::from_parts(13_951_674, 0).saturating_mul(u.into()))
// Standard Error: 22_827
.saturating_add(Weight::from_parts(17_357_501, 0).saturating_mul(u.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into())))
.saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into()))
Expand Down
107 changes: 54 additions & 53 deletions polkadot/runtime/westend/src/weights/pallet_nomination_pools.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
//! Autogenerated weights for `pallet_nomination_pools`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-05-25, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-14, 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: `runner--ss9ysm1-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024
// Executed Command:
Expand All @@ -29,6 +29,9 @@
// --chain=westend-dev
// --steps=50
// --repeat=20
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --pallet=pallet_nomination_pools
// --extrinsic=*
// --execution=wasm
Expand Down Expand Up @@ -81,8 +84,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `3281`
// Estimated: `8877`
// Minimum execution time: 176_369_000 picoseconds.
Weight::from_parts(177_523_000, 0)
// Minimum execution time: 196_298_000 picoseconds.
Weight::from_parts(202_857_000, 0)
.saturating_add(Weight::from_parts(0, 8877))
.saturating_add(T::DbWeight::get().reads(19))
.saturating_add(T::DbWeight::get().writes(12))
Expand Down Expand Up @@ -113,8 +116,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `3291`
// Estimated: `8877`
// Minimum execution time: 172_285_000 picoseconds.
Weight::from_parts(174_193_000, 0)
// Minimum execution time: 191_639_000 picoseconds.
Weight::from_parts(197_000_000, 0)
.saturating_add(Weight::from_parts(0, 8877))
.saturating_add(T::DbWeight::get().reads(16))
.saturating_add(T::DbWeight::get().writes(12))
Expand Down Expand Up @@ -147,8 +150,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `3186`
// Estimated: `8799`
// Minimum execution time: 199_828_000 picoseconds.
Weight::from_parts(200_942_000, 0)
// Minimum execution time: 224_836_000 picoseconds.
Weight::from_parts(230_990_000, 0)
.saturating_add(Weight::from_parts(0, 8799))
.saturating_add(T::DbWeight::get().reads(16))
.saturating_add(T::DbWeight::get().writes(12))
Expand All @@ -169,8 +172,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `1137`
// Estimated: `4182`
// Minimum execution time: 74_431_000 picoseconds.
Weight::from_parts(75_741_000, 0)
// Minimum execution time: 79_609_000 picoseconds.
Weight::from_parts(81_434_000, 0)
.saturating_add(Weight::from_parts(0, 4182))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(4))
Expand Down Expand Up @@ -211,8 +214,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `3560`
// Estimated: `8877`
// Minimum execution time: 158_030_000 picoseconds.
Weight::from_parts(158_878_000, 0)
// Minimum execution time: 175_473_000 picoseconds.
Weight::from_parts(179_976_000, 0)
.saturating_add(Weight::from_parts(0, 8877))
.saturating_add(T::DbWeight::get().reads(20))
.saturating_add(T::DbWeight::get().writes(13))
Expand All @@ -234,11 +237,11 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `1614`
// Estimated: `4764`
// Minimum execution time: 59_728_000 picoseconds.
Weight::from_parts(60_957_789, 0)
// Minimum execution time: 63_011_000 picoseconds.
Weight::from_parts(65_966_680, 0)
.saturating_add(Weight::from_parts(0, 4764))
// Standard Error: 741
.saturating_add(Weight::from_parts(6_046, 0).saturating_mul(s.into()))
// Standard Error: 2_422
.saturating_add(Weight::from_parts(58_078, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(2))
}
Expand Down Expand Up @@ -269,11 +272,11 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `2042`
// Estimated: `4764`
// Minimum execution time: 121_936_000 picoseconds.
Weight::from_parts(123_798_311, 0)
// Minimum execution time: 134_765_000 picoseconds.
Weight::from_parts(140_539_571, 0)
.saturating_add(Weight::from_parts(0, 4764))
// Standard Error: 1_169
.saturating_add(Weight::from_parts(21_320, 0).saturating_mul(s.into()))
// Standard Error: 4_169
.saturating_add(Weight::from_parts(61_448, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(8))
}
Expand Down Expand Up @@ -322,15 +325,13 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
/// Storage: NominationPools ClaimPermissions (r:0 w:1)
/// Proof: NominationPools ClaimPermissions (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
fn withdraw_unbonded_kill(_s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `2398`
// Estimated: `6196`
// Minimum execution time: 203_824_000 picoseconds.
Weight::from_parts(206_388_841, 0)
// Minimum execution time: 226_632_000 picoseconds.
Weight::from_parts(234_263_474, 0)
.saturating_add(Weight::from_parts(0, 6196))
// Standard Error: 2_817
.saturating_add(Weight::from_parts(13_627, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(21))
.saturating_add(T::DbWeight::get().writes(18))
}
Expand Down Expand Up @@ -382,8 +383,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `1222`
// Estimated: `6196`
// Minimum execution time: 177_985_000 picoseconds.
Weight::from_parts(179_504_000, 0)
// Minimum execution time: 197_132_000 picoseconds.
Weight::from_parts(202_099_000, 0)
.saturating_add(Weight::from_parts(0, 6196))
.saturating_add(T::DbWeight::get().reads(22))
.saturating_add(T::DbWeight::get().writes(15))
Expand Down Expand Up @@ -417,11 +418,11 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `1779`
// Estimated: `4556 + n * (2520 ±0)`
// Minimum execution time: 64_575_000 picoseconds.
Weight::from_parts(64_712_179, 0)
// Minimum execution time: 68_142_000 picoseconds.
Weight::from_parts(68_977_842, 0)
.saturating_add(Weight::from_parts(0, 4556))
// Standard Error: 4_612
.saturating_add(Weight::from_parts(1_300_327, 0).saturating_mul(n.into()))
// Standard Error: 10_560
.saturating_add(Weight::from_parts(1_606_142, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(12))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(5))
Expand All @@ -437,8 +438,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `1367`
// Estimated: `4556`
// Minimum execution time: 35_436_000 picoseconds.
Weight::from_parts(35_843_000, 0)
// Minimum execution time: 36_343_000 picoseconds.
Weight::from_parts(37_669_000, 0)
.saturating_add(Weight::from_parts(0, 4556))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -454,11 +455,11 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `497`
// Estimated: `3735`
// Minimum execution time: 14_017_000 picoseconds.
Weight::from_parts(14_595_057, 0)
// Minimum execution time: 14_157_000 picoseconds.
Weight::from_parts(15_201_514, 0)
.saturating_add(Weight::from_parts(0, 3735))
// Standard Error: 77
.saturating_add(Weight::from_parts(1_065, 0).saturating_mul(n.into()))
// Standard Error: 194
.saturating_add(Weight::from_parts(718, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
Expand All @@ -478,8 +479,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_932_000 picoseconds.
Weight::from_parts(6_145_000, 0)
// Minimum execution time: 6_082_000 picoseconds.
Weight::from_parts(6_275_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(6))
}
Expand All @@ -489,8 +490,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `497`
// Estimated: `3685`
// Minimum execution time: 18_860_000 picoseconds.
Weight::from_parts(19_156_000, 0)
// Minimum execution time: 19_952_000 picoseconds.
Weight::from_parts(20_880_000, 0)
.saturating_add(Weight::from_parts(0, 3685))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -517,8 +518,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `1942`
// Estimated: `4556`
// Minimum execution time: 62_812_000 picoseconds.
Weight::from_parts(63_227_000, 0)
// Minimum execution time: 66_233_000 picoseconds.
Weight::from_parts(68_181_000, 0)
.saturating_add(Weight::from_parts(0, 4556))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(5))
Expand All @@ -535,8 +536,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `736`
// Estimated: `3685`
// Minimum execution time: 31_983_000 picoseconds.
Weight::from_parts(32_552_000, 0)
// Minimum execution time: 33_533_000 picoseconds.
Weight::from_parts(34_915_000, 0)
.saturating_add(Weight::from_parts(0, 3685))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
Expand All @@ -547,8 +548,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `537`
// Estimated: `3685`
// Minimum execution time: 18_135_000 picoseconds.
Weight::from_parts(18_821_000, 0)
// Minimum execution time: 18_920_000 picoseconds.
Weight::from_parts(19_410_000, 0)
.saturating_add(Weight::from_parts(0, 3685))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -559,8 +560,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `497`
// Estimated: `3685`
// Minimum execution time: 18_969_000 picoseconds.
Weight::from_parts(19_175_000, 0)
// Minimum execution time: 19_388_000 picoseconds.
Weight::from_parts(20_346_000, 0)
.saturating_add(Weight::from_parts(0, 3685))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -573,8 +574,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `508`
// Estimated: `4182`
// Minimum execution time: 13_943_000 picoseconds.
Weight::from_parts(14_374_000, 0)
// Minimum execution time: 14_137_000 picoseconds.
Weight::from_parts(14_846_000, 0)
.saturating_add(Weight::from_parts(0, 4182))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -591,8 +592,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `934`
// Estimated: `3685`
// Minimum execution time: 61_658_000 picoseconds.
Weight::from_parts(62_636_000, 0)
// Minimum execution time: 66_667_000 picoseconds.
Weight::from_parts(68_573_000, 0)
.saturating_add(Weight::from_parts(0, 3685))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
Expand Down
Loading

0 comments on commit fab24f3

Please sign in to comment.