Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated Weights #4958

Merged
merged 6 commits into from
Nov 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion chain-metadata.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docker-compose-no-bind-volumes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ services:
"

indexer:
image: joystream/hydra-indexer:v5.0.0-alpha.1
image: joystream/hydra-indexer:v5.0.0-alpha.7
container_name: indexer
restart: unless-stopped
env_file:
Expand All @@ -247,7 +247,7 @@ services:
sh -c "yarn db:bootstrap && yarn start:prod"

hydra-indexer-gateway:
image: joystream/hydra-indexer-gateway:5.0.0-alpha.1
image: joystream/hydra-indexer-gateway:5.0.0-alpha.7
container_name: hydra-indexer-gateway
restart: unless-stopped
env_file:
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ services:
"

indexer:
image: joystream/hydra-indexer:v5.0.0-alpha.1
image: joystream/hydra-indexer:v5.0.0-alpha.7
container_name: indexer
restart: unless-stopped
env_file:
Expand All @@ -258,7 +258,7 @@ services:
sh -c "yarn db:bootstrap && yarn start:prod"

hydra-indexer-gateway:
image: joystream/hydra-indexer-gateway:5.0.0-alpha.1
image: joystream/hydra-indexer-gateway:5.0.0-alpha.7
container_name: hydra-indexer-gateway
restart: unless-stopped
env_file:
Expand Down
2 changes: 1 addition & 1 deletion query-node/chain-metadata/2002.json

Large diffs are not rendered by default.

408 changes: 200 additions & 208 deletions runtime-modules/bounty/src/weights.rs

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions runtime-modules/constitution/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
//! Autogenerated weights for pallet_constitution
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-07-31, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-11-06, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("prod-test"), DB CACHE: 1024

// Executed Command:
// ./../target/release/joystream-node
// ./scripts/../target/release/joystream-node
// benchmark
// pallet
// --pallet=pallet_constitution
Expand All @@ -31,8 +31,8 @@
// --steps=50
// --repeat=20
// --execution=wasm
// --template=./../devops/joystream-pallet-weight-template.hbs
// --output=./../runtime-modules/constitution/src/weights.rs
// --template=./scripts/../devops/joystream-pallet-weight-template.hbs
// --output=./scripts/../runtime-modules/constitution/src/weights.rs

#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
Expand All @@ -57,11 +57,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_000 nanoseconds.
Weight::from_parts(7_856_402, 0u64)
// Minimum execution time: 11_635 nanoseconds.
Weight::from_parts(11_991_083, 0u64)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 2
.saturating_add(Weight::from_parts(1_508, 0u64).saturating_mul(i.into()))
// Standard Error: 1
.saturating_add(Weight::from_parts(1_923, 0u64).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use frame_support::assert_noop;
use frame_support::assert_ok;
use frame_system::RawOrigin;
use project_token::types::PaymentWithVesting;
use project_token::types::{PaymentWithVestingOf, Transfers};

#[test]
fn unsuccessful_creator_token_issuer_transfer_non_existing_channel() {
Expand Down
1,074 changes: 550 additions & 524 deletions runtime-modules/content/src/weights.rs

Large diffs are not rendered by default.

156 changes: 78 additions & 78 deletions runtime-modules/council/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
//! Autogenerated weights for council
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-07-31, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-11-06, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("prod-test"), DB CACHE: 1024

// Executed Command:
// ./../target/release/joystream-node
// ./scripts/../target/release/joystream-node
// benchmark
// pallet
// --pallet=council
Expand All @@ -31,8 +31,8 @@
// --steps=50
// --repeat=20
// --execution=wasm
// --template=./../devops/joystream-pallet-weight-template.hbs
// --output=./../runtime-modules/council/src/weights.rs
// --template=./scripts/../devops/joystream-pallet-weight-template.hbs
// --output=./scripts/../runtime-modules/council/src/weights.rs

#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
Expand Down Expand Up @@ -72,8 +72,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_000 nanoseconds.
Weight::from_parts(7_000_000, 0u64)
// Minimum execution time: 10_415 nanoseconds.
Weight::from_parts(11_084_000, 0u64)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -83,8 +83,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_000 nanoseconds.
Weight::from_parts(7_000_000, 0u64)
// Minimum execution time: 10_017 nanoseconds.
Weight::from_parts(10_722_000, 0u64)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -96,12 +96,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn funding_request(i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `714 + i * (2 ±0)`
// Estimated: `511 + i * (2603 ±0)`
// Minimum execution time: 30_000 nanoseconds.
Weight::from_parts(9_946_559, 0u64)
.saturating_add(Weight::from_parts(0, 511))
// Standard Error: 5_136
.saturating_add(Weight::from_parts(19_998_149, 0u64).saturating_mul(i.into()))
// Estimated: `2491 + i * (2603 ±0)`
// Minimum execution time: 41_900 nanoseconds.
Weight::from_parts(25_237_904, 0u64)
.saturating_add(Weight::from_parts(0, 2491))
// Standard Error: 22_658
.saturating_add(Weight::from_parts(25_536_673, 0u64).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
Expand All @@ -117,10 +117,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn try_process_budget_refill_budget_only() -> Weight {
// Proof Size summary in bytes:
// Measured: `276`
// Estimated: `1022`
// Minimum execution time: 13_000 nanoseconds.
Weight::from_parts(14_000_000, 0u64)
.saturating_add(Weight::from_parts(0, 1022))
// Estimated: `3002`
// Minimum execution time: 17_581 nanoseconds.
Weight::from_parts(18_051_000, 0u64)
.saturating_add(Weight::from_parts(0, 3002))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
Expand All @@ -136,11 +136,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof: Council NextRewardPayments (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
fn try_process_budget_payout_council_members_only() -> Weight {
// Proof Size summary in bytes:
// Measured: `1169`
// Estimated: `9651`
// Minimum execution time: 45_000 nanoseconds.
Weight::from_parts(46_000_000, 0u64)
.saturating_add(Weight::from_parts(0, 9651))
// Measured: `1041`
// Estimated: `13611`
// Minimum execution time: 62_395 nanoseconds.
Weight::from_parts(64_398_000, 0u64)
.saturating_add(Weight::from_parts(0, 13611))
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
Expand All @@ -151,10 +151,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn try_progress_stage_idle() -> Weight {
// Proof Size summary in bytes:
// Measured: `270`
// Estimated: `1011`
// Minimum execution time: 9_000 nanoseconds.
Weight::from_parts(10_000_000, 0u64)
.saturating_add(Weight::from_parts(0, 1011))
// Estimated: `2991`
// Minimum execution time: 13_881 nanoseconds.
Weight::from_parts(14_138_000, 0u64)
.saturating_add(Weight::from_parts(0, 2991))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
Expand All @@ -168,12 +168,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn try_progress_stage_announcing_start_election(i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `379`
// Estimated: `1600`
// Minimum execution time: 15_000 nanoseconds.
Weight::from_parts(16_653_162, 0u64)
.saturating_add(Weight::from_parts(0, 1600))
// Standard Error: 774
.saturating_add(Weight::from_parts(7_175, 0u64).saturating_mul(i.into()))
// Estimated: `4570`
// Minimum execution time: 23_232 nanoseconds.
Weight::from_parts(25_655_895, 0u64)
.saturating_add(Weight::from_parts(0, 4570))
// Standard Error: 957
.saturating_add(Weight::from_parts(51_905, 0u64).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
Expand All @@ -184,10 +184,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn try_progress_stage_announcing_restart() -> Weight {
// Proof Size summary in bytes:
// Measured: `274`
// Estimated: `1011`
// Minimum execution time: 9_000 nanoseconds.
Weight::from_parts(10_000_000, 0u64)
.saturating_add(Weight::from_parts(0, 1011))
// Estimated: `2991`
// Minimum execution time: 14_066 nanoseconds.
Weight::from_parts(14_420_000, 0u64)
.saturating_add(Weight::from_parts(0, 2991))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
Expand All @@ -207,11 +207,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof: Council AnnouncementPeriodNr (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
fn announce_candidacy() -> Weight {
// Proof Size summary in bytes:
// Measured: `877`
// Estimated: `15156`
// Minimum execution time: 38_000 nanoseconds.
Weight::from_parts(39_000_000, 0u64)
.saturating_add(Weight::from_parts(0, 15156))
// Measured: `813`
// Estimated: `22086`
// Minimum execution time: 53_909 nanoseconds.
Weight::from_parts(55_662_000, 0u64)
.saturating_add(Weight::from_parts(0, 22086))
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
Expand All @@ -227,11 +227,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn release_candidacy_stake() -> Weight {
// Proof Size summary in bytes:
// Measured: `1074`
// Estimated: `12116`
// Minimum execution time: 29_000 nanoseconds.
Weight::from_parts(30_000_000, 0u64)
.saturating_add(Weight::from_parts(0, 12116))
// Measured: `946`
// Estimated: `17066`
// Minimum execution time: 40_887 nanoseconds.
Weight::from_parts(42_267_000, 0u64)
.saturating_add(Weight::from_parts(0, 17066))
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
Expand All @@ -246,13 +246,13 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `i` is `[0, 100]`.
fn set_candidacy_note(i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `744`
// Estimated: `6247`
// Minimum execution time: 20_000 nanoseconds.
Weight::from_parts(21_760_948, 0u64)
.saturating_add(Weight::from_parts(0, 6247))
// Standard Error: 1_606
.saturating_add(Weight::from_parts(1_487_056, 0u64).saturating_mul(i.into()))
// Measured: `680`
// Estimated: `10207`
// Minimum execution time: 28_933 nanoseconds.
Weight::from_parts(30_433_052, 0u64)
.saturating_add(Weight::from_parts(0, 10207))
// Standard Error: 1_786
.saturating_add(Weight::from_parts(1_947_036, 0u64).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -270,11 +270,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn withdraw_candidacy() -> Weight {
// Proof Size summary in bytes:
// Measured: `1074`
// Estimated: `12624`
// Minimum execution time: 31_000 nanoseconds.
Weight::from_parts(32_000_000, 0u64)
.saturating_add(Weight::from_parts(0, 12624))
// Measured: `946`
// Estimated: `18564`
// Minimum execution time: 44_638 nanoseconds.
Weight::from_parts(45_904_000, 0u64)
.saturating_add(Weight::from_parts(0, 18564))
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
Expand All @@ -284,8 +284,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_000 nanoseconds.
Weight::from_parts(7_000_000, 0u64)
// Minimum execution time: 9_992 nanoseconds.
Weight::from_parts(10_583_000, 0u64)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -295,8 +295,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_000 nanoseconds.
Weight::from_parts(6_000_000, 0u64)
// Minimum execution time: 9_751 nanoseconds.
Weight::from_parts(10_052_000, 0u64)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -308,11 +308,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof: Council Budget (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
fn fund_council_budget() -> Weight {
// Proof Size summary in bytes:
// Measured: `730`
// Estimated: `5714`
// Minimum execution time: 28_000 nanoseconds.
Weight::from_parts(28_000_000, 0u64)
.saturating_add(Weight::from_parts(0, 5714))
// Measured: `666`
// Estimated: `8684`
// Minimum execution time: 38_861 nanoseconds.
Weight::from_parts(40_150_000, 0u64)
.saturating_add(Weight::from_parts(0, 8684))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
Expand All @@ -324,11 +324,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof: Council AnnouncementPeriodNr (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
fn candidate_remark() -> Weight {
// Proof Size summary in bytes:
// Measured: `744`
// Estimated: `5739`
// Minimum execution time: 16_000 nanoseconds.
Weight::from_parts(17_000_000, 0u64)
.saturating_add(Weight::from_parts(0, 5739))
// Measured: `680`
// Estimated: `8709`
// Minimum execution time: 23_727 nanoseconds.
Weight::from_parts(24_301_000, 0u64)
.saturating_add(Weight::from_parts(0, 8709))
.saturating_add(T::DbWeight::get().reads(3_u64))
}
// Storage: Membership MembershipById (r:1 w:0)
Expand All @@ -337,11 +337,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof: Council CouncilMembers (max_values: Some(1), max_size: Some(325), added: 820, mode: MaxEncodedLen)
fn councilor_remark() -> Weight {
// Proof Size summary in bytes:
// Measured: `1006`
// Estimated: `3420`
// Minimum execution time: 17_000 nanoseconds.
Weight::from_parts(18_000_000, 0u64)
.saturating_add(Weight::from_parts(0, 3420))
// Measured: `942`
// Estimated: `5400`
// Minimum execution time: 25_106 nanoseconds.
Weight::from_parts(26_163_000, 0u64)
.saturating_add(Weight::from_parts(0, 5400))
.saturating_add(T::DbWeight::get().reads(2_u64))
}
}
Expand Down
Loading
Loading