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

[benchmarking bot] Update generated weights files #2409

Merged
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
128 changes: 25 additions & 103 deletions runtime/rococo/src/weights/pallet_vc_management.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_vc_management`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-10-17, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2024-01-19, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 20
Expand Down Expand Up @@ -55,8 +55,8 @@ impl<T: frame_system::Config> pallet_vc_management::WeightInfo for WeightInfo<T>
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 12_852_000 picoseconds.
Weight::from_parts(13_659_000, 0)
// Minimum execution time: 13_106_000 picoseconds.
Weight::from_parts(13_694_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand All @@ -66,8 +66,8 @@ impl<T: frame_system::Config> pallet_vc_management::WeightInfo for WeightInfo<T>
// Proof Size summary in bytes:
// Measured: `113`
// Estimated: `3513`
// Minimum execution time: 19_272_000 picoseconds.
Weight::from_parts(20_217_000, 0)
// Minimum execution time: 18_896_000 picoseconds.
Weight::from_parts(19_619_000, 0)
.saturating_add(Weight::from_parts(0, 3513))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -78,61 +78,30 @@ impl<T: frame_system::Config> pallet_vc_management::WeightInfo for WeightInfo<T>
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `1527`
// Minimum execution time: 15_305_000 picoseconds.
Weight::from_parts(15_766_000, 0)
// Minimum execution time: 15_223_000 picoseconds.
Weight::from_parts(15_591_000, 0)
.saturating_add(Weight::from_parts(0, 1527))
.saturating_add(T::DbWeight::get().reads(1))
}
/// Storage: VCMPExtrinsicWhitelist GroupControlOn (r:1 w:0)
/// Proof Skipped: VCMPExtrinsicWhitelist GroupControlOn (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: VCManagement VCRegistry (r:1 w:1)
/// Proof: VCManagement VCRegistry (max_values: None, max_size: Some(381), added: 2856, mode: MaxEncodedLen)
fn disable_vc() -> Weight {
// Proof Size summary in bytes:
// Measured: `224`
// Estimated: `3846`
// Minimum execution time: 23_455_000 picoseconds.
Weight::from_parts(23_974_000, 0)
.saturating_add(Weight::from_parts(0, 3846))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: VCMPExtrinsicWhitelist GroupControlOn (r:1 w:0)
/// Proof Skipped: VCMPExtrinsicWhitelist GroupControlOn (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: VCManagement VCRegistry (r:1 w:1)
/// Proof: VCManagement VCRegistry (max_values: None, max_size: Some(381), added: 2856, mode: MaxEncodedLen)
fn revoke_vc() -> Weight {
// Proof Size summary in bytes:
// Measured: `224`
// Estimated: `3846`
// Minimum execution time: 23_458_000 picoseconds.
Weight::from_parts(24_091_000, 0)
.saturating_add(Weight::from_parts(0, 3846))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: Teerex EnclaveIndex (r:1 w:0)
/// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured)
/// Storage: VCManagement VCRegistry (r:1 w:1)
/// Proof: VCManagement VCRegistry (max_values: None, max_size: Some(381), added: 2856, mode: MaxEncodedLen)
fn vc_issued() -> Weight {
// Proof Size summary in bytes:
// Measured: `298`
// Estimated: `3846`
// Minimum execution time: 26_449_000 picoseconds.
Weight::from_parts(27_004_000, 0)
.saturating_add(Weight::from_parts(0, 3846))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
// Measured: `255`
// Estimated: `3720`
// Minimum execution time: 19_485_000 picoseconds.
Weight::from_parts(20_095_000, 0)
.saturating_add(Weight::from_parts(0, 3720))
.saturating_add(T::DbWeight::get().reads(1))
}
/// Storage: Teerex EnclaveIndex (r:1 w:0)
/// Proof Skipped: Teerex EnclaveIndex (max_values: None, max_size: None, mode: Measured)
fn some_error() -> Weight {
// Proof Size summary in bytes:
// Measured: `255`
// Estimated: `3720`
// Minimum execution time: 19_959_000 picoseconds.
Weight::from_parts(20_416_000, 0)
// Minimum execution time: 19_968_000 picoseconds.
Weight::from_parts(20_493_000, 0)
.saturating_add(Weight::from_parts(0, 3720))
.saturating_add(T::DbWeight::get().reads(1))
}
Expand All @@ -142,8 +111,8 @@ impl<T: frame_system::Config> pallet_vc_management::WeightInfo for WeightInfo<T>
// Proof Size summary in bytes:
// Measured: `61`
// Estimated: `1517`
// Minimum execution time: 16_502_000 picoseconds.
Weight::from_parts(16_925_000, 0)
// Minimum execution time: 16_766_000 picoseconds.
Weight::from_parts(17_114_000, 0)
.saturating_add(Weight::from_parts(0, 1517))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -158,8 +127,8 @@ impl<T: frame_system::Config> pallet_vc_management::WeightInfo for WeightInfo<T>
// Proof Size summary in bytes:
// Measured: `61`
// Estimated: `1517`
// Minimum execution time: 20_992_000 picoseconds.
Weight::from_parts(21_499_000, 0)
// Minimum execution time: 21_101_000 picoseconds.
Weight::from_parts(21_527_000, 0)
.saturating_add(Weight::from_parts(0, 1517))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
Expand All @@ -172,8 +141,8 @@ impl<T: frame_system::Config> pallet_vc_management::WeightInfo for WeightInfo<T>
// Proof Size summary in bytes:
// Measured: `179`
// Estimated: `6086`
// Minimum execution time: 21_718_000 picoseconds.
Weight::from_parts(22_198_000, 0)
// Minimum execution time: 21_828_000 picoseconds.
Weight::from_parts(22_239_000, 0)
.saturating_add(Weight::from_parts(0, 6086))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -186,8 +155,8 @@ impl<T: frame_system::Config> pallet_vc_management::WeightInfo for WeightInfo<T>
// Proof Size summary in bytes:
// Measured: `179`
// Estimated: `6086`
// Minimum execution time: 21_612_000 picoseconds.
Weight::from_parts(21_998_000, 0)
// Minimum execution time: 21_223_000 picoseconds.
Weight::from_parts(22_052_000, 0)
.saturating_add(Weight::from_parts(0, 6086))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -200,57 +169,10 @@ impl<T: frame_system::Config> pallet_vc_management::WeightInfo for WeightInfo<T>
// Proof Size summary in bytes:
// Measured: `179`
// Estimated: `6086`
// Minimum execution time: 22_351_000 picoseconds.
Weight::from_parts(22_811_000, 0)
// Minimum execution time: 22_203_000 picoseconds.
Weight::from_parts(22_572_000, 0)
.saturating_add(Weight::from_parts(0, 6086))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: VCManagement Admin (r:1 w:0)
/// Proof: VCManagement Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
/// Storage: VCManagement VCRegistry (r:1 w:1)
/// Proof: VCManagement VCRegistry (max_values: None, max_size: Some(381), added: 2856, mode: MaxEncodedLen)
fn add_vc_registry_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `61`
// Estimated: `3846`
// Minimum execution time: 20_999_000 picoseconds.
Weight::from_parts(21_508_000, 0)
.saturating_add(Weight::from_parts(0, 3846))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: VCManagement Admin (r:1 w:0)
/// Proof: VCManagement Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
/// Storage: VCManagement VCRegistry (r:1 w:1)
/// Proof: VCManagement VCRegistry (max_values: None, max_size: Some(381), added: 2856, mode: MaxEncodedLen)
fn remove_vc_registry_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `200`
// Estimated: `3846`
// Minimum execution time: 22_423_000 picoseconds.
Weight::from_parts(22_897_000, 0)
.saturating_add(Weight::from_parts(0, 3846))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: VCManagement Admin (r:1 w:0)
/// Proof: VCManagement Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
/// Storage: VCManagement VCRegistry (r:100 w:100)
/// Proof: VCManagement VCRegistry (max_values: None, max_size: Some(381), added: 2856, mode: MaxEncodedLen)
/// The range of component `x` is `[0, 100]`.
fn clear_vc_registry(x: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `91 + x * (85 ±0)`
// Estimated: `1517 + x * (2856 ±0)`
// Minimum execution time: 18_216_000 picoseconds.
Weight::from_parts(21_216_060, 0)
.saturating_add(Weight::from_parts(0, 1517))
// Standard Error: 1_701
.saturating_add(Weight::from_parts(1_385_070, 0).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(x.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(x.into())))
.saturating_add(Weight::from_parts(0, 2856).saturating_mul(x.into()))
}
}