This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Conversation
This was referenced Jun 21, 2022
Merged
chevdor
approved these changes
Jun 21, 2022
Comment on lines
61
to
64
| fn set_heap_pages() -> Weight { | ||
| (2_347_000 as Weight) | ||
| (5_134_000 as Weight) | ||
| .saturating_add(T::DbWeight::get().reads(1 as Weight)) | ||
| .saturating_add(T::DbWeight::get().writes(2 as Weight)) |
Comment on lines
119
to
131
| fn external_propose_majority() -> Weight { | ||
| (1_250_000 as Weight) | ||
| (4_161_000 as Weight) | ||
| .saturating_add(T::DbWeight::get().writes(1 as Weight)) | ||
| } | ||
| // Storage: Democracy NextExternal (r:0 w:1) | ||
| fn external_propose_default() -> Weight { | ||
| (1_254_000 as Weight) | ||
| (3_982_000 as Weight) | ||
| .saturating_add(T::DbWeight::get().writes(1 as Weight)) | ||
| } | ||
| // Storage: Democracy NextExternal (r:1 w:1) | ||
| // Storage: Democracy ReferendumCount (r:1 w:1) | ||
| // Storage: Democracy ReferendumInfoOf (r:0 w:1) | ||
| fn fast_track() -> Weight { |
Comment on lines
52
to
58
| fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight { | ||
| (675_000 as Weight) | ||
| // Standard Error: 31_000 | ||
| .saturating_add((24_318_000 as Weight).saturating_mul(s as Weight)) | ||
| (2_739_000 as Weight) | ||
| // Standard Error: 32_000 | ||
| .saturating_add((26_230_000 as Weight).saturating_mul(s as Weight)) | ||
| .saturating_add(T::DbWeight::get().reads(1 as Weight)) | ||
| .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(s as Weight))) | ||
| .saturating_add(T::DbWeight::get().writes(1 as Weight)) |
Contributor
Author
There was a problem hiding this comment.
this base weight is insignificant
Comment on lines
79
to
85
| fn on_initialize_periodic_resolved(s: u32, ) -> Weight { | ||
| (0 as Weight) | ||
| // Standard Error: 30_000 | ||
| .saturating_add((22_043_000 as Weight).saturating_mul(s as Weight)) | ||
| (1_851_000 as Weight) | ||
| // Standard Error: 29_000 | ||
| .saturating_add((23_826_000 as Weight).saturating_mul(s as Weight)) | ||
| .saturating_add(T::DbWeight::get().reads(1 as Weight)) | ||
| .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(s as Weight))) | ||
| .saturating_add(T::DbWeight::get().writes(1 as Weight)) |
Contributor
Author
There was a problem hiding this comment.
this base weight is insignificant
Comment on lines
+91
to
97
| /// The range of component `s` is `[1, 50]`. | ||
| fn on_initialize_resolved(s: u32, ) -> Weight { | ||
| (248_000 as Weight) | ||
| // Standard Error: 28_000 | ||
| .saturating_add((18_646_000 as Weight).saturating_mul(s as Weight)) | ||
| (4_340_000 as Weight) | ||
| // Standard Error: 33_000 | ||
| .saturating_add((20_124_000 as Weight).saturating_mul(s as Weight)) | ||
| .saturating_add(T::DbWeight::get().reads(1 as Weight)) | ||
| .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight))) |
Comment on lines
46
to
52
| impl<T: frame_system::Config> runtime_parachains::disputes::WeightInfo for WeightInfo<T> { | ||
| // Storage: ParasDisputes Frozen (r:0 w:1) | ||
| fn force_unfreeze() -> Weight { | ||
| (659_000 as Weight) | ||
| (3_428_000 as Weight) | ||
| .saturating_add(T::DbWeight::get().writes(1 as Weight)) | ||
| } | ||
| } |
Comment on lines
63
to
67
| fn force_set_current_head(s: u32, ) -> Weight { | ||
| (9_108_000 as Weight) | ||
| (0 as Weight) | ||
| // Standard Error: 0 | ||
| .saturating_add((1_000 as Weight).saturating_mul(s as Weight)) | ||
| .saturating_add(T::DbWeight::get().writes(1 as Weight)) |
Comment on lines
92
to
96
| fn force_note_new_head(s: u32, ) -> Weight { | ||
| (12_655_000 as Weight) | ||
| (0 as Weight) | ||
| // Standard Error: 0 | ||
| .saturating_add((1_000 as Weight).saturating_mul(s as Weight)) | ||
| .saturating_add(T::DbWeight::get().reads(1 as Weight)) |
EgorPopelyaev
approved these changes
Jun 21, 2022
ordian
added a commit
that referenced
this pull request
Jun 21, 2022
al3mart
pushed a commit
that referenced
this pull request
Jul 14, 2022
* westend: update weights * kusama: update weights * polkadot: update weights * rococo: update weights
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.