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

fix: update benchmark command #1631

Merged
merged 4 commits into from
Jul 10, 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
61 changes: 31 additions & 30 deletions pallets/capacity/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_capacity
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-06-14, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-07-07, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `benchmark-runner-qpqf8-s8p9h`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
//! HOSTNAME: `benchmark-runner-qpqf8-fp5d5`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("frequency-bench"), DB CACHE: 1024

// Executed Command:
Expand All @@ -34,6 +34,7 @@
// --execution=wasm
// --heap-pages=4096
// --wasm-execution=compiled
// --additional-trie-layers=20
// --steps=20
// --repeat=10
// --output=./scripts/../pallets/capacity/src/weights.rs
Expand Down Expand Up @@ -74,9 +75,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn stake() -> Weight {
// Proof Size summary in bytes:
// Measured: `223`
// Estimated: `4764`
// Minimum execution time: 46_287_000 picoseconds.
Weight::from_parts(46_809_000, 4764)
// Estimated: `13674`
// Minimum execution time: 45_918_000 picoseconds.
Weight::from_parts(47_480_000, 13674)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
Expand All @@ -89,9 +90,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn withdraw_unstaked() -> Weight {
// Proof Size summary in bytes:
// Measured: `339`
// Estimated: `4764`
// Minimum execution time: 34_827_000 picoseconds.
Weight::from_parts(35_887_000, 4764)
// Estimated: `13674`
// Minimum execution time: 35_738_000 picoseconds.
Weight::from_parts(36_291_000, 13674)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
Expand All @@ -102,9 +103,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn on_initialize() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `1489`
// Minimum execution time: 3_754_000 picoseconds.
Weight::from_parts(3_826_000, 1489)
// Estimated: `10399`
// Minimum execution time: 3_605_000 picoseconds.
Weight::from_parts(3_856_000, 10399)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -121,9 +122,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn unstake() -> Weight {
// Proof Size summary in bytes:
// Measured: `433`
// Estimated: `4764`
// Minimum execution time: 41_381_000 picoseconds.
Weight::from_parts(41_756_000, 4764)
// Estimated: `13674`
// Minimum execution time: 41_260_000 picoseconds.
Weight::from_parts(42_223_000, 13674)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
Expand All @@ -133,8 +134,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_563_000 picoseconds.
Weight::from_parts(6_943_000, 0)
// Minimum execution time: 6_446_000 picoseconds.
Weight::from_parts(6_891_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
}
Expand All @@ -156,9 +157,9 @@ impl WeightInfo for () {
fn stake() -> Weight {
// Proof Size summary in bytes:
// Measured: `223`
// Estimated: `4764`
// Minimum execution time: 46_287_000 picoseconds.
Weight::from_parts(46_809_000, 4764)
// Estimated: `13674`
// Minimum execution time: 45_918_000 picoseconds.
Weight::from_parts(47_480_000, 13674)
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
Expand All @@ -171,9 +172,9 @@ impl WeightInfo for () {
fn withdraw_unstaked() -> Weight {
// Proof Size summary in bytes:
// Measured: `339`
// Estimated: `4764`
// Minimum execution time: 34_827_000 picoseconds.
Weight::from_parts(35_887_000, 4764)
// Estimated: `13674`
// Minimum execution time: 35_738_000 picoseconds.
Weight::from_parts(36_291_000, 13674)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
Expand All @@ -184,9 +185,9 @@ impl WeightInfo for () {
fn on_initialize() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `1489`
// Minimum execution time: 3_754_000 picoseconds.
Weight::from_parts(3_826_000, 1489)
// Estimated: `10399`
// Minimum execution time: 3_605_000 picoseconds.
Weight::from_parts(3_856_000, 10399)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
Expand All @@ -203,9 +204,9 @@ impl WeightInfo for () {
fn unstake() -> Weight {
// Proof Size summary in bytes:
// Measured: `433`
// Estimated: `4764`
// Minimum execution time: 41_381_000 picoseconds.
Weight::from_parts(41_756_000, 4764)
// Estimated: `13674`
// Minimum execution time: 41_260_000 picoseconds.
Weight::from_parts(42_223_000, 13674)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
Expand All @@ -215,8 +216,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_563_000 picoseconds.
Weight::from_parts(6_943_000, 0)
// Minimum execution time: 6_446_000 picoseconds.
Weight::from_parts(6_891_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
}
29 changes: 15 additions & 14 deletions pallets/frequency-tx-payment/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_frequency_tx_payment
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-06-14, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-07-07, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `benchmark-runner-qpqf8-s8p9h`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
//! HOSTNAME: `benchmark-runner-qpqf8-fp5d5`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("frequency-bench"), DB CACHE: 1024

// Executed Command:
Expand All @@ -34,6 +34,7 @@
// --execution=wasm
// --heap-pages=4096
// --wasm-execution=compiled
// --additional-trie-layers=20
// --steps=20
// --repeat=10
// --output=./scripts/../pallets/frequency-tx-payment/src/weights.rs
Expand All @@ -60,18 +61,18 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_570_000 picoseconds.
Weight::from_parts(3_819_000, 0)
// Minimum execution time: 3_613_000 picoseconds.
Weight::from_parts(3_860_000, 0)
}
/// The range of component `n` is `[0, 2]`.
fn pay_with_capacity_batch_all(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_223_000 picoseconds.
Weight::from_parts(7_812_075, 0)
// Standard Error: 35_447
.saturating_add(Weight::from_parts(5_511_109, 0).saturating_mul(n.into()))
// Minimum execution time: 7_348_000 picoseconds.
Weight::from_parts(7_847_302, 0)
// Standard Error: 38_669
.saturating_add(Weight::from_parts(5_599_192, 0).saturating_mul(n.into()))
}
}

Expand All @@ -81,17 +82,17 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_570_000 picoseconds.
Weight::from_parts(3_819_000, 0)
// Minimum execution time: 3_613_000 picoseconds.
Weight::from_parts(3_860_000, 0)
}
/// The range of component `n` is `[0, 2]`.
fn pay_with_capacity_batch_all(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_223_000 picoseconds.
Weight::from_parts(7_812_075, 0)
// Standard Error: 35_447
.saturating_add(Weight::from_parts(5_511_109, 0).saturating_mul(n.into()))
// Minimum execution time: 7_348_000 picoseconds.
Weight::from_parts(7_847_302, 0)
// Standard Error: 38_669
.saturating_add(Weight::from_parts(5_599_192, 0).saturating_mul(n.into()))
}
}
37 changes: 19 additions & 18 deletions pallets/handles/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_handles
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-06-14, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-07-07, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `benchmark-runner-qpqf8-s8p9h`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
//! HOSTNAME: `benchmark-runner-qpqf8-fp5d5`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("frequency-bench"), DB CACHE: 1024

// Executed Command:
Expand All @@ -34,6 +34,7 @@
// --execution=wasm
// --heap-pages=4096
// --wasm-execution=compiled
// --additional-trie-layers=20
// --steps=20
// --repeat=10
// --output=./scripts/../pallets/handles/src/weights.rs
Expand Down Expand Up @@ -68,11 +69,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn claim_handle(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `191`
// Estimated: `3524`
// Minimum execution time: 82_452_000 picoseconds.
Weight::from_parts(84_478_572, 3524)
// Standard Error: 20_071
.saturating_add(Weight::from_parts(141_713, 0).saturating_mul(b.into()))
// Estimated: `12434`
// Minimum execution time: 82_806_000 picoseconds.
Weight::from_parts(84_463_033, 12434)
// Standard Error: 37_673
.saturating_add(Weight::from_parts(223_583, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
Expand All @@ -85,9 +86,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn retire_handle() -> Weight {
// Proof Size summary in bytes:
// Measured: `306`
// Estimated: `3524`
// Minimum execution time: 22_869_000 picoseconds.
Weight::from_parts(23_597_000, 3524)
// Estimated: `12434`
// Minimum execution time: 22_834_000 picoseconds.
Weight::from_parts(23_140_000, 12434)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
Expand All @@ -107,11 +108,11 @@ impl WeightInfo for () {
fn claim_handle(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `191`
// Estimated: `3524`
// Minimum execution time: 82_452_000 picoseconds.
Weight::from_parts(84_478_572, 3524)
// Standard Error: 20_071
.saturating_add(Weight::from_parts(141_713, 0).saturating_mul(b.into()))
// Estimated: `12434`
// Minimum execution time: 82_806_000 picoseconds.
Weight::from_parts(84_463_033, 12434)
// Standard Error: 37_673
.saturating_add(Weight::from_parts(223_583, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
Expand All @@ -124,9 +125,9 @@ impl WeightInfo for () {
fn retire_handle() -> Weight {
// Proof Size summary in bytes:
// Measured: `306`
// Estimated: `3524`
// Minimum execution time: 22_869_000 picoseconds.
Weight::from_parts(23_597_000, 3524)
// Estimated: `12434`
// Minimum execution time: 22_834_000 picoseconds.
Weight::from_parts(23_140_000, 12434)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
Expand Down
37 changes: 19 additions & 18 deletions pallets/messages/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_messages
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-06-14, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-07-07, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `benchmark-runner-qpqf8-s8p9h`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
//! HOSTNAME: `benchmark-runner-qpqf8-fp5d5`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("frequency-bench"), DB CACHE: 1024

// Executed Command:
Expand All @@ -34,6 +34,7 @@
// --execution=wasm
// --heap-pages=4096
// --wasm-execution=compiled
// --additional-trie-layers=20
// --steps=20
// --repeat=10
// --output=./scripts/../pallets/messages/src/weights.rs
Expand Down Expand Up @@ -68,11 +69,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn add_onchain_message(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `46773`
// Estimated: `50238`
// Minimum execution time: 163_628_000 picoseconds.
Weight::from_parts(165_296_492, 50238)
// Standard Error: 37
.saturating_add(Weight::from_parts(1_257, 0).saturating_mul(n.into()))
// Estimated: `59148`
// Minimum execution time: 180_329_000 picoseconds.
Weight::from_parts(179_112_822, 59148)
// Standard Error: 52
.saturating_add(Weight::from_parts(1_852, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -85,9 +86,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn add_ipfs_message() -> Weight {
// Proof Size summary in bytes:
// Measured: `36289`
// Estimated: `39754`
// Minimum execution time: 150_327_000 picoseconds.
Weight::from_parts(159_656_000, 39754)
// Estimated: `48664`
// Minimum execution time: 169_213_000 picoseconds.
Weight::from_parts(174_485_000, 48664)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -107,11 +108,11 @@ impl WeightInfo for () {
fn add_onchain_message(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `46773`
// Estimated: `50238`
// Minimum execution time: 163_628_000 picoseconds.
Weight::from_parts(165_296_492, 50238)
// Standard Error: 37
.saturating_add(Weight::from_parts(1_257, 0).saturating_mul(n.into()))
// Estimated: `59148`
// Minimum execution time: 180_329_000 picoseconds.
Weight::from_parts(179_112_822, 59148)
// Standard Error: 52
.saturating_add(Weight::from_parts(1_852, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
Expand All @@ -124,9 +125,9 @@ impl WeightInfo for () {
fn add_ipfs_message() -> Weight {
// Proof Size summary in bytes:
// Measured: `36289`
// Estimated: `39754`
// Minimum execution time: 150_327_000 picoseconds.
Weight::from_parts(159_656_000, 39754)
// Estimated: `48664`
// Minimum execution time: 169_213_000 picoseconds.
Weight::from_parts(174_485_000, 48664)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
Expand Down
Loading