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

[ci] Add weights job #13316

Closed
wants to merge 3 commits into from
Closed
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
3 changes: 3 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
# - ./scripts/ci/gitlab/my_amazing_script.sh

stages:
- weights
- check
- test
- build
Expand Down Expand Up @@ -284,6 +285,8 @@ check-crates-publishing-pipeline:
- ONLY_CHECK_PIPELINE=true ./releng-scripts/publish-crates

include:
# weights jobs
- scripts/ci/gitlab/pipeline/weights.yml
# check jobs
- scripts/ci/gitlab/pipeline/check.yml
# tests jobs
Expand Down
348 changes: 174 additions & 174 deletions frame/alliance/src/weights.rs

Large diffs are not rendered by default.

256 changes: 126 additions & 130 deletions frame/assets/src/weights.rs

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions frame/bags-list/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_bags_list
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-24, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-02-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-b3zmxxc-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024

// Executed Command:
Expand Down Expand Up @@ -68,8 +68,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1916`
// Estimated: `19186`
// Minimum execution time: 54_348 nanoseconds.
Weight::from_parts(55_024_000, 19186)
// Minimum execution time: 59_856 nanoseconds.
Weight::from_parts(61_985_000, 19186)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
Expand All @@ -85,8 +85,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1810`
// Estimated: `19114`
// Minimum execution time: 53_306 nanoseconds.
Weight::from_parts(54_263_000, 19114)
// Minimum execution time: 59_099 nanoseconds.
Weight::from_parts(61_115_000, 19114)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
Expand All @@ -104,8 +104,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `2154`
// Estimated: `25798`
// Minimum execution time: 59_513 nanoseconds.
Weight::from_parts(60_717_000, 25798)
// Minimum execution time: 65_892 nanoseconds.
Weight::from_parts(68_875_000, 25798)
.saturating_add(T::DbWeight::get().reads(10_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
Expand All @@ -125,8 +125,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1916`
// Estimated: `19186`
// Minimum execution time: 54_348 nanoseconds.
Weight::from_parts(55_024_000, 19186)
// Minimum execution time: 59_856 nanoseconds.
Weight::from_parts(61_985_000, 19186)
.saturating_add(RocksDbWeight::get().reads(7_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
Expand All @@ -142,8 +142,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1810`
// Estimated: `19114`
// Minimum execution time: 53_306 nanoseconds.
Weight::from_parts(54_263_000, 19114)
// Minimum execution time: 59_099 nanoseconds.
Weight::from_parts(61_115_000, 19114)
.saturating_add(RocksDbWeight::get().reads(7_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
Expand All @@ -161,8 +161,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `2154`
// Estimated: `25798`
// Minimum execution time: 59_513 nanoseconds.
Weight::from_parts(60_717_000, 25798)
// Minimum execution time: 65_892 nanoseconds.
Weight::from_parts(68_875_000, 25798)
.saturating_add(RocksDbWeight::get().reads(10_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
Expand Down
60 changes: 30 additions & 30 deletions frame/balances/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_balances
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-24, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-02-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-b3zmxxc-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024

// Executed Command:
Expand Down Expand Up @@ -66,8 +66,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1723`
// Estimated: `2603`
// Minimum execution time: 47_557 nanoseconds.
Weight::from_parts(48_314_000, 2603)
// Minimum execution time: 51_917 nanoseconds.
Weight::from_parts(53_323_000, 2603)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -77,8 +77,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1607`
// Estimated: `2603`
// Minimum execution time: 36_372 nanoseconds.
Weight::from_parts(37_432_000, 2603)
// Minimum execution time: 39_657 nanoseconds.
Weight::from_parts(40_609_000, 2603)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -88,8 +88,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1757`
// Estimated: `2603`
// Minimum execution time: 26_671 nanoseconds.
Weight::from_parts(28_287_000, 2603)
// Minimum execution time: 29_406 nanoseconds.
Weight::from_parts(30_396_000, 2603)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -99,8 +99,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1757`
// Estimated: `2603`
// Minimum execution time: 30_122 nanoseconds.
Weight::from_parts(30_615_000, 2603)
// Minimum execution time: 32_994 nanoseconds.
Weight::from_parts(34_114_000, 2603)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -110,8 +110,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1719`
// Estimated: `5206`
// Minimum execution time: 47_891 nanoseconds.
Weight::from_parts(48_496_000, 5206)
// Minimum execution time: 50_297 nanoseconds.
Weight::from_parts(52_451_000, 5206)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
Expand All @@ -121,8 +121,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1607`
// Estimated: `2603`
// Minimum execution time: 42_470 nanoseconds.
Weight::from_parts(42_950_000, 2603)
// Minimum execution time: 45_021 nanoseconds.
Weight::from_parts(46_217_000, 2603)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -132,8 +132,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1641`
// Estimated: `2603`
// Minimum execution time: 23_230 nanoseconds.
Weight::from_parts(23_951_000, 2603)
// Minimum execution time: 25_672 nanoseconds.
Weight::from_parts(27_537_000, 2603)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -147,8 +147,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1723`
// Estimated: `2603`
// Minimum execution time: 47_557 nanoseconds.
Weight::from_parts(48_314_000, 2603)
// Minimum execution time: 51_917 nanoseconds.
Weight::from_parts(53_323_000, 2603)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
Expand All @@ -158,8 +158,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1607`
// Estimated: `2603`
// Minimum execution time: 36_372 nanoseconds.
Weight::from_parts(37_432_000, 2603)
// Minimum execution time: 39_657 nanoseconds.
Weight::from_parts(40_609_000, 2603)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
Expand All @@ -169,8 +169,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1757`
// Estimated: `2603`
// Minimum execution time: 26_671 nanoseconds.
Weight::from_parts(28_287_000, 2603)
// Minimum execution time: 29_406 nanoseconds.
Weight::from_parts(30_396_000, 2603)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
Expand All @@ -180,8 +180,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1757`
// Estimated: `2603`
// Minimum execution time: 30_122 nanoseconds.
Weight::from_parts(30_615_000, 2603)
// Minimum execution time: 32_994 nanoseconds.
Weight::from_parts(34_114_000, 2603)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
Expand All @@ -191,8 +191,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1719`
// Estimated: `5206`
// Minimum execution time: 47_891 nanoseconds.
Weight::from_parts(48_496_000, 5206)
// Minimum execution time: 50_297 nanoseconds.
Weight::from_parts(52_451_000, 5206)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
Expand All @@ -202,8 +202,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1607`
// Estimated: `2603`
// Minimum execution time: 42_470 nanoseconds.
Weight::from_parts(42_950_000, 2603)
// Minimum execution time: 45_021 nanoseconds.
Weight::from_parts(46_217_000, 2603)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
Expand All @@ -213,8 +213,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1641`
// Estimated: `2603`
// Minimum execution time: 23_230 nanoseconds.
Weight::from_parts(23_951_000, 2603)
// Minimum execution time: 25_672 nanoseconds.
Weight::from_parts(27_537_000, 2603)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
Expand Down
60 changes: 30 additions & 30 deletions frame/benchmarking/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
//! Autogenerated weights for frame_benchmarking
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-24, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-02-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-b3zmxxc-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024

// Executed Command:
Expand Down Expand Up @@ -64,49 +64,49 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 138 nanoseconds.
Weight::from_ref_time(199_805)
// Minimum execution time: 123 nanoseconds.
Weight::from_ref_time(168_015)
}
/// 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: 142 nanoseconds.
Weight::from_ref_time(201_435)
// Minimum execution time: 118 nanoseconds.
Weight::from_ref_time(171_036)
}
/// 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: 138 nanoseconds.
Weight::from_ref_time(207_037)
// Minimum execution time: 125 nanoseconds.
Weight::from_ref_time(171_072)
}
/// 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: 151 nanoseconds.
Weight::from_ref_time(205_150)
// Minimum execution time: 115 nanoseconds.
Weight::from_ref_time(167_627)
}
fn hashing() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 21_950_884 nanoseconds.
Weight::from_ref_time(21_994_001_000)
// Minimum execution time: 26_341_052 nanoseconds.
Weight::from_ref_time(26_464_738_000)
}
/// 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: 168 nanoseconds.
Weight::from_ref_time(1_680_898)
// Standard Error: 10_291
.saturating_add(Weight::from_ref_time(46_867_301).saturating_mul(i.into()))
// Minimum execution time: 156 nanoseconds.
Weight::from_ref_time(2_736_052)
// Standard Error: 12_712
.saturating_add(Weight::from_ref_time(55_959_503).saturating_mul(i.into()))
}
}

Expand All @@ -117,48 +117,48 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 138 nanoseconds.
Weight::from_ref_time(199_805)
// Minimum execution time: 123 nanoseconds.
Weight::from_ref_time(168_015)
}
/// 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: 142 nanoseconds.
Weight::from_ref_time(201_435)
// Minimum execution time: 118 nanoseconds.
Weight::from_ref_time(171_036)
}
/// 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: 138 nanoseconds.
Weight::from_ref_time(207_037)
// Minimum execution time: 125 nanoseconds.
Weight::from_ref_time(171_072)
}
/// 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: 151 nanoseconds.
Weight::from_ref_time(205_150)
// Minimum execution time: 115 nanoseconds.
Weight::from_ref_time(167_627)
}
fn hashing() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 21_950_884 nanoseconds.
Weight::from_ref_time(21_994_001_000)
// Minimum execution time: 26_341_052 nanoseconds.
Weight::from_ref_time(26_464_738_000)
}
/// 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: 168 nanoseconds.
Weight::from_ref_time(1_680_898)
// Standard Error: 10_291
.saturating_add(Weight::from_ref_time(46_867_301).saturating_mul(i.into()))
// Minimum execution time: 156 nanoseconds.
Weight::from_ref_time(2_736_052)
// Standard Error: 12_712
.saturating_add(Weight::from_ref_time(55_959_503).saturating_mul(i.into()))
}
}
Loading