mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 16:21:02 +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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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_270 nanoseconds.
|
||||
Weight::from_ref_time(19_220_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4`
|
||||
// Estimated: `1002`
|
||||
// Minimum execution time: 11_101 nanoseconds.
|
||||
Weight::from_ref_time(11_448_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: 84_299 nanoseconds.
|
||||
Weight::from_ref_time(87_771_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `725`
|
||||
// Estimated: `19470`
|
||||
// Minimum execution time: 64_698 nanoseconds.
|
||||
Weight::from_ref_time(68_363_000)
|
||||
.saturating_add(Weight::from_proof_size(19470))
|
||||
.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:7 w:7)
|
||||
// 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:7 w:7)
|
||||
/// 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_495_295 nanoseconds.
|
||||
Weight::from_ref_time(18_895_328_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `7060445`
|
||||
// Estimated: `51339005`
|
||||
// Minimum execution time: 15_573_468 nanoseconds.
|
||||
Weight::from_ref_time(16_010_534_000)
|
||||
.saturating_add(Weight::from_proof_size(51339005))
|
||||
.saturating_add(T::DbWeight::get().reads(3688))
|
||||
.saturating_add(T::DbWeight::get().writes(3683))
|
||||
}
|
||||
// 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_498_604 nanoseconds.
|
||||
Weight::from_ref_time(5_618_259_000)
|
||||
.saturating_add(T::DbWeight::get().reads(73))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `178884`
|
||||
// Estimated: `16009503`
|
||||
// Minimum execution time: 4_760_615 nanoseconds.
|
||||
Weight::from_ref_time(4_889_892_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