Skip to content

Commit

Permalink
Update weights for runtime 3500 (#3175)
Browse files Browse the repository at this point in the history
* update moonbase weights

* improve comment
  • Loading branch information
RomarQ authored Feb 5, 2025
1 parent b645493 commit d191b58
Show file tree
Hide file tree
Showing 103 changed files with 3,288 additions and 3,104 deletions.
18 changes: 10 additions & 8 deletions runtime/moonbase/src/weights/cumulus_pallet_parachain_system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,19 @@

//! Autogenerated weights for `cumulus_pallet_parachain_system`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 42.0.0
//! DATE: 2024-11-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0
//! DATE: 2025-02-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024
//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
// ./target/production/moonbeam
// benchmark
// pallet
// --chain=moonbase-dev
// --runtime=./target/production/wbuild/moonbase-runtime/moonbase_runtime.wasm
// --genesis-builder=runtime
// --genesis-builder-preset=development
// --steps=50
// --repeat=20
// --pallet=cumulus_pallet_parachain_system
Expand Down Expand Up @@ -61,10 +63,10 @@ impl<T: frame_system::Config> cumulus_pallet_parachain_system::WeightInfo for We
// Proof Size summary in bytes:
// Measured: `82`
// Estimated: `3517`
// Minimum execution time: 2_153_000 picoseconds.
Weight::from_parts(2_247_000, 3517)
// Standard Error: 37_208
.saturating_add(Weight::from_parts(295_984_445, 0).saturating_mul(n.into()))
// Minimum execution time: 2_968_000 picoseconds.
Weight::from_parts(3_060_000, 3517)
// Standard Error: 42_861
.saturating_add(Weight::from_parts(292_651_439, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
Expand Down
38 changes: 20 additions & 18 deletions runtime/moonbase/src/weights/cumulus_pallet_xcmp_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,19 @@

//! Autogenerated weights for `cumulus_pallet_xcmp_queue`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 42.0.0
//! DATE: 2024-11-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0
//! DATE: 2025-02-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024
//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
// ./target/production/moonbeam
// benchmark
// pallet
// --chain=moonbase-dev
// --runtime=./target/production/wbuild/moonbase-runtime/moonbase_runtime.wasm
// --genesis-builder=runtime
// --genesis-builder-preset=development
// --steps=50
// --repeat=20
// --pallet=cumulus_pallet_xcmp_queue
Expand All @@ -52,8 +54,8 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightIn
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `1497`
// Minimum execution time: 3_967_000 picoseconds.
Weight::from_parts(4_072_000, 1497)
// Minimum execution time: 5_034_000 picoseconds.
Weight::from_parts(5_365_000, 1497)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -71,8 +73,8 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightIn
// Proof Size summary in bytes:
// Measured: `148`
// Estimated: `5487`
// Minimum execution time: 10_759_000 picoseconds.
Weight::from_parts(11_142_000, 5487)
// Minimum execution time: 12_533_000 picoseconds.
Weight::from_parts(13_016_000, 5487)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
Expand All @@ -82,8 +84,8 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightIn
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `2767`
// Minimum execution time: 2_427_000 picoseconds.
Weight::from_parts(2_555_000, 2767)
// Minimum execution time: 3_264_000 picoseconds.
Weight::from_parts(3_455_000, 2767)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -93,17 +95,17 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightIn
// Proof Size summary in bytes:
// Measured: `177`
// Estimated: `2767`
// Minimum execution time: 3_335_000 picoseconds.
Weight::from_parts(3_482_000, 2767)
// Minimum execution time: 4_506_000 picoseconds.
Weight::from_parts(4_831_000, 2767)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
fn take_first_concatenated_xcm() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_141_000 picoseconds.
Weight::from_parts(8_329_000, 0)
// Minimum execution time: 8_247_000 picoseconds.
Weight::from_parts(8_395_000, 0)
}
/// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1)
/// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1)
Expand All @@ -123,8 +125,8 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightIn
// Proof Size summary in bytes:
// Measured: `105713`
// Estimated: `109178`
// Minimum execution time: 158_196_000 picoseconds.
Weight::from_parts(159_833_000, 109178)
// Minimum execution time: 167_478_000 picoseconds.
Weight::from_parts(170_117_000, 109178)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
Expand All @@ -146,8 +148,8 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightIn
// Proof Size summary in bytes:
// Measured: `65782`
// Estimated: `69247`
// Minimum execution time: 105_664_000 picoseconds.
Weight::from_parts(107_246_000, 69247)
// Minimum execution time: 114_737_000 picoseconds.
Weight::from_parts(115_723_000, 69247)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
Expand Down
38 changes: 16 additions & 22 deletions runtime/moonbase/src/weights/pallet_asset_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,19 @@

//! Autogenerated weights for `pallet_asset_manager`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 42.0.0
//! DATE: 2024-11-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0
//! DATE: 2025-02-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024
//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
// ./target/production/moonbeam
// benchmark
// pallet
// --chain=moonbase-dev
// --runtime=./target/production/wbuild/moonbase-runtime/moonbase_runtime.wasm
// --genesis-builder=runtime
// --genesis-builder-preset=development
// --steps=50
// --repeat=20
// --pallet=pallet_asset_manager
Expand Down Expand Up @@ -60,43 +62,35 @@ impl<T: frame_system::Config> pallet_asset_manager::WeightInfo for WeightInfo<T>
// Proof Size summary in bytes:
// Measured: `82`
// Estimated: `3639`
// Minimum execution time: 28_938_000 picoseconds.
Weight::from_parts(29_672_000, 3639)
// Minimum execution time: 31_921_000 picoseconds.
Weight::from_parts(32_620_000, 3639)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
/// Storage: `AssetManager::AssetIdType` (r:1 w:1)
/// Proof: `AssetManager::AssetIdType` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `AssetManager::AssetTypeId` (r:0 w:2)
/// Proof: `AssetManager::AssetTypeId` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `x` is `[5, 100]`.
fn change_existing_asset_type() -> Weight {
// Proof Size summary in bytes:
// Measured: `447 + x * (4 ±0)`
// Estimated: `3909 + x * (5 ±0)`
// Minimum execution time: 16_782_000 picoseconds.
Weight::from_parts(18_623_554, 3909)
// Standard Error: 1_523
.saturating_add(Weight::from_parts(79_965, 0))
// Measured: `172`
// Estimated: `3637`
// Minimum execution time: 17_520_000 picoseconds.
Weight::from_parts(18_112_000, 3637)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 5))
}
/// Storage: `AssetManager::AssetIdType` (r:1 w:1)
/// Proof: `AssetManager::AssetIdType` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `AssetManager::AssetTypeId` (r:0 w:1)
/// Proof: `AssetManager::AssetTypeId` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `x` is `[5, 100]`.
fn remove_existing_asset_type() -> Weight {
// Proof Size summary in bytes:
// Measured: `447 + x * (4 ±0)`
// Estimated: `3909 + x * (5 ±0)`
// Minimum execution time: 14_417_000 picoseconds.
Weight::from_parts(16_598_818, 3909)
// Standard Error: 1_767
.saturating_add(Weight::from_parts(74_656, 0))
// Measured: `172`
// Estimated: `3637`
// Minimum execution time: 14_956_000 picoseconds.
Weight::from_parts(15_357_000, 3637)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 5))
}
}
Loading

0 comments on commit d191b58

Please sign in to comment.