mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-21 01:41:03 +00:00
Revert back to bare metal runners for weights generation (#6762)
* Revert back to bare metal runners for weights generation * new old weights --------- Co-authored-by: alvicsam <alvicsam@gmail.com>
This commit is contained in:
@@ -16,8 +16,9 @@
|
||||
//! Autogenerated weights for `runtime_common::auctions`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! 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`
|
||||
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm6`, 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:
|
||||
@@ -44,53 +45,94 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `runtime_common::auctions`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Auctions AuctionInfo (r:1 w:1)
|
||||
// Storage: Auctions AuctionCounter (r:1 w:1)
|
||||
/// Storage: Auctions AuctionInfo (r:1 w:1)
|
||||
/// Proof: Auctions AuctionInfo (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
|
||||
/// Storage: Auctions AuctionCounter (r:1 w:1)
|
||||
/// Proof: Auctions AuctionCounter (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
fn new_auction() -> Weight {
|
||||
// Minimum execution time: 18_671 nanoseconds.
|
||||
Weight::from_ref_time(19_227_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4`
|
||||
// Estimated: `1002`
|
||||
// Minimum execution time: 12_160 nanoseconds.
|
||||
Weight::from_ref_time(12_503_000)
|
||||
.saturating_add(Weight::from_proof_size(1002))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Paras ParaLifecycles (r:1 w:0)
|
||||
// Storage: Auctions AuctionCounter (r:1 w:0)
|
||||
// Storage: Auctions AuctionInfo (r:1 w:0)
|
||||
// Storage: Slots Leases (r:1 w:0)
|
||||
// Storage: Auctions Winning (r:1 w:1)
|
||||
// Storage: Auctions ReservedAmounts (r:2 w:2)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// Storage: Paras ParaLifecycles (r:1 w:0)
|
||||
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Auctions AuctionCounter (r:1 w:0)
|
||||
/// Proof: Auctions AuctionCounter (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Auctions AuctionInfo (r:1 w:0)
|
||||
/// Proof: Auctions AuctionInfo (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
|
||||
/// Storage: Slots Leases (r:1 w:0)
|
||||
/// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Auctions Winning (r:1 w:1)
|
||||
/// Proof: Auctions Winning (max_values: None, max_size: Some(1920), added: 4395, mode: MaxEncodedLen)
|
||||
/// Storage: Auctions ReservedAmounts (r:2 w:2)
|
||||
/// Proof: Auctions ReservedAmounts (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn bid() -> Weight {
|
||||
// Minimum execution time: 97_059 nanoseconds.
|
||||
Weight::from_ref_time(107_163_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `792`
|
||||
// Estimated: `19604`
|
||||
// Minimum execution time: 65_701 nanoseconds.
|
||||
Weight::from_ref_time(69_280_000)
|
||||
.saturating_add(Weight::from_proof_size(19604))
|
||||
.saturating_add(T::DbWeight::get().reads(8))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: Auctions AuctionInfo (r:1 w:1)
|
||||
// Storage: Babe NextRandomness (r:1 w:0)
|
||||
// Storage: Babe EpochStart (r:1 w:0)
|
||||
// Storage: Auctions AuctionCounter (r:1 w:0)
|
||||
// Storage: Auctions Winning (r:3600 w:3600)
|
||||
// Storage: Auctions ReservedAmounts (r:37 w:36)
|
||||
// Storage: System Account (r:36 w:36)
|
||||
// Storage: Slots Leases (r:2 w:2)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:1)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
/// Storage: Auctions AuctionInfo (r:1 w:1)
|
||||
/// Proof: Auctions AuctionInfo (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
|
||||
/// Storage: Babe NextRandomness (r:1 w:0)
|
||||
/// Proof: Babe NextRandomness (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
|
||||
/// Storage: Babe EpochStart (r:1 w:0)
|
||||
/// Proof: Babe EpochStart (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
|
||||
/// Storage: Auctions AuctionCounter (r:1 w:0)
|
||||
/// Proof: Auctions AuctionCounter (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Auctions Winning (r:3600 w:3600)
|
||||
/// Proof: Auctions Winning (max_values: None, max_size: Some(1920), added: 4395, mode: MaxEncodedLen)
|
||||
/// Storage: Auctions ReservedAmounts (r:37 w:36)
|
||||
/// Proof: Auctions ReservedAmounts (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:36 w:36)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: Slots Leases (r:2 w:2)
|
||||
/// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Paras ParaLifecycles (r:1 w:1)
|
||||
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Paras ActionsQueue (r:1 w:1)
|
||||
/// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Registrar Paras (r:1 w:1)
|
||||
/// Proof Skipped: Registrar Paras (max_values: None, max_size: None, mode: Measured)
|
||||
fn on_initialize() -> Weight {
|
||||
// Minimum execution time: 18_607_508 nanoseconds.
|
||||
Weight::from_ref_time(19_280_523_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `7060535`
|
||||
// Estimated: `51327080`
|
||||
// Minimum execution time: 15_949_007 nanoseconds.
|
||||
Weight::from_ref_time(16_290_428_000)
|
||||
.saturating_add(Weight::from_proof_size(51327080))
|
||||
.saturating_add(T::DbWeight::get().reads(3683))
|
||||
.saturating_add(T::DbWeight::get().writes(3678))
|
||||
}
|
||||
// Storage: Auctions ReservedAmounts (r:37 w:36)
|
||||
// Storage: System Account (r:36 w:36)
|
||||
// Storage: Auctions Winning (r:0 w:3600)
|
||||
// Storage: Auctions AuctionInfo (r:0 w:1)
|
||||
/// Storage: Auctions ReservedAmounts (r:37 w:36)
|
||||
/// Proof: Auctions ReservedAmounts (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:36 w:36)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: Auctions Winning (r:3600 w:3600)
|
||||
/// Proof: Auctions Winning (max_values: None, max_size: Some(1920), added: 4395, mode: MaxEncodedLen)
|
||||
/// Storage: Auctions AuctionInfo (r:0 w:1)
|
||||
/// Proof: Auctions AuctionInfo (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
|
||||
fn cancel_auction() -> Weight {
|
||||
// Minimum execution time: 5_682_998 nanoseconds.
|
||||
Weight::from_ref_time(5_990_328_000)
|
||||
.saturating_add(T::DbWeight::get().reads(73))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `178884`
|
||||
// Estimated: `16009503`
|
||||
// Minimum execution time: 4_736_510 nanoseconds.
|
||||
Weight::from_ref_time(4_892_297_000)
|
||||
.saturating_add(Weight::from_proof_size(16009503))
|
||||
.saturating_add(T::DbWeight::get().reads(3673))
|
||||
.saturating_add(T::DbWeight::get().writes(3673))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user