Skip to content

Commit

Permalink
chore: temporary bench common/nft/rft
Browse files Browse the repository at this point in the history
  • Loading branch information
mrshiposha committed Oct 5, 2023
1 parent c064a0a commit 39da838
Show file tree
Hide file tree
Showing 3 changed files with 320 additions and 278 deletions.
60 changes: 30 additions & 30 deletions pallets/common/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
//! Autogenerated weights for pallet_common
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-09-30, STEPS: `50`, REPEAT: `400`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-10-05, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! HOSTNAME: `hearthstone`, CPU: `AMD Ryzen 9 7950X3D 16-Core Processor`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
Expand All @@ -20,7 +20,7 @@
// *
// --template=.maintain/frame-weight-template.hbs
// --steps=50
// --repeat=400
// --repeat=80
// --heap-pages=4096
// --output=./pallets/common/src/weights.rs

Expand All @@ -36,7 +36,7 @@ pub trait WeightInfo {
fn set_collection_properties(b: u32, ) -> Weight;
fn delete_collection_properties(b: u32, ) -> Weight;
fn check_accesslist() -> Weight;
fn init_token_properties_common() -> Weight;
fn property_writer_load_collection_info() -> Weight;
}

/// Weights for pallet_common using the Substrate node and recommended hardware.
Expand All @@ -49,10 +49,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `298`
// Estimated: `44457`
// Minimum execution time: 4_987_000 picoseconds.
Weight::from_parts(5_119_000, 44457)
// Standard Error: 7_609
.saturating_add(Weight::from_parts(5_750_459, 0).saturating_mul(b.into()))
// Minimum execution time: 2_840_000 picoseconds.
Weight::from_parts(1_988_405, 44457)
// Standard Error: 7_834
.saturating_add(Weight::from_parts(3_053_965, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -63,10 +63,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `303 + b * (33030 ±0)`
// Estimated: `44457`
// Minimum execution time: 4_923_000 picoseconds.
Weight::from_parts(5_074_000, 44457)
// Standard Error: 36_651
.saturating_add(Weight::from_parts(23_145_677, 0).saturating_mul(b.into()))
// Minimum execution time: 2_770_000 picoseconds.
Weight::from_parts(2_940_000, 44457)
// Standard Error: 30_686
.saturating_add(Weight::from_parts(9_801_835, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -76,20 +76,20 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `373`
// Estimated: `3535`
// Minimum execution time: 4_271_000 picoseconds.
Weight::from_parts(4_461_000, 3535)
// Minimum execution time: 2_830_000 picoseconds.
Weight::from_parts(2_950_000, 3535)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Common IsAdmin (r:1 w:0)
/// Proof: Common IsAdmin (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
/// Storage: Common CollectionPropertyPermissions (r:1 w:0)
/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
fn init_token_properties_common() -> Weight {
fn property_writer_load_collection_info() -> Weight {
// Proof Size summary in bytes:
// Measured: `326`
// Estimated: `20191`
// Minimum execution time: 5_889_000 picoseconds.
Weight::from_parts(6_138_000, 20191)
// Minimum execution time: 3_970_000 picoseconds.
Weight::from_parts(4_140_000, 20191)
.saturating_add(T::DbWeight::get().reads(2_u64))
}
}
Expand All @@ -103,10 +103,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `298`
// Estimated: `44457`
// Minimum execution time: 4_987_000 picoseconds.
Weight::from_parts(5_119_000, 44457)
// Standard Error: 7_609
.saturating_add(Weight::from_parts(5_750_459, 0).saturating_mul(b.into()))
// Minimum execution time: 2_840_000 picoseconds.
Weight::from_parts(1_988_405, 44457)
// Standard Error: 7_834
.saturating_add(Weight::from_parts(3_053_965, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
Expand All @@ -117,10 +117,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `303 + b * (33030 ±0)`
// Estimated: `44457`
// Minimum execution time: 4_923_000 picoseconds.
Weight::from_parts(5_074_000, 44457)
// Standard Error: 36_651
.saturating_add(Weight::from_parts(23_145_677, 0).saturating_mul(b.into()))
// Minimum execution time: 2_770_000 picoseconds.
Weight::from_parts(2_940_000, 44457)
// Standard Error: 30_686
.saturating_add(Weight::from_parts(9_801_835, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
Expand All @@ -130,20 +130,20 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `373`
// Estimated: `3535`
// Minimum execution time: 4_271_000 picoseconds.
Weight::from_parts(4_461_000, 3535)
// Minimum execution time: 2_830_000 picoseconds.
Weight::from_parts(2_950_000, 3535)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Common IsAdmin (r:1 w:0)
/// Proof: Common IsAdmin (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
/// Storage: Common CollectionPropertyPermissions (r:1 w:0)
/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
fn init_token_properties_common() -> Weight {
fn property_writer_load_collection_info() -> Weight {
// Proof Size summary in bytes:
// Measured: `326`
// Estimated: `20191`
// Minimum execution time: 5_889_000 picoseconds.
Weight::from_parts(6_138_000, 20191)
// Minimum execution time: 3_970_000 picoseconds.
Weight::from_parts(4_140_000, 20191)
.saturating_add(RocksDbWeight::get().reads(2_u64))
}
}
Expand Down
Loading

0 comments on commit 39da838

Please sign in to comment.