This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Conversation
chevdor
reviewed
Oct 6, 2021
| .saturating_add((347_000 as Weight).saturating_mul(e as Weight)) | ||
| .saturating_add((168_000 as Weight).saturating_mul(k as Weight)) | ||
| // Standard Error: 4_000 | ||
| .saturating_add((768_000 as Weight).saturating_mul(e as Weight)) |
chevdor
reviewed
Oct 6, 2021
| fn cancel(s: u32, ) -> Weight { | ||
| (24_455_000 as Weight) | ||
| // Standard Error: 7_000 | ||
| .saturating_add((1_849_000 as Weight).saturating_mul(s as Weight)) |
chevdor
reviewed
Oct 6, 2021
| fn cancel_named(s: u32, ) -> Weight { | ||
| (26_842_000 as Weight) | ||
| // Standard Error: 9_000 | ||
| .saturating_add((1_880_000 as Weight).saturating_mul(s as Weight)) |
chevdor
reviewed
Oct 6, 2021
| (2_809_466_000 as Weight) | ||
| // Standard Error: 181_000 | ||
| .saturating_add((16_204_000 as Weight).saturating_mul(s as Weight)) | ||
| (6_584_935_000 as Weight) |
Member
|
/benchmark runtime kusama pallet_scheduler |
chevdor
reviewed
Oct 6, 2021
| // Storage: Vesting Vesting (r:1 w:1) | ||
| // Storage: Balances Locks (r:1 w:1) | ||
| fn vest_locked(l: u32, s: u32, ) -> Weight { | ||
| (45_931_000 as Weight) |
chevdor
reviewed
Oct 6, 2021
| // Storage: Vesting Vesting (r:1 w:1) | ||
| // Storage: Balances Locks (r:1 w:1) | ||
| fn vest_unlocked(l: u32, s: u32, ) -> Weight { | ||
| (45_326_000 as Weight) |
chevdor
reviewed
Oct 6, 2021
| // Storage: Balances Locks (r:1 w:1) | ||
| // Storage: System Account (r:1 w:1) | ||
| fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { | ||
| (45_906_000 as Weight) |
Contributor
There was a problem hiding this comment.
significant 📉 + others around the vestedcalls
chevdor
reviewed
Oct 6, 2021
| // Storage: Paras UpcomingParasGenesis (r:0 w:1) | ||
| fn register() -> Weight { | ||
| (4_193_117_000 as Weight) | ||
| (8_869_444_000 as Weight) |
chevdor
reviewed
Oct 6, 2021
| // Storage: System Account (r:1 w:1) | ||
| fn force_lease() -> Weight { | ||
| (92_502_000 as Weight) | ||
| (44_857_000 as Weight) |
chevdor
reviewed
Oct 6, 2021
| .saturating_add((328_000 as Weight).saturating_mul(e as Weight)) | ||
| .saturating_add((166_000 as Weight).saturating_mul(k as Weight)) | ||
| // Standard Error: 3_000 | ||
| .saturating_add((722_000 as Weight).saturating_mul(e as Weight)) |
chevdor
reviewed
Oct 6, 2021
Contributor
chevdor
left a comment
There was a problem hiding this comment.
I spotted a few noticeable to ♾ going from 0 to a few millions.
The big changes should be checked. There are especially quick some in the vesting pallet
| // Storage: Vesting Vesting (r:1 w:1) | ||
| // Storage: Balances Locks (r:1 w:1) | ||
| fn vest_locked(l: u32, s: u32, ) -> Weight { | ||
| (45_502_000 as Weight) |
| // Storage: Vesting Vesting (r:1 w:1) | ||
| // Storage: Balances Locks (r:1 w:1) | ||
| fn vest_unlocked(l: u32, s: u32, ) -> Weight { | ||
| (45_054_000 as Weight) |
| // Storage: Balances Locks (r:1 w:1) | ||
| // Storage: System Account (r:1 w:1) | ||
| fn vest_other_locked(l: u32, s: u32, ) -> Weight { | ||
| (45_957_000 as Weight) |
| // Storage: System Account (r:1 w:1) | ||
| fn force_lease() -> Weight { | ||
| (92_502_000 as Weight) | ||
| (41_290_000 as Weight) |
| fn batch(c: u32, ) -> Weight { | ||
| (20_055_000 as Weight) | ||
| // Standard Error: 3_000 | ||
| .saturating_add((7_234_000 as Weight).saturating_mul(c as Weight)) |
| fn batch_all(c: u32, ) -> Weight { | ||
| (22_129_000 as Weight) | ||
| // Standard Error: 3_000 | ||
| .saturating_add((7_909_000 as Weight).saturating_mul(c as Weight)) |
| // Storage: Vesting Vesting (r:1 w:1) | ||
| // Storage: Balances Locks (r:1 w:1) | ||
| fn vest_locked(l: u32, s: u32, ) -> Weight { | ||
| (45_631_000 as Weight) |
| // Storage: Vesting Vesting (r:1 w:1) | ||
| // Storage: Balances Locks (r:1 w:1) | ||
| fn vest_unlocked(l: u32, s: u32, ) -> Weight { | ||
| (45_068_000 as Weight) |
Contributor
There was a problem hiding this comment.
significant 📉 again for all the vest*
| .saturating_add((44_792_000 as Weight).saturating_mul(k as Weight)) | ||
| // Storage: Skipped Metadata (r:0 w:0) | ||
| fn refund(k: u32, ) -> Weight { | ||
| (42_888_000 as Weight) |
| fn register() -> Weight { | ||
| (4_178_287_000 as Weight) | ||
| .saturating_add(T::DbWeight::get().reads(5 as Weight)) | ||
| (7_233_188_000 as Weight) |
* add slot offset for slots * trying things out * fix test * improve api to return the first block of a new lease period * add an integration test with offset * de-duplicate test * hide lease period_period_length from public api * fix benchmarks * Update runtime/common/src/slots.rs * support the exact same range of crowdloans * fix docs * fix docs again * introduce offset to runtimes * fix and check edge case w/ offset and lease period first block * remove newline * turn into an option * fix benchmarks Co-authored-by: Robert Habermeier <rphmeier@gmail.com>
…geVersion (#4035) * wip * Remove unused members
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.
Uh oh!
There was an error while loading. Please reload this page.