Skip to content

Commit

Permalink
Benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
command-bot committed Feb 2, 2023
1 parent c1fd840 commit 82308ce
Show file tree
Hide file tree
Showing 57 changed files with 1,616 additions and 1,778 deletions.
26 changes: 13 additions & 13 deletions pallets/attestation/src/default_weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
//! Autogenerated weights for attestation
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-07, STEPS: {{cmd.steps}}\, REPEAT: {{cmd.repeat}}\, LOW RANGE: {{cmd.lowest_range_values}}\, HIGH RANGE: {{cmd.highest_range_values}}\
//! DATE: 2023-02-01, STEPS: {{cmd.steps}}\, REPEAT: {{cmd.repeat}}\, LOW RANGE: {{cmd.lowest_range_values}}\, HIGH RANGE: {{cmd.highest_range_values}}\
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
Expand Down Expand Up @@ -62,41 +62,41 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Attestation Attestations (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn add() -> Weight {
Weight::from_ref_time(54_325_000 as u64)
Weight::from_ref_time(54_780_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Attestation Attestations (r:1 w:1)
fn revoke() -> Weight {
Weight::from_ref_time(33_435_000 as u64)
Weight::from_ref_time(32_733_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Attestation Attestations (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn remove() -> Weight {
Weight::from_ref_time(51_293_000 as u64)
Weight::from_ref_time(106_759_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Attestation Attestations (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn reclaim_deposit() -> Weight {
Weight::from_ref_time(51_952_000 as u64)
Weight::from_ref_time(115_795_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Attestation Attestations (r:1 w:1)
// Storage: System Account (r:2 w:2)
fn change_deposit_owner() -> Weight {
Weight::from_ref_time(67_531_000 as u64)
Weight::from_ref_time(78_288_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: Attestation Attestations (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn update_deposit() -> Weight {
Weight::from_ref_time(61_904_000 as u64)
Weight::from_ref_time(163_101_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
Expand All @@ -108,41 +108,41 @@ impl WeightInfo for () {
// Storage: Attestation Attestations (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn add() -> Weight {
Weight::from_ref_time(54_325_000 as u64)
Weight::from_ref_time(54_780_000 as u64)
.saturating_add(RocksDbWeight::get().reads(3 as u64))
.saturating_add(RocksDbWeight::get().writes(2 as u64))
}
// Storage: Attestation Attestations (r:1 w:1)
fn revoke() -> Weight {
Weight::from_ref_time(33_435_000 as u64)
Weight::from_ref_time(32_733_000 as u64)
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Attestation Attestations (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn remove() -> Weight {
Weight::from_ref_time(51_293_000 as u64)
Weight::from_ref_time(106_759_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(2 as u64))
}
// Storage: Attestation Attestations (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn reclaim_deposit() -> Weight {
Weight::from_ref_time(51_952_000 as u64)
Weight::from_ref_time(115_795_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(2 as u64))
}
// Storage: Attestation Attestations (r:1 w:1)
// Storage: System Account (r:2 w:2)
fn change_deposit_owner() -> Weight {
Weight::from_ref_time(67_531_000 as u64)
Weight::from_ref_time(78_288_000 as u64)
.saturating_add(RocksDbWeight::get().reads(3 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: Attestation Attestations (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn update_deposit() -> Weight {
Weight::from_ref_time(61_904_000 as u64)
Weight::from_ref_time(163_101_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(2 as u64))
}
Expand Down
14 changes: 7 additions & 7 deletions pallets/ctype/src/default_weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
//! Autogenerated weights for ctype
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-30, STEPS: {{cmd.steps}}\, REPEAT: {{cmd.repeat}}\, LOW RANGE: {{cmd.lowest_range_values}}\, HIGH RANGE: {{cmd.highest_range_values}}\
//! DATE: 2023-02-01, STEPS: {{cmd.steps}}\, REPEAT: {{cmd.repeat}}\, LOW RANGE: {{cmd.lowest_range_values}}\, HIGH RANGE: {{cmd.highest_range_values}}\
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
Expand Down Expand Up @@ -58,15 +58,15 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Ctype Ctypes (r:1 w:1)
/// The range of component `l` is `[1, 5242880]`.
fn add(l: u32, ) -> Weight {
Weight::from_ref_time(10_200_000 as u64)
Weight::from_ref_time(33_628_268 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(l as u64))
.saturating_add(Weight::from_ref_time(1_946 as u64).saturating_mul(l as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: Ctype Ctypes (r:1 w:1)
fn set_block_number() -> Weight {
Weight::from_ref_time(20_685_000 as u64)
Weight::from_ref_time(33_846_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
Expand All @@ -78,15 +78,15 @@ impl WeightInfo for () {
// Storage: Ctype Ctypes (r:1 w:1)
/// The range of component `l` is `[1, 5242880]`.
fn add(l: u32, ) -> Weight {
Weight::from_ref_time(10_200_000 as u64)
Weight::from_ref_time(33_628_268 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(l as u64))
.saturating_add(Weight::from_ref_time(1_946 as u64).saturating_mul(l as u64))
.saturating_add(RocksDbWeight::get().reads(3 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: Ctype Ctypes (r:1 w:1)
fn set_block_number() -> Weight {
Weight::from_ref_time(20_685_000 as u64)
Weight::from_ref_time(33_846_000 as u64)
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
Expand Down
Loading

0 comments on commit 82308ce

Please sign in to comment.