Skip to content

Commit

Permalink
Merge pull request Joystream#5167 from mnaamani/argo-bridge-weights
Browse files Browse the repository at this point in the history
Argo bridge weights
  • Loading branch information
kdembler committed Jun 6, 2024
2 parents 2d9eac9 + cb7fd90 commit 87e2e24
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions bin/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ authors = ['Joystream contributors']
build = 'build.rs'
edition = '2018'
name = 'joystream-node'
version = '8.6.0'
version = '8.7.0'
default-run = "joystream-node"

[[bin]]
Expand Down Expand Up @@ -156,4 +156,4 @@ runtime-benchmarks = [
"frame-benchmarking-cli/runtime-benchmarks"
]

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

// Executed Command:
// ./scripts/../target/debug/joystream-node
// ./scripts/../target/release/joystream-node
// benchmark
// pallet
// --pallet=argo-bridge
Expand Down Expand Up @@ -64,24 +64,24 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof: ArgoBridge BridgingFee (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
// Storage: System Account (r:1 w:1)
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
// Storage: ArgoBridge MintAllowance (r:1 w:1)
// Proof: ArgoBridge MintAllowance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
// Storage: ArgoBridge NextTransferId (r:1 w:1)
// Proof: ArgoBridge NextTransferId (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
// Storage: ArgoBridge MintAllowance (r:1 w:1)
// Proof: ArgoBridge MintAllowance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
fn request_outbound_transfer() -> Weight {
// Proof Size summary in bytes:
// Measured: `430`
// Estimated: `11104`
// Minimum execution time: 1_128_198 nanoseconds.
Weight::from_parts(1_308_617_000, 0u64)
// Minimum execution time: 44_006 nanoseconds.
Weight::from_parts(45_771_000, 0u64)
.saturating_add(Weight::from_parts(0, 11104))
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
// Storage: ArgoBridge OperatorAccount (r:1 w:0)
// Proof: ArgoBridge OperatorAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
// Storage: ArgoBridge Status (r:1 w:0)
// Proof: ArgoBridge Status (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen)
// Storage: ArgoBridge OperatorAccount (r:1 w:0)
// Proof: ArgoBridge OperatorAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
// Storage: ArgoBridge MintAllowance (r:1 w:1)
// Proof: ArgoBridge MintAllowance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
// Storage: System Account (r:1 w:0)
Expand All @@ -90,28 +90,28 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `321`
// Estimated: `8101`
// Minimum execution time: 858_538 nanoseconds.
Weight::from_parts(937_558_000, 0u64)
// Minimum execution time: 26_913 nanoseconds.
Weight::from_parts(28_236_000, 0u64)
.saturating_add(Weight::from_parts(0, 8101))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
// Storage: ArgoBridge OperatorAccount (r:1 w:0)
// Proof: ArgoBridge OperatorAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
// Storage: ArgoBridge Status (r:1 w:0)
// Proof: ArgoBridge Status (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen)
// Storage: ArgoBridge MintAllowance (r:1 w:1)
// Proof: ArgoBridge MintAllowance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
// Storage: ArgoBridge OperatorAccount (r:1 w:0)
// Proof: ArgoBridge OperatorAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
// Storage: ArgoBridge RemoteChains (r:1 w:0)
// Proof: ArgoBridge RemoteChains (max_values: Some(1), max_size: Some(41), added: 536, mode: MaxEncodedLen)
// Storage: ArgoBridge MintAllowance (r:1 w:1)
// Proof: ArgoBridge MintAllowance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
// Storage: System Account (r:1 w:1)
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn finalize_inbound_transfer() -> Weight {
// Proof Size summary in bytes:
// Measured: `473`
// Estimated: `9627`
// Minimum execution time: 967_528 nanoseconds.
Weight::from_parts(1_171_918_000, 0u64)
// Minimum execution time: 37_314 nanoseconds.
Weight::from_parts(38_704_000, 0u64)
.saturating_add(Weight::from_parts(0, 9627))
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
Expand All @@ -124,26 +124,26 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `498`
// Estimated: `1806`
// Minimum execution time: 414_149 nanoseconds.
Weight::from_parts(424_310_000, 0u64)
// Minimum execution time: 17_724 nanoseconds.
Weight::from_parts(18_401_000, 0u64)
.saturating_add(Weight::from_parts(0, 1806))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
// Storage: ArgoBridge Status (r:1 w:1)
// Proof: ArgoBridge Status (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen)
// Storage: ArgoBridge PauserAccounts (r:1 w:0)
// Proof: ArgoBridge PauserAccounts (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
// Storage: ArgoBridge ThawnDuration (r:1 w:0)
// Proof: ArgoBridge ThawnDuration (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
// Storage: ArgoBridge Status (r:0 w:1)
// Proof: ArgoBridge Status (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen)
fn init_unpause_bridge() -> Weight {
// Proof Size summary in bytes:
// Measured: `498`
// Estimated: `3295`
// Minimum execution time: 426_939 nanoseconds.
Weight::from_parts(467_489_000, 0u64)
.saturating_add(Weight::from_parts(0, 3295))
.saturating_add(T::DbWeight::get().reads(2_u64))
// Estimated: `4785`
// Minimum execution time: 19_565 nanoseconds.
Weight::from_parts(20_209_000, 0u64)
.saturating_add(Weight::from_parts(0, 4785))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
// Storage: ArgoBridge OperatorAccount (r:1 w:0)
Expand All @@ -154,8 +154,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `173`
// Estimated: `3007`
// Minimum execution time: 613_939 nanoseconds.
Weight::from_parts(791_438_000, 0u64)
// Minimum execution time: 17_023 nanoseconds.
Weight::from_parts(17_629_000, 0u64)
.saturating_add(Weight::from_parts(0, 3007))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
Expand All @@ -174,8 +174,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 355_860 nanoseconds.
Weight::from_parts(454_089_000, 0u64)
// Minimum execution time: 17_157 nanoseconds.
Weight::from_parts(17_598_000, 0u64)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
Expand Down

0 comments on commit 87e2e24

Please sign in to comment.