Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

update weights (0.9.36) #6450

Merged
merged 4 commits into from
Dec 19, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
rococo: update weights (0.9.36)
  • Loading branch information
coderobe committed Dec 16, 2022
commit 1c10f095ff7b35eda77cb84f8eb256f85bb21b4e
20 changes: 10 additions & 10 deletions runtime/rococo/constants/src/weights/block_weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16 (Y/M/D)
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-12-16 (Y/M/D)
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//!
//! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development`
//! WARMUPS: `10`, REPEAT: `100`
Expand All @@ -42,17 +42,17 @@ parameter_types! {
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats nanoseconds:
/// Min, Max: 5_285_413, 5_582_840
/// Average: 5_334_883
/// Median: 5_320_357
/// Std-Dev: 54133.56
/// Min, Max: 448_169, 501_847
/// Average: 458_063
/// Median: 451_532
/// Std-Dev: 12761.42
///
/// Percentiles nanoseconds:
/// 99th: 5_495_378
/// 95th: 5_453_765
/// 75th: 5_352_587
/// 99th: 492_121
/// 95th: 482_566
/// 75th: 457_121
pub const BlockExecutionWeight: Weight =
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(5_334_883));
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(458_063));
}

#[cfg(test)]
Expand Down
20 changes: 10 additions & 10 deletions runtime/rococo/constants/src/weights/extrinsic_weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16 (Y/M/D)
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-12-16 (Y/M/D)
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//!
//! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development`
//! WARMUPS: `10`, REPEAT: `100`
Expand All @@ -42,17 +42,17 @@ parameter_types! {
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats nanoseconds:
/// Min, Max: 86_780, 87_929
/// Average: 87_092
/// Median: 87_029
/// Std-Dev: 244.16
/// Min, Max: 88_825, 91_178
/// Average: 89_399
/// Median: 89_384
/// Std-Dev: 376.08
///
/// Percentiles nanoseconds:
/// 99th: 87_916
/// 95th: 87_727
/// 75th: 87_112
/// 99th: 90_800
/// 95th: 90_033
/// 75th: 89_476
pub const ExtrinsicBaseWeight: Weight =
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(87_092));
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(89_399));
}

#[cfg(test)]
Expand Down
56 changes: 29 additions & 27 deletions runtime/rococo/src/weights/frame_benchmarking_baseline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
//! Autogenerated weights for `frame_benchmarking::baseline`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-12-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024

// Executed Command:
Expand Down Expand Up @@ -46,52 +46,54 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for WeightInfo<T> {
/// The range of component `i` is `[0, 1000000]`.
fn addition(_i: u32, ) -> Weight {
// Minimum execution time: 104 nanoseconds.
Weight::from_ref_time(136_098 as u64)
// Minimum execution time: 108 nanoseconds.
Weight::from_ref_time(121_479)
}
/// The range of component `i` is `[0, 1000000]`.
fn subtraction(_i: u32, ) -> Weight {
// Minimum execution time: 101 nanoseconds.
Weight::from_ref_time(141_859 as u64)
// Minimum execution time: 117 nanoseconds.
Weight::from_ref_time(210_102)
}
/// The range of component `i` is `[0, 1000000]`.
fn multiplication(_i: u32, ) -> Weight {
// Minimum execution time: 106 nanoseconds.
Weight::from_ref_time(142_767 as u64)
// Minimum execution time: 109 nanoseconds.
Weight::from_ref_time(128_603)
}
/// The range of component `i` is `[0, 1000000]`.
fn division(_i: u32, ) -> Weight {
// Minimum execution time: 107 nanoseconds.
Weight::from_ref_time(145_251 as u64)
// Minimum execution time: 108 nanoseconds.
Weight::from_ref_time(123_815)
}
/// The range of component `i` is `[0, 100]`.
fn hashing(_i: u32, ) -> Weight {
// Minimum execution time: 19_899_457 nanoseconds.
Weight::from_ref_time(20_127_184_762 as u64)
fn hashing(i: u32, ) -> Weight {
// Minimum execution time: 20_366_715 nanoseconds.
Weight::from_ref_time(20_558_729_024)
// Standard Error: 191_692
.saturating_add(Weight::from_ref_time(1_124_523).saturating_mul(i.into()))
}
/// The range of component `i` is `[0, 100]`.
fn sr25519_verification(i: u32, ) -> Weight {
// Minimum execution time: 140 nanoseconds.
Weight::from_ref_time(160_000 as u64)
// Standard Error: 8_692
.saturating_add(Weight::from_ref_time(47_038_394 as u64).saturating_mul(i as u64))
// Minimum execution time: 132 nanoseconds.
Weight::from_ref_time(193_000)
// Standard Error: 18_227
.saturating_add(Weight::from_ref_time(47_399_966).saturating_mul(i.into()))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn storage_read(i: u32, ) -> Weight {
// Minimum execution time: 107 nanoseconds.
Weight::from_ref_time(117_000 as u64)
// Standard Error: 4_352
.saturating_add(Weight::from_ref_time(1_945_080 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(i as u64)))
// Minimum execution time: 120 nanoseconds.
Weight::from_ref_time(124_000)
// Standard Error: 4_672
.saturating_add(Weight::from_ref_time(1_966_212).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn storage_write(i: u32, ) -> Weight {
// Minimum execution time: 112 nanoseconds.
Weight::from_ref_time(118_000 as u64)
// Standard Error: 835
.saturating_add(Weight::from_ref_time(321_096 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
// Minimum execution time: 125 nanoseconds.
Weight::from_ref_time(132_000)
// Standard Error: 861
.saturating_add(Weight::from_ref_time(335_750).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
}
54 changes: 27 additions & 27 deletions runtime/rococo/src/weights/frame_system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
//! Autogenerated weights for `frame_system`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-12-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024

// Executed Command:
Expand Down Expand Up @@ -46,51 +46,51 @@ 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 {
// Minimum execution time: 4_020 nanoseconds.
Weight::from_ref_time(4_086_000 as u64)
// Minimum execution time: 3_972 nanoseconds.
Weight::from_ref_time(1_046_371)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(409 as u64).saturating_mul(b as u64))
.saturating_add(Weight::from_ref_time(414).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
// Minimum execution time: 12_989 nanoseconds.
Weight::from_ref_time(13_133_000 as u64)
// Minimum execution time: 12_202 nanoseconds.
Weight::from_ref_time(12_397_000)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_758 as u64).saturating_mul(b as u64))
.saturating_add(Weight::from_ref_time(1_771).saturating_mul(b.into()))
}
// Storage: System Digest (r:1 w:1)
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
fn set_heap_pages() -> Weight {
// Minimum execution time: 8_329 nanoseconds.
Weight::from_ref_time(8_576_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 8_086 nanoseconds.
Weight::from_ref_time(8_345_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn set_storage(i: u32, ) -> Weight {
// Minimum execution time: 4_069 nanoseconds.
Weight::from_ref_time(4_172_000 as u64)
// Standard Error: 2_158
.saturating_add(Weight::from_ref_time(598_068 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
// Minimum execution time: 3_891 nanoseconds.
Weight::from_ref_time(3_984_000)
// Standard Error: 2_058
.saturating_add(Weight::from_ref_time(626_682).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn kill_storage(i: u32, ) -> Weight {
// Minimum execution time: 4_023 nanoseconds.
Weight::from_ref_time(4_103_000 as u64)
// Standard Error: 875
.saturating_add(Weight::from_ref_time(427_793 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
// Minimum execution time: 3_961 nanoseconds.
Weight::from_ref_time(4_055_000)
// Standard Error: 918
.saturating_add(Weight::from_ref_time(446_433).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `p` is `[0, 1000]`.
fn kill_prefix(p: u32, ) -> Weight {
// Minimum execution time: 5_435 nanoseconds.
Weight::from_ref_time(5_565_000 as u64)
// Standard Error: 1_137
.saturating_add(Weight::from_ref_time(970_252 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
// Minimum execution time: 5_698 nanoseconds.
Weight::from_ref_time(5_831_000)
// Standard Error: 1_373
.saturating_add(Weight::from_ref_time(971_252).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_balances`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-12-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024

// Executed Command:
Expand All @@ -27,7 +27,7 @@
// --chain=rococo-dev
// --steps=50
// --repeat=20
// --pallet=pallet-balances
// --pallet=pallet_balances
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
Expand All @@ -48,57 +48,57 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
fn transfer() -> Weight {
// Minimum execution time: 41_176 nanoseconds.
Weight::from_ref_time(42_293_000)
// Minimum execution time: 45_274 nanoseconds.
Weight::from_ref_time(46_391_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: NisCounterpartBalances Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn transfer_keep_alive() -> Weight {
// Minimum execution time: 29_743 nanoseconds.
Weight::from_ref_time(30_329_000)
// Minimum execution time: 31_960 nanoseconds.
Weight::from_ref_time(32_954_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: NisCounterpartBalances Account (r:1 w:1)
// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
fn set_balance_creating() -> Weight {
// Minimum execution time: 19_825 nanoseconds.
Weight::from_ref_time(20_774_000)
// Minimum execution time: 21_467 nanoseconds.
Weight::from_ref_time(22_401_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: NisCounterpartBalances Account (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
fn set_balance_killing() -> Weight {
// Minimum execution time: 27_783 nanoseconds.
Weight::from_ref_time(28_462_000)
// Minimum execution time: 30_013 nanoseconds.
Weight::from_ref_time(31_045_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: NisCounterpartBalances Account (r:2 w:2)
// Storage: System Account (r:2 w:2)
// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
fn force_transfer() -> Weight {
// Minimum execution time: 40_433 nanoseconds.
Weight::from_ref_time(41_444_000)
// Minimum execution time: 43_705 nanoseconds.
Weight::from_ref_time(44_612_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: NisCounterpartBalances Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn transfer_all() -> Weight {
// Minimum execution time: 37_439 nanoseconds.
Weight::from_ref_time(38_570_000)
// Minimum execution time: 40_854 nanoseconds.
Weight::from_ref_time(42_010_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: NisCounterpartBalances Account (r:1 w:1)
fn force_unreserve() -> Weight {
// Minimum execution time: 18_366 nanoseconds.
Weight::from_ref_time(19_170_000)
// Minimum execution time: 20_620 nanoseconds.
Weight::from_ref_time(21_028_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand Down
Loading