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

Commit

Permalink
updated weights
Browse files Browse the repository at this point in the history
  • Loading branch information
alvicsam committed Jan 20, 2023
1 parent 1c4daff commit 37831e8
Show file tree
Hide file tree
Showing 165 changed files with 6,692 additions and 6,818 deletions.
20 changes: 10 additions & 10 deletions runtime/kusama/constants/src/weights/block_weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
// 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: 2022-11-16 (Y/M/D)
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-20 (Y/M/D)
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//!
//! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development`
//! WARMUPS: `10`, REPEAT: `100`
Expand All @@ -42,17 +42,17 @@ parameter_types! {
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats nanoseconds:
/// Min, Max: 6_665_440, 6_986_371
/// Average: 6_731_894
/// Median: 6_723_700
/// Std-Dev: 49280.83
/// Min, Max: 11_114_150, 11_360_452
/// Average: 11_211_106
/// Median: 11_176_031
/// Std-Dev: 77131.23
///
/// Percentiles nanoseconds:
/// 99th: 6_876_251
/// 95th: 6_811_463
/// 75th: 6_751_221
/// 99th: 11_353_658
/// 95th: 11_335_165
/// 75th: 11_297_669
pub const BlockExecutionWeight: Weight =
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(6_731_894));
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(11_211_106));
}

#[cfg(test)]
Expand Down
20 changes: 10 additions & 10 deletions runtime/kusama/constants/src/weights/extrinsic_weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
// 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: 2022-11-16 (Y/M/D)
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-20 (Y/M/D)
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//!
//! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development`
//! WARMUPS: `10`, REPEAT: `100`
Expand All @@ -42,17 +42,17 @@ parameter_types! {
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats nanoseconds:
/// Min, Max: 94_359, 96_436
/// Average: 94_889
/// Median: 94_839
/// Std-Dev: 369.49
/// Min, Max: 111_953, 113_668
/// Average: 112_431
/// Median: 112_358
/// Std-Dev: 287.34
///
/// Percentiles nanoseconds:
/// 99th: 96_279
/// 95th: 95_584
/// 75th: 95_005
/// 99th: 113_200
/// 95th: 112_921
/// 75th: 112_569
pub const ExtrinsicBaseWeight: Weight =
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(94_889));
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(112_431));
}

#[cfg(test)]
Expand Down
56 changes: 28 additions & 28 deletions runtime/kusama/src/weights/frame_benchmarking_baseline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
//! Autogenerated weights for `frame_benchmarking::baseline`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-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
// Executed Command:
Expand Down Expand Up @@ -46,54 +46,54 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for WeightInfo<T> {
/// The range of component `i` is `[0, 1000000]`.
fn addition(_i: u32, ) -> Weight {
// Minimum execution time: 102 nanoseconds.
Weight::from_ref_time(153_256 as u64)
// Minimum execution time: 112 nanoseconds.
Weight::from_ref_time(136_607)
}
/// The range of component `i` is `[0, 1000000]`.
fn subtraction(_i: u32, ) -> Weight {
// Minimum execution time: 104 nanoseconds.
Weight::from_ref_time(159_150 as u64)
// Minimum execution time: 112 nanoseconds.
Weight::from_ref_time(135_401)
}
/// The range of component `i` is `[0, 1000000]`.
fn multiplication(_i: u32, ) -> Weight {
// Minimum execution time: 106 nanoseconds.
Weight::from_ref_time(155_325 as u64)
// Minimum execution time: 109 nanoseconds.
Weight::from_ref_time(135_075)
}
/// The range of component `i` is `[0, 1000000]`.
fn division(_i: u32, ) -> Weight {
// Minimum execution time: 102 nanoseconds.
Weight::from_ref_time(148_483 as u64)
// Minimum execution time: 110 nanoseconds.
Weight::from_ref_time(136_159)
}
/// The range of component `i` is `[0, 100]`.
fn hashing(i: u32, ) -> Weight {
// Minimum execution time: 19_966_061 nanoseconds.
Weight::from_ref_time(20_167_025_347 as u64)
// Standard Error: 298_405
.saturating_add(Weight::from_ref_time(1_324_681 as u64).saturating_mul(i as u64))
// Minimum execution time: 24_407_162 nanoseconds.
Weight::from_ref_time(24_534_492_409)
// Standard Error: 184_084
.saturating_add(Weight::from_ref_time(1_269_067).saturating_mul(i.into()))
}
/// The range of component `i` is `[0, 100]`.
fn sr25519_verification(i: u32, ) -> Weight {
// Minimum execution time: 136 nanoseconds.
Weight::from_ref_time(174_000 as u64)
// Standard Error: 17_607
.saturating_add(Weight::from_ref_time(47_209_113 as u64).saturating_mul(i as u64))
// Minimum execution time: 145 nanoseconds.
Weight::from_ref_time(4_707_893)
// Standard Error: 10_591
.saturating_add(Weight::from_ref_time(55_893_362).saturating_mul(i.into()))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn storage_read(i: u32, ) -> Weight {
// Minimum execution time: 145 nanoseconds.
Weight::from_ref_time(154_000 as u64)
// Standard Error: 4_008
.saturating_add(Weight::from_ref_time(1_977_799 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(i as u64)))
// Minimum execution time: 118 nanoseconds.
Weight::from_ref_time(119_000)
// Standard Error: 4_768
.saturating_add(Weight::from_ref_time(2_412_430).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn storage_write(i: u32, ) -> Weight {
// Minimum execution time: 109 nanoseconds.
Weight::from_ref_time(128_000 as u64)
// Standard Error: 804
.saturating_add(Weight::from_ref_time(325_284 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
// Minimum execution time: 116 nanoseconds.
Weight::from_ref_time(136_000)
// Standard Error: 1_046
.saturating_add(Weight::from_ref_time(395_734).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
}
28 changes: 14 additions & 14 deletions runtime/kusama/src/weights/frame_election_provider_support.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
//! Autogenerated weights for `frame_election_provider_support`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-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
// Executed Command:
Expand Down Expand Up @@ -48,22 +48,22 @@ impl<T: frame_system::Config> frame_election_provider_support::WeightInfo for We
/// The range of component `t` is `[500, 1000]`.
/// The range of component `d` is `[5, 16]`.
fn phragmen(v: u32, _t: u32, d: u32, ) -> Weight {
// Minimum execution time: 5_474_633 nanoseconds.
Weight::from_ref_time(5_525_752_000 as u64)
// Standard Error: 135_558
.saturating_add(Weight::from_ref_time(5_545_241 as u64).saturating_mul(v as u64))
// Standard Error: 13_859_031
.saturating_add(Weight::from_ref_time(1_538_596_617 as u64).saturating_mul(d as u64))
// Minimum execution time: 5_662_034 nanoseconds.
Weight::from_ref_time(5_709_758_000)
// Standard Error: 140_057
.saturating_add(Weight::from_ref_time(5_702_899).saturating_mul(v.into()))
// Standard Error: 14_318_954
.saturating_add(Weight::from_ref_time(1_502_779_659).saturating_mul(d.into()))
}
/// The range of component `v` is `[1000, 2000]`.
/// The range of component `t` is `[500, 1000]`.
/// The range of component `d` is `[5, 16]`.
fn phragmms(v: u32, _t: u32, d: u32, ) -> Weight {
// Minimum execution time: 4_309_239 nanoseconds.
Weight::from_ref_time(4_353_424_000 as u64)
// Standard Error: 145_409
.saturating_add(Weight::from_ref_time(5_482_164 as u64).saturating_mul(v as u64))
// Standard Error: 14_866_111
.saturating_add(Weight::from_ref_time(1_765_233_611 as u64).saturating_mul(d as u64))
// Minimum execution time: 3_946_479 nanoseconds.
Weight::from_ref_time(4_003_293_000)
// Standard Error: 120_908
.saturating_add(Weight::from_ref_time(4_589_513).saturating_mul(v.into()))
// Standard Error: 12_361_296
.saturating_add(Weight::from_ref_time(1_426_233_536).saturating_mul(d.into()))
}
}
54 changes: 27 additions & 27 deletions runtime/kusama/src/weights/frame_system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
//! Autogenerated weights for `frame_system`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-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
// Executed Command:
Expand Down Expand Up @@ -46,51 +46,51 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
/// The range of component `b` is `[0, 3932160]`.
fn remark(b: u32, ) -> Weight {
// Minimum execution time: 3_661 nanoseconds.
Weight::from_ref_time(3_719_000 as u64)
// Minimum execution time: 3_418 nanoseconds.
Weight::from_ref_time(1_689_600)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(411 as u64).saturating_mul(b as u64))
.saturating_add(Weight::from_ref_time(541).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
// Minimum execution time: 12_500 nanoseconds.
Weight::from_ref_time(12_792_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_770 as u64).saturating_mul(b as u64))
// Minimum execution time: 13_188 nanoseconds.
Weight::from_ref_time(79_733_616)
// Standard Error: 6
.saturating_add(Weight::from_ref_time(2_040).saturating_mul(b.into()))
}
// Storage: System Digest (r:1 w:1)
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
fn set_heap_pages() -> Weight {
// Minimum execution time: 8_514 nanoseconds.
Weight::from_ref_time(8_736_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 8_582 nanoseconds.
Weight::from_ref_time(8_905_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn set_storage(i: u32, ) -> Weight {
// Minimum execution time: 3_377 nanoseconds.
Weight::from_ref_time(3_436_000 as u64)
// Standard Error: 1_938
.saturating_add(Weight::from_ref_time(603_404 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
// Minimum execution time: 3_457 nanoseconds.
Weight::from_ref_time(3_529_000)
// Standard Error: 2_152
.saturating_add(Weight::from_ref_time(681_648).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn kill_storage(i: u32, ) -> Weight {
// Minimum execution time: 3_660 nanoseconds.
Weight::from_ref_time(3_741_000 as u64)
// Standard Error: 927
.saturating_add(Weight::from_ref_time(434_412 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
// Minimum execution time: 3_457 nanoseconds.
Weight::from_ref_time(3_579_000)
// Standard Error: 903
.saturating_add(Weight::from_ref_time(509_029).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `p` is `[0, 1000]`.
fn kill_prefix(p: u32, ) -> Weight {
// Minimum execution time: 4_929 nanoseconds.
Weight::from_ref_time(5_084_000 as u64)
// Standard Error: 1_255
.saturating_add(Weight::from_ref_time(978_082 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
Weight::from_ref_time(5_138_000)
// Standard Error: 1_379
.saturating_add(Weight::from_ref_time(1_168_564).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
}
28 changes: 14 additions & 14 deletions runtime/kusama/src/weights/pallet_bags_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_bags_list`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-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
// Executed Command:
Expand Down Expand Up @@ -49,30 +49,30 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
// Storage: VoterList ListNodes (r:4 w:4)
// Storage: VoterList ListBags (r:1 w:1)
fn rebag_non_terminal() -> Weight {
// Minimum execution time: 62_727 nanoseconds.
Weight::from_ref_time(64_215_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
// Minimum execution time: 63_644 nanoseconds.
Weight::from_ref_time(67_203_000)
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Staking Bonded (r:1 w:0)
// Storage: Staking Ledger (r:1 w:0)
// Storage: VoterList ListNodes (r:3 w:3)
// Storage: VoterList ListBags (r:2 w:2)
fn rebag_terminal() -> Weight {
// Minimum execution time: 61_907 nanoseconds.
Weight::from_ref_time(64_148_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
// Minimum execution time: 62_898 nanoseconds.
Weight::from_ref_time(66_321_000)
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: VoterList ListNodes (r:4 w:4)
// Storage: Staking Bonded (r:2 w:0)
// Storage: Staking Ledger (r:2 w:0)
// Storage: VoterList CounterForListNodes (r:1 w:1)
// Storage: VoterList ListBags (r:1 w:1)
fn put_in_front_of() -> Weight {
// Minimum execution time: 61_775 nanoseconds.
Weight::from_ref_time(62_422_000 as u64)
.saturating_add(T::DbWeight::get().reads(10 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
// Minimum execution time: 63_573 nanoseconds.
Weight::from_ref_time(65_517_000)
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(6))
}
}
Loading

0 comments on commit 37831e8

Please sign in to comment.