-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Conversation
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)) |
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
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.
Reviewing the values, this run seems rather odd compared to the several previous releases we had.
The weights in some pallets look great (= very steady as we are used to). For others however, we can see huge bumps and quite some from 0 to several billions.
@coderobe we should start a new benchmark run. We can decide later to use the results or not.
I also would like to gather @kianenigma & @ggwpez's opinions on the big changes I spotted. There are more bing changes than whan I reported.
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)) |
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 -> 4b
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)) |
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.
800k -> 3m
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)) |
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 -> 11m
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)) |
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 -> 3.8m
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)) |
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 -> 3.8m
fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { | ||
Weight::from_ref_time(282_352_767_000 as u64) | ||
// Standard Error: 243_946 | ||
.saturating_add(Weight::from_ref_time(35_271_908 as u64).saturating_mul(v as u64)) | ||
.saturating_add(T::DbWeight::get().reads(15004 as u64)) | ||
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(v as u64))) | ||
.saturating_add(T::DbWeight::get().writes(15000 as u64)) | ||
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(v as u64))) |
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 > 280b
Weight::from_ref_time(29_157_699_000 as u64) | ||
// Standard Error: 525_734 | ||
.saturating_add(Weight::from_ref_time(43_642_232 as u64).saturating_mul(v as u64)) | ||
// Standard Error: 33_738 | ||
.saturating_add(Weight::from_ref_time(2_196_265 as u64).saturating_mul(e as u64)) | ||
.saturating_add(T::DbWeight::get().reads(1968 as u64)) |
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 > 29b
Weight::from_ref_time(30_131_000 as u64) | ||
// Standard Error: 1 | ||
.saturating_add(Weight::from_ref_time(2_441 as u64).saturating_mul(s as u64)) |
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 > 30m
fn get_npos_voters(v: u32, n: u32, _s: u32, ) -> Weight { | ||
Weight::from_ref_time(25_645_050_000 as u64) | ||
// Standard Error: 467_573 | ||
.saturating_add(Weight::from_ref_time(10_912_850 as u64).saturating_mul(v as u64)) | ||
// Standard Error: 467_573 | ||
.saturating_add(Weight::from_ref_time(10_774_564 as u64).saturating_mul(n as u64)) | ||
.saturating_add(T::DbWeight::get().reads(6706 as u64)) | ||
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(v as u64))) | ||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64))) |
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 > 25b
Weight::from_ref_time(5_768_526_000 as u64) | ||
// Standard Error: 268_593 | ||
.saturating_add(Weight::from_ref_time(17_016_045 as u64).saturating_mul(v as u64)) | ||
.saturating_add(T::DbWeight::get().reads(29 as u64)) |
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.
900m > 5b
A lot of the changes are probably due to paritytech/substrate#11806 |
not merging this round |
🏋️♀️ related #6025