Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
new weights
  • Loading branch information
alvicsam committed Jan 24, 2023
commit 4be0bc45176831025703667c868d2c00c534f01f
18 changes: 9 additions & 9 deletions runtime/kusama/constants/src/weights/block_weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// 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: 2023-01-21 (Y/M/D)
//! DATE: 2023-01-24 (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`
Expand Down Expand Up @@ -42,17 +42,17 @@ parameter_types! {
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats nanoseconds:
/// Min, Max: 11_076_799, 11_903_350
/// Average: 11_208_741
/// Median: 11_169_717
/// Std-Dev: 123480.46
/// Min, Max: 11_101_648, 11_377_824
/// Average: 11_158_208
/// Median: 11_134_153
/// Std-Dev: 62437.99
///
/// Percentiles nanoseconds:
/// 99th: 11_762_846
/// 95th: 11_394_199
/// 75th: 11_250_528
/// 99th: 11_368_494
/// 95th: 11_302_388
/// 75th: 11_151_929
pub const BlockExecutionWeight: Weight =
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(11_208_741));
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(11_158_208));
}

#[cfg(test)]
Expand Down
18 changes: 9 additions & 9 deletions runtime/kusama/constants/src/weights/extrinsic_weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// 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: 2023-01-21 (Y/M/D)
//! DATE: 2023-01-24 (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`
Expand Down Expand Up @@ -42,17 +42,17 @@ parameter_types! {
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats nanoseconds:
/// Min, Max: 109_581, 114_518
/// Average: 110_380
/// Median: 110_197
/// Std-Dev: 705.53
/// Min, Max: 109_996, 111_665
/// Average: 110_575
/// Median: 110_568
/// Std-Dev: 245.27
///
/// Percentiles nanoseconds:
/// 99th: 112_755
/// 95th: 111_370
/// 75th: 110_617
/// 99th: 111_123
/// 95th: 110_957
/// 75th: 110_703
pub const ExtrinsicBaseWeight: Weight =
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(110_380));
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(110_575));
}

#[cfg(test)]
Expand Down
50 changes: 24 additions & 26 deletions runtime/kusama/src/weights/frame_benchmarking_baseline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! Autogenerated weights for `frame_benchmarking::baseline`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-23, 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

Expand Down Expand Up @@ -46,54 +46,52 @@ 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: 110 nanoseconds.
Weight::from_ref_time(142_773)
// Minimum execution time: 116 nanoseconds.
Weight::from_ref_time(148_551)
}
/// The range of component `i` is `[0, 1000000]`.
fn subtraction(_i: u32, ) -> Weight {
// Minimum execution time: 113 nanoseconds.
Weight::from_ref_time(137_727)
// Minimum execution time: 116 nanoseconds.
Weight::from_ref_time(146_564)
}
/// The range of component `i` is `[0, 1000000]`.
fn multiplication(_i: u32, ) -> Weight {
// Minimum execution time: 112 nanoseconds.
Weight::from_ref_time(144_066)
// Minimum execution time: 113 nanoseconds.
Weight::from_ref_time(147_394)
}
/// The range of component `i` is `[0, 1000000]`.
fn division(_i: u32, ) -> Weight {
// Minimum execution time: 110 nanoseconds.
Weight::from_ref_time(141_690)
// Minimum execution time: 115 nanoseconds.
Weight::from_ref_time(147_033)
}
/// The range of component `i` is `[0, 100]`.
fn hashing(i: u32, ) -> Weight {
// Minimum execution time: 24_256_790 nanoseconds.
Weight::from_ref_time(24_302_551_365)
// Standard Error: 81_534
.saturating_add(Weight::from_ref_time(170_611).saturating_mul(i.into()))
fn hashing(_i: u32, ) -> Weight {
// Minimum execution time: 23_983_154 nanoseconds.
Weight::from_ref_time(24_070_029_392)
}
/// The range of component `i` is `[0, 100]`.
fn sr25519_verification(i: u32, ) -> Weight {
// Minimum execution time: 142 nanoseconds.
Weight::from_ref_time(2_101_973)
// Standard Error: 7_278
.saturating_add(Weight::from_ref_time(55_518_896).saturating_mul(i.into()))
// Minimum execution time: 130 nanoseconds.
Weight::from_ref_time(1_606_463)
// Standard Error: 5_589
.saturating_add(Weight::from_ref_time(55_538_842).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: 116 nanoseconds.
Weight::from_ref_time(127_000)
// Standard Error: 4_181
.saturating_add(Weight::from_ref_time(2_431_069).saturating_mul(i.into()))
// Minimum execution time: 118 nanoseconds.
Weight::from_ref_time(136_000)
// Standard Error: 2_899
.saturating_add(Weight::from_ref_time(2_363_633).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: 125 nanoseconds.
Weight::from_ref_time(143_000)
// Standard Error: 936
.saturating_add(Weight::from_ref_time(395_414).saturating_mul(i.into()))
// Minimum execution time: 119 nanoseconds.
Weight::from_ref_time(141_000)
// Standard Error: 923
.saturating_add(Weight::from_ref_time(386_949).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
}
26 changes: 13 additions & 13 deletions runtime/kusama/src/weights/frame_election_provider_support.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! Autogenerated weights for `frame_election_provider_support`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-23, 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

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_726_238 nanoseconds.
Weight::from_ref_time(5_790_216_000)
// Standard Error: 138_931
.saturating_add(Weight::from_ref_time(5_618_414).saturating_mul(v.into()))
// Standard Error: 14_203_885
.saturating_add(Weight::from_ref_time(1_491_183_409).saturating_mul(d.into()))
// Minimum execution time: 5_668_576 nanoseconds.
Weight::from_ref_time(5_712_755_000)
// Standard Error: 133_923
.saturating_add(Weight::from_ref_time(5_516_772).saturating_mul(v.into()))
// Standard Error: 13_691_904
.saturating_add(Weight::from_ref_time(1_483_939_563).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_057_773 nanoseconds.
Weight::from_ref_time(4_165_595_000)
// Standard Error: 126_180
.saturating_add(Weight::from_ref_time(4_843_071).saturating_mul(v.into()))
// Standard Error: 12_900_236
.saturating_add(Weight::from_ref_time(1_456_649_717).saturating_mul(d.into()))
// Minimum execution time: 3_905_717 nanoseconds.
Weight::from_ref_time(3_950_012_000)
// Standard Error: 121_037
.saturating_add(Weight::from_ref_time(4_593_528).saturating_mul(v.into()))
// Standard Error: 12_374_443
.saturating_add(Weight::from_ref_time(1_416_607_758).saturating_mul(d.into()))
}
}
44 changes: 22 additions & 22 deletions runtime/kusama/src/weights/frame_system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! Autogenerated weights for `frame_system`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-23, 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

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_524 nanoseconds.
Weight::from_ref_time(3_631_000)
// Minimum execution time: 3_479 nanoseconds.
Weight::from_ref_time(3_232_796)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(478).saturating_mul(b.into()))
.saturating_add(Weight::from_ref_time(539).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
// Minimum execution time: 13_282 nanoseconds.
Weight::from_ref_time(126_018_024)
// Standard Error: 4
.saturating_add(Weight::from_ref_time(1_937).saturating_mul(b.into()))
// Minimum execution time: 13_120 nanoseconds.
Weight::from_ref_time(176_550_818)
// Standard Error: 5
.saturating_add(Weight::from_ref_time(1_915).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_269 nanoseconds.
Weight::from_ref_time(8_664_000)
// Minimum execution time: 8_452 nanoseconds.
Weight::from_ref_time(8_855_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_629 nanoseconds.
Weight::from_ref_time(3_704_000)
// Standard Error: 2_180
.saturating_add(Weight::from_ref_time(691_914).saturating_mul(i.into()))
// Minimum execution time: 3_536 nanoseconds.
Weight::from_ref_time(3_673_000)
// Standard Error: 2_059
.saturating_add(Weight::from_ref_time(678_301).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_655 nanoseconds.
Weight::from_ref_time(3_728_000)
// Standard Error: 1_020
.saturating_add(Weight::from_ref_time(519_840).saturating_mul(i.into()))
// Minimum execution time: 3_390 nanoseconds.
Weight::from_ref_time(3_504_000)
// Standard Error: 890
.saturating_add(Weight::from_ref_time(509_654).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: 5_230 nanoseconds.
Weight::from_ref_time(5_371_000)
// Standard Error: 1_354
.saturating_add(Weight::from_ref_time(1_179_795).saturating_mul(p.into()))
// Minimum execution time: 5_185 nanoseconds.
Weight::from_ref_time(5_253_000)
// Standard Error: 1_170
.saturating_add(Weight::from_ref_time(1_152_577).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
}
14 changes: 7 additions & 7 deletions runtime/kusama/src/weights/pallet_bags_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_bags_list`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-23, 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

Expand Down Expand Up @@ -49,8 +49,8 @@ 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: 63_598 nanoseconds.
Weight::from_ref_time(65_643_000)
// Minimum execution time: 64_102 nanoseconds.
Weight::from_ref_time(66_882_000)
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(5))
}
Expand All @@ -59,8 +59,8 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
// Storage: VoterList ListNodes (r:3 w:3)
// Storage: VoterList ListBags (r:2 w:2)
fn rebag_terminal() -> Weight {
// Minimum execution time: 63_777 nanoseconds.
Weight::from_ref_time(66_843_000)
// Minimum execution time: 63_969 nanoseconds.
Weight::from_ref_time(65_863_000)
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(5))
}
Expand All @@ -70,8 +70,8 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
// Storage: VoterList CounterForListNodes (r:1 w:1)
// Storage: VoterList ListBags (r:1 w:1)
fn put_in_front_of() -> Weight {
// Minimum execution time: 62_987 nanoseconds.
Weight::from_ref_time(64_198_000)
// Minimum execution time: 63_120 nanoseconds.
Weight::from_ref_time(64_737_000)
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(6))
}
Expand Down
Loading