Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
Regenerate weights for 0.9.42 (#252)
Browse files Browse the repository at this point in the history
Regenerate weights after upgrade to 0.9.42
  • Loading branch information
kalaninja authored Aug 1, 2023
1 parent f378496 commit 8f6b9de
Show file tree
Hide file tree
Showing 25 changed files with 2,086 additions and 1,629 deletions.
27 changes: 14 additions & 13 deletions runtime/trappist/src/weights/block_weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,23 @@
// limitations under the License.

//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-07-29 (Y/M/D)
//! HOSTNAME: `kalan-x1x`, CPU: `12th Gen Intel(R) Core(TM) i7-12800H`
//! DATE: 2023-07-31 (Y/M/D)
//! HOSTNAME: `runner-ynta1nyy-project-647-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//!
//! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Trappist Development`
//! WARMUPS: `10`, REPEAT: `100`
//! WEIGHT-PATH: `./runtime/trappist/src/weights/`
//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1.0`, WEIGHT-ADD: `0`

// Executed Command:
// target/debug/trappist-node
// ./target/production/trappist-node
// benchmark
// overhead
// --chain
// dev
// --chain=trappist-dev
// --wasm-execution=compiled
// --weight-path=./runtime/trappist/src/weights/
// --warmup=10
// --repeat=100
// --header=./templates/file_header.txt

use sp_core::parameter_types;
Expand All @@ -42,17 +43,17 @@ parameter_types! {
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats nanoseconds:
/// Min, Max: 3_490_993, 5_306_621
/// Average: 3_667_302
/// Median: 3_600_336
/// Std-Dev: 279090.04
/// Min, Max: 403_034, 435_336
/// Average: 413_496
/// Median: 412_857
/// Std-Dev: 6812.66
///
/// Percentiles nanoseconds:
/// 99th: 5_240_475
/// 95th: 3_991_545
/// 75th: 3_643_374
/// 99th: 434_374
/// 95th: 425_095
/// 75th: 416_714
pub const BlockExecutionWeight: Weight =
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(3_667_302), 0);
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(413_496), 0);
}

#[cfg(test)]
Expand Down
31 changes: 16 additions & 15 deletions runtime/trappist/src/weights/cumulus_pallet_xcmp_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,24 @@
//! Autogenerated weights for `cumulus_pallet_xcmp_queue`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-07-28, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-07-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `kalan-x1x`, CPU: `12th Gen Intel(R) Core(TM) i7-12800H`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
//! HOSTNAME: `runner-ynta1nyy-project-647-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("trappist-dev"), DB CACHE: 1024

// Executed Command:
// target/debug/trappist-node
// ./target/production/trappist-node
// benchmark
// pallet
// --chain
// dev
// --execution=wasm
// --chain=trappist-dev
// --steps=50
// --repeat=20
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --pallet=cumulus_pallet_xcmp_queue
// --extrinsic=*
// --wasm-execution=compiled
// --pallet
// *
// --extrinsic
// *
// --header=./templates/file_header.txt
// --output=./runtime/trappist/src/weights/

Expand All @@ -55,8 +56,8 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightIn
// Proof Size summary in bytes:
// Measured: `76`
// Estimated: `1561`
// Minimum execution time: 116_175_000 picoseconds.
Weight::from_parts(116_175_000, 0)
// Minimum execution time: 3_763_000 picoseconds.
Weight::from_parts(4_038_000, 0)
.saturating_add(Weight::from_parts(0, 1561))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -67,8 +68,8 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightIn
// Proof Size summary in bytes:
// Measured: `76`
// Estimated: `1561`
// Minimum execution time: 104_904_000 picoseconds.
Weight::from_parts(104_904_000, 0)
// Minimum execution time: 3_805_000 picoseconds.
Weight::from_parts(3_997_000, 0)
.saturating_add(Weight::from_parts(0, 1561))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand Down
27 changes: 14 additions & 13 deletions runtime/trappist/src/weights/extrinsic_weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,23 @@
// limitations under the License.

//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-07-29 (Y/M/D)
//! HOSTNAME: `kalan-x1x`, CPU: `12th Gen Intel(R) Core(TM) i7-12800H`
//! DATE: 2023-07-31 (Y/M/D)
//! HOSTNAME: `runner-ynta1nyy-project-647-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//!
//! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Trappist Development`
//! WARMUPS: `10`, REPEAT: `100`
//! WEIGHT-PATH: `./runtime/trappist/src/weights/`
//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1.0`, WEIGHT-ADD: `0`

// Executed Command:
// target/debug/trappist-node
// ./target/production/trappist-node
// benchmark
// overhead
// --chain
// dev
// --chain=trappist-dev
// --wasm-execution=compiled
// --weight-path=./runtime/trappist/src/weights/
// --warmup=10
// --repeat=100
// --header=./templates/file_header.txt

use sp_core::parameter_types;
Expand All @@ -42,17 +43,17 @@ parameter_types! {
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats nanoseconds:
/// Min, Max: 113_785, 116_329
/// Average: 114_781
/// Median: 114_738
/// Std-Dev: 450.29
/// Min, Max: 132_923, 135_653
/// Average: 133_542
/// Median: 133_415
/// Std-Dev: 504.8
///
/// Percentiles nanoseconds:
/// 99th: 115_717
/// 95th: 115_522
/// 75th: 115_050
/// 99th: 135_409
/// 95th: 134_462
/// 75th: 133_698
pub const ExtrinsicBaseWeight: Weight =
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(114_781), 0);
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(133_542), 0);
}

#[cfg(test)]
Expand Down
82 changes: 47 additions & 35 deletions runtime/trappist/src/weights/frame_system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,24 @@
//! Autogenerated weights for `frame_system`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-07-28, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-07-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `kalan-x1x`, CPU: `12th Gen Intel(R) Core(TM) i7-12800H`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
//! HOSTNAME: `runner-ynta1nyy-project-647-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("trappist-dev"), DB CACHE: 1024

// Executed Command:
// target/debug/trappist-node
// ./target/production/trappist-node
// benchmark
// pallet
// --chain
// dev
// --execution=wasm
// --chain=trappist-dev
// --steps=50
// --repeat=20
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --pallet=frame_system
// --extrinsic=*
// --wasm-execution=compiled
// --pallet
// *
// --extrinsic
// *
// --header=./templates/file_header.txt
// --output=./runtime/trappist/src/weights/

Expand All @@ -50,22 +51,26 @@ use core::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
/// The range of component `b` is `[0, 3932160]`.
fn remark(_b: u32, ) -> Weight {
fn remark(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 66_355_000 picoseconds.
Weight::from_parts(1_290_674_000, 0)
// Minimum execution time: 793_000 picoseconds.
Weight::from_parts(141_666_957, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 4
.saturating_add(Weight::from_parts(189, 0).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(_b: u32, ) -> Weight {
fn remark_with_event(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 169_503_000 picoseconds.
Weight::from_parts(189_916_069_000, 0)
// Minimum execution time: 2_783_000 picoseconds.
Weight::from_parts(129_832_222, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 9
.saturating_add(Weight::from_parts(1_180, 0).saturating_mul(b.into()))
}
/// Storage: System Digest (r:1 w:1)
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
Expand All @@ -75,47 +80,54 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `1485`
// Minimum execution time: 163_328_000 picoseconds.
Weight::from_parts(163_328_000, 0)
// Minimum execution time: 1_711_000 picoseconds.
Weight::from_parts(1_831_000, 0)
.saturating_add(Weight::from_parts(0, 1485))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
/// Storage: Skipped Metadata (r:0 w:0)
/// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
/// The range of component `i` is `[0, 1000]`.
fn set_storage(_i: u32, ) -> Weight {
fn set_storage(i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 62_442_000 picoseconds.
Weight::from_parts(10_009_258_000, 0)
// Minimum execution time: 726_000 picoseconds.
Weight::from_parts(818_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1000))
// Standard Error: 1_662
.saturating_add(Weight::from_parts(480_881, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
/// Storage: Skipped Metadata (r:0 w:0)
/// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
/// The range of component `i` is `[0, 1000]`.
fn kill_storage(_i: u32, ) -> Weight {
fn kill_storage(i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 71_131_000 picoseconds.
Weight::from_parts(6_122_677_000, 0)
// Minimum execution time: 754_000 picoseconds.
Weight::from_parts(791_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1000))
// Standard Error: 990
.saturating_add(Weight::from_parts(429_701, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
/// Storage: Skipped Metadata (r:0 w:0)
/// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
/// The range of component `p` is `[0, 1000]`.
fn kill_prefix(_p: u32, ) -> Weight {
fn kill_prefix(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `55 + p * (69 ±0)`
// Estimated: `69676`
// Minimum execution time: 109_232_000 picoseconds.
Weight::from_parts(10_845_636_000, 0)
.saturating_add(Weight::from_parts(0, 69676))
.saturating_add(T::DbWeight::get().reads(1000))
.saturating_add(T::DbWeight::get().writes(1000))
// Measured: `83 + p * (69 ±0)`
// Estimated: `89 + p * (70 ±0)`
// Minimum execution time: 1_983_000 picoseconds.
Weight::from_parts(2_061_000, 0)
.saturating_add(Weight::from_parts(0, 89))
// Standard Error: 1_558
.saturating_add(Weight::from_parts(1_159_341, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
.saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into()))
}
}
31 changes: 16 additions & 15 deletions runtime/trappist/src/weights/pallet_asset_registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,24 @@
//! Autogenerated weights for `pallet_asset_registry`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-07-28, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-07-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `kalan-x1x`, CPU: `12th Gen Intel(R) Core(TM) i7-12800H`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
//! HOSTNAME: `runner-ynta1nyy-project-647-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("trappist-dev"), DB CACHE: 1024

// Executed Command:
// target/debug/trappist-node
// ./target/production/trappist-node
// benchmark
// pallet
// --chain
// dev
// --execution=wasm
// --chain=trappist-dev
// --steps=50
// --repeat=20
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --pallet=pallet_asset_registry
// --extrinsic=*
// --wasm-execution=compiled
// --pallet
// *
// --extrinsic
// *
// --header=./templates/file_header.txt
// --output=./runtime/trappist/src/weights/

Expand All @@ -59,8 +60,8 @@ impl<T: frame_system::Config> pallet_asset_registry::WeightInfo for WeightInfo<T
// Proof Size summary in bytes:
// Measured: `123`
// Estimated: `4087`
// Minimum execution time: 350_001_000 picoseconds.
Weight::from_parts(350_001_000, 0)
// Minimum execution time: 9_328_000 picoseconds.
Weight::from_parts(9_672_000, 0)
.saturating_add(Weight::from_parts(0, 4087))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
Expand All @@ -73,8 +74,8 @@ impl<T: frame_system::Config> pallet_asset_registry::WeightInfo for WeightInfo<T
// Proof Size summary in bytes:
// Measured: `107`
// Estimated: `4087`
// Minimum execution time: 281_394_000 picoseconds.
Weight::from_parts(281_394_000, 0)
// Minimum execution time: 7_481_000 picoseconds.
Weight::from_parts(7_871_000, 0)
.saturating_add(Weight::from_parts(0, 4087))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
Expand Down
Loading

0 comments on commit 8f6b9de

Please sign in to comment.