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

Commit

Permalink
[backport] weights from runtimes to client (#2671)
Browse files Browse the repository at this point in the history
* [benchmarks] pr with weights (#2667)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

* [benchmarks] pr with weights (#2669)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

* [benchmarks] pr with weights (#2668)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

---------

Co-authored-by: Paritytech CI <52199148+paritytech-ci@users.noreply.github.com>
Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
  • Loading branch information
3 people authored Jun 1, 2023
1 parent c62f2d4 commit 536ac18
Show file tree
Hide file tree
Showing 89 changed files with 3,159 additions and 2,658 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//! Autogenerated weights for `cumulus_pallet_xcmp_queue`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-05-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
Expand Down Expand Up @@ -54,8 +54,8 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightIn
// Proof Size summary in bytes:
// Measured: `76`
// Estimated: `1561`
// Minimum execution time: 5_800_000 picoseconds.
Weight::from_parts(5_998_000, 0)
// Minimum execution time: 5_542_000 picoseconds.
Weight::from_parts(5_836_000, 0)
.saturating_add(Weight::from_parts(0, 1561))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -66,8 +66,8 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightIn
// Proof Size summary in bytes:
// Measured: `76`
// Estimated: `1561`
// Minimum execution time: 5_975_000 picoseconds.
Weight::from_parts(6_136_000, 0)
// Minimum execution time: 5_574_000 picoseconds.
Weight::from_parts(5_707_000, 0)
.saturating_add(Weight::from_parts(0, 1561))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand Down
38 changes: 19 additions & 19 deletions parachains/runtimes/assets/statemine/src/weights/pallet_balances.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_balances`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-05-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
Expand Down Expand Up @@ -54,8 +54,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
// Minimum execution time: 54_579_000 picoseconds.
Weight::from_parts(55_271_000, 0)
// Minimum execution time: 53_217_000 picoseconds.
Weight::from_parts(53_720_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 @@ -66,8 +66,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
// Minimum execution time: 41_342_000 picoseconds.
Weight::from_parts(41_759_000, 0)
// Minimum execution time: 40_340_000 picoseconds.
Weight::from_parts(40_909_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 @@ -78,8 +78,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `103`
// Estimated: `3593`
// Minimum execution time: 16_403_000 picoseconds.
Weight::from_parts(16_651_000, 0)
// Minimum execution time: 15_617_000 picoseconds.
Weight::from_parts(15_850_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 @@ -90,8 +90,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `103`
// Estimated: `3593`
// Minimum execution time: 23_225_000 picoseconds.
Weight::from_parts(23_577_000, 0)
// Minimum execution time: 22_529_000 picoseconds.
Weight::from_parts(22_838_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 @@ -102,8 +102,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `103`
// Estimated: `6196`
// Minimum execution time: 56_084_000 picoseconds.
Weight::from_parts(56_374_000, 0)
// Minimum execution time: 54_674_000 picoseconds.
Weight::from_parts(55_393_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 @@ -114,8 +114,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
// Minimum execution time: 50_374_000 picoseconds.
Weight::from_parts(52_040_000, 0)
// Minimum execution time: 49_448_000 picoseconds.
Weight::from_parts(49_999_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 @@ -126,8 +126,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `103`
// Estimated: `3593`
// Minimum execution time: 18_975_000 picoseconds.
Weight::from_parts(19_317_000, 0)
// Minimum execution time: 18_098_000 picoseconds.
Weight::from_parts(18_419_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 @@ -139,11 +139,11 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0 + u * (136 ±0)`
// Estimated: `990 + u * (2603 ±0)`
// Minimum execution time: 18_579_000 picoseconds.
Weight::from_parts(18_668_000, 0)
// Minimum execution time: 17_698_000 picoseconds.
Weight::from_parts(17_975_000, 0)
.saturating_add(Weight::from_parts(0, 990))
// Standard Error: 9_111
.saturating_add(Weight::from_parts(14_381_916, 0).saturating_mul(u.into()))
// Standard Error: 10_679
.saturating_add(Weight::from_parts(14_038_869, 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
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_collator_selection`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-05-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
Expand Down Expand Up @@ -57,11 +57,11 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
// Proof Size summary in bytes:
// Measured: `178 + b * (78 ±0)`
// Estimated: `1168 + b * (2554 ±0)`
// Minimum execution time: 15_571_000 picoseconds.
Weight::from_parts(15_554_982, 0)
// Minimum execution time: 15_198_000 picoseconds.
Weight::from_parts(15_308_042, 0)
.saturating_add(Weight::from_parts(0, 1168))
// Standard Error: 2_818
.saturating_add(Weight::from_parts(2_610_335, 0).saturating_mul(b.into()))
// Standard Error: 2_782
.saturating_add(Weight::from_parts(2_609_742, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(Weight::from_parts(0, 2554).saturating_mul(b.into()))
Expand All @@ -72,8 +72,8 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_816_000 picoseconds.
Weight::from_parts(8_030_000, 0)
// Minimum execution time: 7_476_000 picoseconds.
Weight::from_parts(7_689_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand All @@ -83,8 +83,8 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_077_000 picoseconds.
Weight::from_parts(8_293_000, 0)
// Minimum execution time: 7_652_000 picoseconds.
Weight::from_parts(7_912_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand All @@ -105,11 +105,11 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
// Proof Size summary in bytes:
// Measured: `1108 + c * (48 ±0)`
// Estimated: `49487 + c * (49 ±0)`
// Minimum execution time: 43_072_000 picoseconds.
Weight::from_parts(35_712_990, 0)
// Minimum execution time: 42_454_000 picoseconds.
Weight::from_parts(34_943_337, 0)
.saturating_add(Weight::from_parts(0, 49487))
// Standard Error: 1_261
.saturating_add(Weight::from_parts(112_854, 0).saturating_mul(c.into()))
// Standard Error: 1_259
.saturating_add(Weight::from_parts(105_204, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(Weight::from_parts(0, 49).saturating_mul(c.into()))
Expand All @@ -123,11 +123,11 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
// Proof Size summary in bytes:
// Measured: `452 + c * (48 ±0)`
// Estimated: `49487`
// Minimum execution time: 35_372_000 picoseconds.
Weight::from_parts(26_886_289, 0)
// Minimum execution time: 34_323_000 picoseconds.
Weight::from_parts(23_416_986, 0)
.saturating_add(Weight::from_parts(0, 49487))
// Standard Error: 1_388
.saturating_add(Weight::from_parts(106_632, 0).saturating_mul(c.into()))
// Standard Error: 1_277
.saturating_add(Weight::from_parts(105_960, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
Expand All @@ -141,8 +141,8 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
// Proof Size summary in bytes:
// Measured: `103`
// Estimated: `6196`
// Minimum execution time: 44_209_000 picoseconds.
Weight::from_parts(44_590_000, 0)
// Minimum execution time: 44_234_000 picoseconds.
Weight::from_parts(44_843_000, 0)
.saturating_add(Weight::from_parts(0, 6196))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(4))
Expand All @@ -163,11 +163,11 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
// Proof Size summary in bytes:
// Measured: `22721 + c * (97 ±0) + r * (116 ±0)`
// Estimated: `49487 + c * (2519 ±0) + r * (2602 ±0)`
// Minimum execution time: 17_397_000 picoseconds.
Weight::from_parts(17_600_000, 0)
// Minimum execution time: 17_678_000 picoseconds.
Weight::from_parts(17_900_000, 0)
.saturating_add(Weight::from_parts(0, 49487))
// Standard Error: 897_810
.saturating_add(Weight::from_parts(31_873_549, 0).saturating_mul(c.into()))
// Standard Error: 854_072
.saturating_add(Weight::from_parts(30_351_497, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes(1))
Expand Down
68 changes: 34 additions & 34 deletions parachains/runtimes/assets/statemine/src/weights/pallet_multisig.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_multisig`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-05-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
Expand Down Expand Up @@ -53,11 +53,11 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 12_303_000 picoseconds.
Weight::from_parts(12_695_362, 0)
// Minimum execution time: 11_491_000 picoseconds.
Weight::from_parts(11_915_816, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 1
.saturating_add(Weight::from_parts(557, 0).saturating_mul(z.into()))
// Standard Error: 3
.saturating_add(Weight::from_parts(540, 0).saturating_mul(z.into()))
}
/// Storage: Multisig Multisigs (r:1 w:1)
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
Expand All @@ -67,13 +67,13 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `262 + s * (2 ±0)`
// Estimated: `6811`
// Minimum execution time: 42_467_000 picoseconds.
Weight::from_parts(36_773_932, 0)
// Minimum execution time: 41_691_000 picoseconds.
Weight::from_parts(36_116_749, 0)
.saturating_add(Weight::from_parts(0, 6811))
// Standard Error: 459
.saturating_add(Weight::from_parts(63_612, 0).saturating_mul(s.into()))
// Standard Error: 4
.saturating_add(Weight::from_parts(1_269, 0).saturating_mul(z.into()))
// Standard Error: 320
.saturating_add(Weight::from_parts(62_101, 0).saturating_mul(s.into()))
// Standard Error: 3
.saturating_add(Weight::from_parts(1_215, 0).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand All @@ -85,13 +85,13 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `282`
// Estimated: `6811`
// Minimum execution time: 28_843_000 picoseconds.
Weight::from_parts(23_142_157, 0)
// Minimum execution time: 27_674_000 picoseconds.
Weight::from_parts(22_338_135, 0)
.saturating_add(Weight::from_parts(0, 6811))
// Standard Error: 229
.saturating_add(Weight::from_parts(63_362, 0).saturating_mul(s.into()))
// Standard Error: 305
.saturating_add(Weight::from_parts(58_947, 0).saturating_mul(s.into()))
// Standard Error: 2
.saturating_add(Weight::from_parts(1_241, 0).saturating_mul(z.into()))
.saturating_add(Weight::from_parts(1_211, 0).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand All @@ -105,13 +105,13 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `385 + s * (33 ±0)`
// Estimated: `6811`
// Minimum execution time: 48_265_000 picoseconds.
Weight::from_parts(40_503_415, 0)
// Minimum execution time: 46_841_000 picoseconds.
Weight::from_parts(39_485_679, 0)
.saturating_add(Weight::from_parts(0, 6811))
// Standard Error: 528
.saturating_add(Weight::from_parts(85_941, 0).saturating_mul(s.into()))
// Standard Error: 5
.saturating_add(Weight::from_parts(1_281, 0).saturating_mul(z.into()))
// Standard Error: 423
.saturating_add(Weight::from_parts(81_324, 0).saturating_mul(s.into()))
// Standard Error: 4
.saturating_add(Weight::from_parts(1_248, 0).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
Expand All @@ -122,11 +122,11 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `263 + s * (2 ±0)`
// Estimated: `6811`
// Minimum execution time: 32_680_000 picoseconds.
Weight::from_parts(34_368_418, 0)
// Minimum execution time: 31_821_000 picoseconds.
Weight::from_parts(33_729_506, 0)
.saturating_add(Weight::from_parts(0, 6811))
// Standard Error: 558
.saturating_add(Weight::from_parts(72_172, 0).saturating_mul(s.into()))
// Standard Error: 723
.saturating_add(Weight::from_parts(74_421, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand All @@ -137,11 +137,11 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `282`
// Estimated: `6811`
// Minimum execution time: 19_571_000 picoseconds.
Weight::from_parts(20_887_762, 0)
// Minimum execution time: 19_216_000 picoseconds.
Weight::from_parts(20_226_622, 0)
.saturating_add(Weight::from_parts(0, 6811))
// Standard Error: 858
.saturating_add(Weight::from_parts(64_869, 0).saturating_mul(s.into()))
// Standard Error: 474
.saturating_add(Weight::from_parts(64_787, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand All @@ -152,11 +152,11 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `454 + s * (1 ±0)`
// Estimated: `6811`
// Minimum execution time: 32_681_000 picoseconds.
Weight::from_parts(34_919_059, 0)
// Minimum execution time: 33_035_000 picoseconds.
Weight::from_parts(34_840_029, 0)
.saturating_add(Weight::from_parts(0, 6811))
// Standard Error: 613
.saturating_add(Weight::from_parts(72_149, 0).saturating_mul(s.into()))
// Standard Error: 618
.saturating_add(Weight::from_parts(72_456, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand Down
Loading

0 comments on commit 536ac18

Please sign in to comment.