Skip to content

Commit

Permalink
Update weights for release v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
do-not-reply committed Apr 4, 2023
1 parent f091423 commit d741305
Show file tree
Hide file tree
Showing 19 changed files with 454 additions and 496 deletions.
16 changes: 8 additions & 8 deletions pallets/messages/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,17 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Msa DelegatorAndProviderToDelegation (r:1 w:0)
// Storage: Messages Messages (r:1 w:1)
fn add_onchain_message(n: u32, ) -> Weight {
Weight::from_ref_time(150_375_758 as u64)
// Standard Error: 54
.saturating_add(Weight::from_ref_time(1_135 as u64).saturating_mul(n as u64))
Weight::from_ref_time(139_706_654 as u64)
// Standard Error: 47
.saturating_add(Weight::from_ref_time(1_661 as u64).saturating_mul(n as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Schemas Schemas (r:1 w:0)
// Storage: Msa PublicKeyToMsaId (r:1 w:0)
// Storage: Messages Messages (r:1 w:1)
fn add_ipfs_message() -> Weight {
Weight::from_ref_time(130_347_000 as u64)
Weight::from_ref_time(133_803_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
Expand All @@ -85,17 +85,17 @@ impl WeightInfo for () {
// Storage: Msa DelegatorAndProviderToDelegation (r:1 w:0)
// Storage: Messages Messages (r:1 w:1)
fn add_onchain_message(n: u32, ) -> Weight {
Weight::from_ref_time(150_375_758 as u64)
// Standard Error: 54
.saturating_add(Weight::from_ref_time(1_135 as u64).saturating_mul(n as u64))
Weight::from_ref_time(139_706_654 as u64)
// Standard Error: 47
.saturating_add(Weight::from_ref_time(1_661 as u64).saturating_mul(n as u64))
.saturating_add(RocksDbWeight::get().reads(4 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Schemas Schemas (r:1 w:0)
// Storage: Msa PublicKeyToMsaId (r:1 w:0)
// Storage: Messages Messages (r:1 w:1)
fn add_ipfs_message() -> Weight {
Weight::from_ref_time(130_347_000 as u64)
Weight::from_ref_time(133_803_000 as u64)
.saturating_add(RocksDbWeight::get().reads(3 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
Expand Down
83 changes: 40 additions & 43 deletions pallets/msa/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,20 @@
//! Autogenerated weights for pallet_msa
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-03-06, STEPS: `20`, REPEAT: 10, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-04-04, STEPS: `20`, REPEAT: 10, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("frequency-bench"), DB CACHE: 1024
// Executed Command:
// ./scripts/../target/production/frequency
// benchmark
// pallet
// --pallet
// pallet_msa
// --pallet=pallet_msa
// --extrinsic
// *
// --chain=frequency-bench
// --execution
// wasm
// --execution=wasm
// --heap-pages=4096
// --wasm-execution
// compiled
// --wasm-execution=compiled
// --steps=20
// --repeat=10
// --output=./scripts/../pallets/msa/src/weights.rs
Expand Down Expand Up @@ -74,7 +71,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Msa PublicKeyToMsaId (r:1 w:1)
// Storage: Msa PublicKeyCountForMsaId (r:1 w:1)
fn create() -> Weight {
Weight::from_ref_time(20_346_000 as u64)
Weight::from_ref_time(19_944_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
Expand All @@ -87,16 +84,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Msa DelegatorAndProviderToDelegation (r:1 w:1)
// Storage: Schemas CurrentSchemaIdentifierMaximum (r:1 w:0)
fn create_sponsored_account_with_delegation(s: u32, ) -> Weight {
Weight::from_ref_time(120_847_935 as u64)
// Standard Error: 19_381
.saturating_add(Weight::from_ref_time(75_366 as u64).saturating_mul(s as u64))
Weight::from_ref_time(122_189_854 as u64)
// Standard Error: 22_663
.saturating_add(Weight::from_ref_time(33_686 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(10 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
}
// Storage: Msa PublicKeyToMsaId (r:1 w:0)
// Storage: Msa DelegatorAndProviderToDelegation (r:1 w:1)
fn revoke_delegation_by_provider() -> Weight {
Weight::from_ref_time(22_287_000 as u64)
Weight::from_ref_time(22_836_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
Expand All @@ -105,21 +102,21 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Msa PublicKeyToMsaId (r:2 w:1)
// Storage: Msa PublicKeyCountForMsaId (r:1 w:1)
fn add_public_key_to_msa() -> Weight {
Weight::from_ref_time(174_576_000 as u64)
Weight::from_ref_time(175_906_000 as u64)
.saturating_add(T::DbWeight::get().reads(8 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
}
// Storage: Msa PublicKeyToMsaId (r:2 w:1)
// Storage: Msa PublicKeyCountForMsaId (r:1 w:1)
fn delete_msa_public_key() -> Weight {
Weight::from_ref_time(33_278_000 as u64)
Weight::from_ref_time(33_851_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Msa PublicKeyToMsaId (r:1 w:1)
// Storage: Msa PublicKeyCountForMsaId (r:1 w:1)
fn retire_msa() -> Weight {
Weight::from_ref_time(25_417_000 as u64)
Weight::from_ref_time(26_117_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
Expand All @@ -130,30 +127,30 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Msa DelegatorAndProviderToDelegation (r:1 w:1)
// Storage: Schemas CurrentSchemaIdentifierMaximum (r:1 w:0)
fn grant_delegation(s: u32, ) -> Weight {
Weight::from_ref_time(114_381_766 as u64)
// Standard Error: 24_176
.saturating_add(Weight::from_ref_time(79_652 as u64).saturating_mul(s as u64))
Weight::from_ref_time(114_710_809 as u64)
// Standard Error: 17_449
.saturating_add(Weight::from_ref_time(99_037 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(8 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
// Storage: Msa PublicKeyToMsaId (r:1 w:0)
// Storage: Msa DelegatorAndProviderToDelegation (r:1 w:1)
fn revoke_delegation_by_delegator() -> Weight {
Weight::from_ref_time(23_065_000 as u64)
Weight::from_ref_time(22_976_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Msa PublicKeyToMsaId (r:1 w:0)
// Storage: Msa ProviderToRegistryEntry (r:1 w:1)
fn create_provider() -> Weight {
Weight::from_ref_time(19_836_000 as u64)
Weight::from_ref_time(19_903_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Msa PublicKeyToMsaId (r:1 w:0)
// Storage: Msa ProviderToRegistryEntry (r:1 w:1)
fn create_provider_via_governance() -> Weight {
Weight::from_ref_time(19_798_000 as u64)
Weight::from_ref_time(20_298_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
Expand All @@ -163,17 +160,17 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Council ProposalCount (r:1 w:1)
// Storage: Council Voting (r:0 w:1)
fn propose_to_be_provider() -> Weight {
Weight::from_ref_time(29_116_000 as u64)
Weight::from_ref_time(28_636_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
// Storage: Msa PublicKeyToMsaId (r:1 w:0)
// Storage: Msa DelegatorAndProviderToDelegation (r:1 w:1)
// Storage: Schemas CurrentSchemaIdentifierMaximum (r:1 w:0)
fn revoke_schema_permissions(s: u32, ) -> Weight {
Weight::from_ref_time(26_787_530 as u64)
// Standard Error: 11_636
.saturating_add(Weight::from_ref_time(126_492 as u64).saturating_mul(s as u64))
Weight::from_ref_time(28_346_286 as u64)
// Standard Error: 19_204
.saturating_add(Weight::from_ref_time(117_616 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
Expand All @@ -185,7 +182,7 @@ impl WeightInfo for () {
// Storage: Msa PublicKeyToMsaId (r:1 w:1)
// Storage: Msa PublicKeyCountForMsaId (r:1 w:1)
fn create() -> Weight {
Weight::from_ref_time(20_346_000 as u64)
Weight::from_ref_time(19_944_000 as u64)
.saturating_add(RocksDbWeight::get().reads(3 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
Expand All @@ -198,16 +195,16 @@ impl WeightInfo for () {
// Storage: Msa DelegatorAndProviderToDelegation (r:1 w:1)
// Storage: Schemas CurrentSchemaIdentifierMaximum (r:1 w:0)
fn create_sponsored_account_with_delegation(s: u32, ) -> Weight {
Weight::from_ref_time(120_847_935 as u64)
// Standard Error: 19_381
.saturating_add(Weight::from_ref_time(75_366 as u64).saturating_mul(s as u64))
Weight::from_ref_time(122_189_854 as u64)
// Standard Error: 22_663
.saturating_add(Weight::from_ref_time(33_686 as u64).saturating_mul(s as u64))
.saturating_add(RocksDbWeight::get().reads(10 as u64))
.saturating_add(RocksDbWeight::get().writes(7 as u64))
}
// Storage: Msa PublicKeyToMsaId (r:1 w:0)
// Storage: Msa DelegatorAndProviderToDelegation (r:1 w:1)
fn revoke_delegation_by_provider() -> Weight {
Weight::from_ref_time(22_287_000 as u64)
Weight::from_ref_time(22_836_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
Expand All @@ -216,21 +213,21 @@ impl WeightInfo for () {
// Storage: Msa PublicKeyToMsaId (r:2 w:1)
// Storage: Msa PublicKeyCountForMsaId (r:1 w:1)
fn add_public_key_to_msa() -> Weight {
Weight::from_ref_time(174_576_000 as u64)
Weight::from_ref_time(175_906_000 as u64)
.saturating_add(RocksDbWeight::get().reads(8 as u64))
.saturating_add(RocksDbWeight::get().writes(7 as u64))
}
// Storage: Msa PublicKeyToMsaId (r:2 w:1)
// Storage: Msa PublicKeyCountForMsaId (r:1 w:1)
fn delete_msa_public_key() -> Weight {
Weight::from_ref_time(33_278_000 as u64)
Weight::from_ref_time(33_851_000 as u64)
.saturating_add(RocksDbWeight::get().reads(3 as u64))
.saturating_add(RocksDbWeight::get().writes(2 as u64))
}
// Storage: Msa PublicKeyToMsaId (r:1 w:1)
// Storage: Msa PublicKeyCountForMsaId (r:1 w:1)
fn retire_msa() -> Weight {
Weight::from_ref_time(25_417_000 as u64)
Weight::from_ref_time(26_117_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(2 as u64))
}
Expand All @@ -241,30 +238,30 @@ impl WeightInfo for () {
// Storage: Msa DelegatorAndProviderToDelegation (r:1 w:1)
// Storage: Schemas CurrentSchemaIdentifierMaximum (r:1 w:0)
fn grant_delegation(s: u32, ) -> Weight {
Weight::from_ref_time(114_381_766 as u64)
// Standard Error: 24_176
.saturating_add(Weight::from_ref_time(79_652 as u64).saturating_mul(s as u64))
Weight::from_ref_time(114_710_809 as u64)
// Standard Error: 17_449
.saturating_add(Weight::from_ref_time(99_037 as u64).saturating_mul(s as u64))
.saturating_add(RocksDbWeight::get().reads(8 as u64))
.saturating_add(RocksDbWeight::get().writes(4 as u64))
}
// Storage: Msa PublicKeyToMsaId (r:1 w:0)
// Storage: Msa DelegatorAndProviderToDelegation (r:1 w:1)
fn revoke_delegation_by_delegator() -> Weight {
Weight::from_ref_time(23_065_000 as u64)
Weight::from_ref_time(22_976_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Msa PublicKeyToMsaId (r:1 w:0)
// Storage: Msa ProviderToRegistryEntry (r:1 w:1)
fn create_provider() -> Weight {
Weight::from_ref_time(19_836_000 as u64)
Weight::from_ref_time(19_903_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Msa PublicKeyToMsaId (r:1 w:0)
// Storage: Msa ProviderToRegistryEntry (r:1 w:1)
fn create_provider_via_governance() -> Weight {
Weight::from_ref_time(19_798_000 as u64)
Weight::from_ref_time(20_298_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
Expand All @@ -274,17 +271,17 @@ impl WeightInfo for () {
// Storage: Council ProposalCount (r:1 w:1)
// Storage: Council Voting (r:0 w:1)
fn propose_to_be_provider() -> Weight {
Weight::from_ref_time(29_116_000 as u64)
Weight::from_ref_time(28_636_000 as u64)
.saturating_add(RocksDbWeight::get().reads(4 as u64))
.saturating_add(RocksDbWeight::get().writes(4 as u64))
}
// Storage: Msa PublicKeyToMsaId (r:1 w:0)
// Storage: Msa DelegatorAndProviderToDelegation (r:1 w:1)
// Storage: Schemas CurrentSchemaIdentifierMaximum (r:1 w:0)
fn revoke_schema_permissions(s: u32, ) -> Weight {
Weight::from_ref_time(26_787_530 as u64)
// Standard Error: 11_636
.saturating_add(Weight::from_ref_time(126_492 as u64).saturating_mul(s as u64))
Weight::from_ref_time(28_346_286 as u64)
// Standard Error: 19_204
.saturating_add(Weight::from_ref_time(117_616 as u64).saturating_mul(s as u64))
.saturating_add(RocksDbWeight::get().reads(3 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
Expand Down
Loading

0 comments on commit d741305

Please sign in to comment.