-
Notifications
You must be signed in to change notification settings - Fork 1.5k
update weights #6087
update weights #6087
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` | ||
| //! DATE: 2022-09-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` | ||
| //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` | ||
| //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 | ||
|
|
||
|
|
@@ -38,7 +38,7 @@ | |
| #![allow(unused_parens)] | ||
| #![allow(unused_imports)] | ||
|
|
||
| use frame_support::{traits::Get, weights::{Weight}}; | ||
| use frame_support::{traits::Get, weights::Weight}; | ||
| use sp_std::marker::PhantomData; | ||
|
|
||
| /// Weight functions for `frame_election_provider_support`. | ||
|
|
@@ -48,20 +48,20 @@ 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 { | ||
| Weight::from_ref_time(0 as u64) | ||
| // Standard Error: 56_000 | ||
| .saturating_add(Weight::from_ref_time(13_944_000 as u64).saturating_mul(v as u64)) | ||
| // Standard Error: 4_876_000 | ||
| .saturating_add(Weight::from_ref_time(2_223_649_000 as u64).saturating_mul(d as u64)) | ||
| Weight::from_ref_time(5_488_493_000 as u64) | ||
| // Standard Error: 136_134 | ||
| .saturating_add(Weight::from_ref_time(5_576_665 as u64).saturating_mul(v as u64)) | ||
| // Standard Error: 13_917_868 | ||
| .saturating_add(Weight::from_ref_time(1_536_295_334 as u64).saturating_mul(d as u64)) | ||
| } | ||
| /// 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 { | ||
| Weight::from_ref_time(0 as u64) | ||
| // Standard Error: 79_000 | ||
| .saturating_add(Weight::from_ref_time(14_480_000 as u64).saturating_mul(v as u64)) | ||
| // Standard Error: 6_844_000 | ||
| .saturating_add(Weight::from_ref_time(2_525_332_000 as u64).saturating_mul(d as u64)) | ||
| Weight::from_ref_time(4_332_183_000 as u64) | ||
| // Standard Error: 146_563 | ||
| .saturating_add(Weight::from_ref_time(5_508_430 as u64).saturating_mul(v as u64)) | ||
|
Comment on lines
+61
to
+63
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 0 -> 4b |
||
| // Standard Error: 14_984_094 | ||
| .saturating_add(Weight::from_ref_time(1_776_655_797 as u64).saturating_mul(d as u64)) | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` | ||
| //! DATE: 2022-09-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` | ||
| //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` | ||
| //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 | ||
|
|
||
|
|
@@ -38,53 +38,56 @@ | |
| #![allow(unused_parens)] | ||
| #![allow(unused_imports)] | ||
|
|
||
| use frame_support::{traits::Get, weights::{Weight}}; | ||
| use frame_support::{traits::Get, weights::Weight}; | ||
| use sp_std::marker::PhantomData; | ||
|
|
||
| /// Weight functions for `frame_system`. | ||
| 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 { | ||
| Weight::from_ref_time(882_000 as u64) | ||
| Weight::from_ref_time(3_031_000 as u64) | ||
| // Standard Error: 0 | ||
| .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64)) | ||
| .saturating_add(Weight::from_ref_time(512 as u64).saturating_mul(b as u64)) | ||
|
Comment on lines
+49
to
+51
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 800k -> 3m |
||
| } | ||
| /// The range of component `b` is `[0, 3932160]`. | ||
| fn remark_with_event(b: u32, ) -> Weight { | ||
| Weight::from_ref_time(0 as u64) | ||
| Weight::from_ref_time(11_653_000 as u64) | ||
| // Standard Error: 0 | ||
| .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) | ||
| .saturating_add(Weight::from_ref_time(1_829 as u64).saturating_mul(b as u64)) | ||
|
Comment on lines
54
to
+57
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 0 -> 11m |
||
| } | ||
| // Storage: System Digest (r:1 w:1) | ||
| // Storage: unknown [0x3a686561707061676573] (r:0 w:1) | ||
| fn set_heap_pages() -> Weight { | ||
| Weight::from_ref_time(7_344_000 as u64) | ||
| Weight::from_ref_time(7_639_000 as u64) | ||
| .saturating_add(T::DbWeight::get().reads(1 as u64)) | ||
| .saturating_add(T::DbWeight::get().writes(2 as u64)) | ||
| } | ||
| // Storage: Skipped Metadata (r:0 w:0) | ||
| /// The range of component `i` is `[1, 1000]`. | ||
| fn set_storage(i: u32, ) -> Weight { | ||
| Weight::from_ref_time(0 as u64) | ||
| // Standard Error: 2_000 | ||
| .saturating_add(Weight::from_ref_time(610_000 as u64).saturating_mul(i as u64)) | ||
| Weight::from_ref_time(3_843_000 as u64) | ||
| // Standard Error: 1_590 | ||
| .saturating_add(Weight::from_ref_time(578_944 as u64).saturating_mul(i as u64)) | ||
|
Comment on lines
68
to
+71
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 0 -> 3.8m |
||
| .saturating_add(T::DbWeight::get().writes(1 as u64)) | ||
| .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) | ||
| } | ||
| // Storage: Skipped Metadata (r:0 w:0) | ||
| /// The range of component `i` is `[1, 1000]`. | ||
| fn kill_storage(i: u32, ) -> Weight { | ||
| Weight::from_ref_time(0 as u64) | ||
| // Standard Error: 1_000 | ||
| .saturating_add(Weight::from_ref_time(454_000 as u64).saturating_mul(i as u64)) | ||
| Weight::from_ref_time(3_896_000 as u64) | ||
| // Standard Error: 955 | ||
| .saturating_add(Weight::from_ref_time(434_545 as u64).saturating_mul(i as u64)) | ||
| .saturating_add(T::DbWeight::get().writes(1 as u64)) | ||
|
Comment on lines
+78
to
+81
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 0 -> 3.8m |
||
| .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) | ||
| } | ||
| // Storage: Skipped Metadata (r:0 w:0) | ||
| /// The range of component `p` is `[1, 1000]`. | ||
| fn kill_prefix(p: u32, ) -> Weight { | ||
| Weight::from_ref_time(0 as u64) | ||
| // Standard Error: 1_000 | ||
| .saturating_add(Weight::from_ref_time(978_000 as u64).saturating_mul(p as u64)) | ||
| Weight::from_ref_time(6_337_000 as u64) | ||
| // Standard Error: 1_174 | ||
| .saturating_add(Weight::from_ref_time(937_289 as u64).saturating_mul(p as u64)) | ||
| .saturating_add(T::DbWeight::get().writes(1 as u64)) | ||
|
Comment on lines
+87
to
+90
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 0 -> 6m |
||
| .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64))) | ||
| } | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0 -> 5b