This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
update weights (0.9.33) #6299
Merged
Merged
update weights (0.9.33) #6299
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,8 +16,8 @@ | |
//! 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: `[]` | ||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` | ||
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` | ||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` | ||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 | ||
|
||
// Executed Command: | ||
|
@@ -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,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 { | ||
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)) | ||
// Minimum execution time: 5_474_633 nanoseconds. | ||
Weight::from_ref_time(5_525_752_000 as u64) | ||
// Standard Error: 135_558 | ||
.saturating_add(Weight::from_ref_time(5_545_241 as u64).saturating_mul(v as u64)) | ||
// Standard Error: 13_859_031 | ||
.saturating_add(Weight::from_ref_time(1_538_596_617 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)) | ||
// Minimum execution time: 4_309_239 nanoseconds. | ||
Weight::from_ref_time(4_353_424_000 as u64) | ||
Comment on lines
-61
to
+63
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. big jump up from 0 |
||
// Standard Error: 145_409 | ||
.saturating_add(Weight::from_ref_time(5_482_164 as u64).saturating_mul(v as u64)) | ||
// Standard Error: 14_866_111 | ||
.saturating_add(Weight::from_ref_time(1_765_233_611 as u64).saturating_mul(d as u64)) | ||
} | ||
} |
Oops, something went wrong.
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.
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.
big jump up from 0