New runners for weights and new weights (#6508)

* [DO NOT MERGE] test new vm runner for weights 2

* add image

* fix merge conflict

* apply weights

* new weights

Co-authored-by: parity-processbot <>
This commit is contained in:
Alexander Samusev
2023-01-24 16:35:26 +01:00
committed by GitHub
parent cc080d0e78
commit 0119a6dae1
166 changed files with 4585 additions and 4550 deletions
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_nis`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -45,40 +45,43 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_nis::WeightInfo for WeightInfo<T> {
// Storage: Nis Queues (r:1 w:1)
// Storage: Balances Reserves (r:1 w:1)
// Storage: Nis QueueTotals (r:1 w:1)
/// The range of component `l` is `[0, 999]`.
fn place_bid(l: u32, ) -> Weight {
// Minimum execution time: 33_926 nanoseconds.
Weight::from_ref_time(36_379_155)
// Standard Error: 691
.saturating_add(Weight::from_ref_time(71_498).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
// Minimum execution time: 38_870 nanoseconds.
Weight::from_ref_time(39_602_991)
// Standard Error: 1_085
.saturating_add(Weight::from_ref_time(91_818).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Nis Queues (r:1 w:1)
// Storage: Balances Reserves (r:1 w:1)
// Storage: Nis QueueTotals (r:1 w:1)
fn place_bid_max() -> Weight {
// Minimum execution time: 105_722 nanoseconds.
Weight::from_ref_time(107_235_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
// Minimum execution time: 130_046 nanoseconds.
Weight::from_ref_time(134_004_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Nis Queues (r:1 w:1)
// Storage: Nis QueueTotals (r:1 w:1)
// Storage: Balances Reserves (r:1 w:1)
/// The range of component `l` is `[1, 1000]`.
fn retract_bid(l: u32, ) -> Weight {
// Minimum execution time: 40_864 nanoseconds.
Weight::from_ref_time(37_489_142)
// Standard Error: 698
.saturating_add(Weight::from_ref_time(60_768).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
// Minimum execution time: 46_356 nanoseconds.
Weight::from_ref_time(41_332_958)
// Standard Error: 955
.saturating_add(Weight::from_ref_time(78_417).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Nis Summary (r:1 w:0)
// Storage: System Account (r:1 w:1)
fn fund_deficit() -> Weight {
// Minimum execution time: 41_359 nanoseconds.
Weight::from_ref_time(41_922_000)
// Minimum execution time: 43_583 nanoseconds.
Weight::from_ref_time(44_814_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -87,31 +90,31 @@ impl<T: frame_system::Config> pallet_nis::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:0)
// Storage: Balances Reserves (r:1 w:1)
fn thaw_private() -> Weight {
// Minimum execution time: 84_000 nanoseconds.
Weight::from_ref_time(85_000_000)
// Minimum execution time: 58_517 nanoseconds.
Weight::from_ref_time(60_162_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Nis Receipts (r:1 w:1)
// Storage: Nis Summary (r:1 w:1)
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:1 w:1)
// Storage: NisCounterpartBalances Account (r:1 w:1)
// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn thaw_communal() -> Weight {
// Minimum execution time: 108_000 nanoseconds.
Weight::from_ref_time(115_000_000)
// Minimum execution time: 74_288 nanoseconds.
Weight::from_ref_time(76_187_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Nis Receipts (r:1 w:1)
// Storage: Nis Summary (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:1 w:1)
// Storage: NisCounterpartBalances Account (r:1 w:1)
// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
// Storage: Balances Reserves (r:1 w:1)
fn privatize() -> Weight {
// Minimum execution time: 107_000 nanoseconds.
Weight::from_ref_time(110_000_000)
// Minimum execution time: 82_045 nanoseconds.
Weight::from_ref_time(84_290_000)
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(6))
}
@@ -119,11 +122,11 @@ impl<T: frame_system::Config> pallet_nis::WeightInfo for WeightInfo<T> {
// Storage: Balances Reserves (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: Nis Summary (r:1 w:1)
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:1 w:1)
// Storage: NisCounterpartBalances Account (r:1 w:1)
// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
fn communify() -> Weight {
// Minimum execution time: 89_000 nanoseconds.
Weight::from_ref_time(89_000_000)
// Minimum execution time: 71_365 nanoseconds.
Weight::from_ref_time(73_197_000)
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(6))
}
@@ -131,24 +134,22 @@ impl<T: frame_system::Config> pallet_nis::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:0)
// Storage: Nis QueueTotals (r:1 w:1)
fn process_queues() -> Weight {
// Minimum execution time: 37_798 nanoseconds.
Weight::from_ref_time(38_855_000)
// Minimum execution time: 46_394 nanoseconds.
Weight::from_ref_time(48_354_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Nis Queues (r:1 w:1)
fn process_queue() -> Weight {
// Minimum execution time: 4_130 nanoseconds.
Weight::from_ref_time(4_316_000)
// Minimum execution time: 4_565 nanoseconds.
Weight::from_ref_time(4_789_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:0)
// Storage: Nis Receipts (r:0 w:1)
fn process_bid() -> Weight {
// Minimum execution time: 13_335 nanoseconds.
Weight::from_ref_time(13_744_000)
.saturating_add(T::DbWeight::get().reads(1))
// Minimum execution time: 11_536 nanoseconds.
Weight::from_ref_time(12_013_000)
.saturating_add(T::DbWeight::get().writes(1))
}
}