mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 07:27:55 +00:00
New Weights for All Pallets (#12325)
* new weights for everything * fix * fmt * new batch * fmt * new batch * Update run_all_benchmarks.sh * add headers * update weights * Update lib.rs * block and extrinsic weight
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,23 +18,24 @@
|
||||
//! Autogenerated weights for pallet_alliance
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// /home/benchbot/cargo_target_dir/production/substrate
|
||||
// ./target/production/substrate
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_alliance
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --pallet=pallet_alliance
|
||||
// --chain=dev
|
||||
// --output=./frame/alliance/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
@@ -80,14 +81,13 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `x` is `[2, 10]`.
|
||||
/// The range of component `y` is `[0, 90]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn propose_proposed(_b: u32, x: u32, y: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(34_420_000 as u64)
|
||||
// Standard Error: 25_000
|
||||
.saturating_add(Weight::from_ref_time(145_000 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(80_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(197_000 as u64).saturating_mul(p as u64))
|
||||
fn propose_proposed(_b: u32, _x: u32, y: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 43_720 nanoseconds.
|
||||
Weight::from_ref_time(44_766_307 as u64)
|
||||
// Standard Error: 2_522
|
||||
.saturating_add(Weight::from_ref_time(54_721 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 2_301
|
||||
.saturating_add(Weight::from_ref_time(173_300 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -95,10 +95,13 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
/// The range of component `x` is `[3, 10]`.
|
||||
/// The range of component `y` is `[2, 90]`.
|
||||
fn vote(_x: u32, y: u32, ) -> Weight {
|
||||
Weight::from_ref_time(48_443_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(115_000 as u64).saturating_mul(y as u64))
|
||||
fn vote(x: u32, y: u32, ) -> Weight {
|
||||
// Minimum execution time: 46_984 nanoseconds.
|
||||
Weight::from_ref_time(46_837_255 as u64)
|
||||
// Standard Error: 32_860
|
||||
.saturating_add(Weight::from_ref_time(273_691 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 2_781
|
||||
.saturating_add(Weight::from_ref_time(126_964 as u64).saturating_mul(y as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -108,9 +111,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: AllianceMotion Voting (r:0 w:1)
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn veto(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(35_056_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(171_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 34_734 nanoseconds.
|
||||
Weight::from_ref_time(37_652_708 as u64)
|
||||
// Standard Error: 1_270
|
||||
.saturating_add(Weight::from_ref_time(183_078 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -123,13 +127,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `y` is `[2, 90]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_disapproved(x: u32, y: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(36_929_000 as u64)
|
||||
// Standard Error: 19_000
|
||||
.saturating_add(Weight::from_ref_time(287_000 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(105_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(180_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 50_147 nanoseconds.
|
||||
Weight::from_ref_time(42_719_616 as u64)
|
||||
// Standard Error: 19_981
|
||||
.saturating_add(Weight::from_ref_time(188_796 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 1_947
|
||||
.saturating_add(Weight::from_ref_time(95_998 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_739
|
||||
.saturating_add(Weight::from_ref_time(177_837 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -142,14 +147,17 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `x` is `[2, 10]`.
|
||||
/// The range of component `y` is `[2, 90]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_approved(b: u32, _x: u32, y: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(48_085_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(100_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(210_000 as u64).saturating_mul(p as u64))
|
||||
fn close_early_approved(b: u32, x: u32, y: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 59_495 nanoseconds.
|
||||
Weight::from_ref_time(53_137_721 as u64)
|
||||
// Standard Error: 138
|
||||
.saturating_add(Weight::from_ref_time(1_979 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 16_388
|
||||
.saturating_add(Weight::from_ref_time(8_198 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 1_599
|
||||
.saturating_add(Weight::from_ref_time(86_577 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_428
|
||||
.saturating_add(Weight::from_ref_time(215_905 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -163,11 +171,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `y` is `[2, 90]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_disapproved(_x: u32, y: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(43_377_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(99_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(190_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 52_405 nanoseconds.
|
||||
Weight::from_ref_time(44_494_732 as u64)
|
||||
// Standard Error: 1_759
|
||||
.saturating_add(Weight::from_ref_time(118_517 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_572
|
||||
.saturating_add(Weight::from_ref_time(198_256 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -181,14 +190,15 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `x` is `[2, 10]`.
|
||||
/// The range of component `y` is `[2, 90]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_approved(_b: u32, x: u32, y: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(41_417_000 as u64)
|
||||
// Standard Error: 14_000
|
||||
.saturating_add(Weight::from_ref_time(67_000 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(88_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(196_000 as u64).saturating_mul(p as u64))
|
||||
fn close_approved(b: u32, _x: u32, y: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 52_737 nanoseconds.
|
||||
Weight::from_ref_time(45_874_458 as u64)
|
||||
// Standard Error: 140
|
||||
.saturating_add(Weight::from_ref_time(601 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 1_623
|
||||
.saturating_add(Weight::from_ref_time(88_372 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_449
|
||||
.saturating_add(Weight::from_ref_time(197_595 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -197,12 +207,15 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `x` is `[1, 10]`.
|
||||
/// The range of component `y` is `[0, 90]`.
|
||||
/// The range of component `z` is `[0, 100]`.
|
||||
fn init_members(_x: u32, y: u32, z: u32, ) -> Weight {
|
||||
Weight::from_ref_time(37_202_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(149_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(120_000 as u64).saturating_mul(z as u64))
|
||||
fn init_members(x: u32, y: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 48_821 nanoseconds.
|
||||
Weight::from_ref_time(32_972_152 as u64)
|
||||
// Standard Error: 17_618
|
||||
.saturating_add(Weight::from_ref_time(230_451 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 1_865
|
||||
.saturating_add(Weight::from_ref_time(172_532 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_682
|
||||
.saturating_add(Weight::from_ref_time(145_258 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -216,13 +229,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `y` is `[0, 100]`.
|
||||
/// The range of component `z` is `[0, 50]`.
|
||||
fn disband(x: u32, y: u32, z: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 9_000
|
||||
.saturating_add(Weight::from_ref_time(1_447_000 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 9_000
|
||||
.saturating_add(Weight::from_ref_time(1_512_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 19_000
|
||||
.saturating_add(Weight::from_ref_time(10_760_000 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 256_235 nanoseconds.
|
||||
Weight::from_ref_time(258_695_000 as u64)
|
||||
// Standard Error: 19_643
|
||||
.saturating_add(Weight::from_ref_time(436_821 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 19_549
|
||||
.saturating_add(Weight::from_ref_time(496_858 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 39_062
|
||||
.saturating_add(Weight::from_ref_time(9_169_692 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(x as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(y as u64)))
|
||||
@@ -232,18 +246,21 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
}
|
||||
// Storage: Alliance Rule (r:0 w:1)
|
||||
fn set_rule() -> Weight {
|
||||
Weight::from_ref_time(18_101_000 as u64)
|
||||
// Minimum execution time: 19_205 nanoseconds.
|
||||
Weight::from_ref_time(19_502_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Alliance Announcements (r:1 w:1)
|
||||
fn announce() -> Weight {
|
||||
Weight::from_ref_time(21_090_000 as u64)
|
||||
// Minimum execution time: 22_562 nanoseconds.
|
||||
Weight::from_ref_time(22_842_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Alliance Announcements (r:1 w:1)
|
||||
fn remove_announcement() -> Weight {
|
||||
Weight::from_ref_time(22_118_000 as u64)
|
||||
// Minimum execution time: 23_773 nanoseconds.
|
||||
Weight::from_ref_time(24_212_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -252,14 +269,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Alliance DepositOf (r:0 w:1)
|
||||
fn join_alliance() -> Weight {
|
||||
Weight::from_ref_time(53_446_000 as u64)
|
||||
// Minimum execution time: 57_709 nanoseconds.
|
||||
Weight::from_ref_time(59_155_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Alliance Members (r:4 w:1)
|
||||
// Storage: Alliance UnscrupulousAccounts (r:1 w:0)
|
||||
fn nominate_ally() -> Weight {
|
||||
Weight::from_ref_time(42_690_000 as u64)
|
||||
// Minimum execution time: 44_576 nanoseconds.
|
||||
Weight::from_ref_time(45_162_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -268,7 +287,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: AllianceMotion Members (r:0 w:1)
|
||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
fn elevate_ally() -> Weight {
|
||||
Weight::from_ref_time(37_396_000 as u64)
|
||||
// Minimum execution time: 38_913 nanoseconds.
|
||||
Weight::from_ref_time(39_637_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -278,7 +298,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
// Storage: Alliance RetiringMembers (r:0 w:1)
|
||||
fn give_retirement_notice() -> Weight {
|
||||
Weight::from_ref_time(40_644_000 as u64)
|
||||
// Minimum execution time: 42_947 nanoseconds.
|
||||
Weight::from_ref_time(43_414_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
@@ -287,7 +308,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Alliance DepositOf (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn retire() -> Weight {
|
||||
Weight::from_ref_time(43_440_000 as u64)
|
||||
// Minimum execution time: 46_281 nanoseconds.
|
||||
Weight::from_ref_time(46_703_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -298,33 +320,36 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: AllianceMotion Members (r:0 w:1)
|
||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
fn kick_member() -> Weight {
|
||||
Weight::from_ref_time(61_060_000 as u64)
|
||||
// Minimum execution time: 65_274 nanoseconds.
|
||||
Weight::from_ref_time(65_762_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: Alliance UnscrupulousAccounts (r:1 w:1)
|
||||
// Storage: Alliance UnscrupulousWebsites (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 100]`.
|
||||
/// The range of component `l` is `[1, 255]`.
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
/// The range of component `l` is `[0, 255]`.
|
||||
fn add_unscrupulous_items(n: u32, l: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(1_362_000 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(113_000 as u64).saturating_mul(l as u64))
|
||||
// Minimum execution time: 17_396 nanoseconds.
|
||||
Weight::from_ref_time(17_638_000 as u64)
|
||||
// Standard Error: 2_602
|
||||
.saturating_add(Weight::from_ref_time(1_286_177 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 1_019
|
||||
.saturating_add(Weight::from_ref_time(70_947 as u64).saturating_mul(l as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Alliance UnscrupulousAccounts (r:1 w:1)
|
||||
// Storage: Alliance UnscrupulousWebsites (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 100]`.
|
||||
/// The range of component `l` is `[1, 255]`.
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
/// The range of component `l` is `[0, 255]`.
|
||||
fn remove_unscrupulous_items(n: u32, l: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 147_000
|
||||
.saturating_add(Weight::from_ref_time(21_060_000 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 57_000
|
||||
.saturating_add(Weight::from_ref_time(3_683_000 as u64).saturating_mul(l as u64))
|
||||
// Minimum execution time: 17_446 nanoseconds.
|
||||
Weight::from_ref_time(17_725_000 as u64)
|
||||
// Standard Error: 163_579
|
||||
.saturating_add(Weight::from_ref_time(12_823_232 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 64_064
|
||||
.saturating_add(Weight::from_ref_time(496_642 as u64).saturating_mul(l as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -341,14 +366,13 @@ impl WeightInfo for () {
|
||||
/// The range of component `x` is `[2, 10]`.
|
||||
/// The range of component `y` is `[0, 90]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn propose_proposed(_b: u32, x: u32, y: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(34_420_000 as u64)
|
||||
// Standard Error: 25_000
|
||||
.saturating_add(Weight::from_ref_time(145_000 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(80_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(197_000 as u64).saturating_mul(p as u64))
|
||||
fn propose_proposed(_b: u32, _x: u32, y: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 43_720 nanoseconds.
|
||||
Weight::from_ref_time(44_766_307 as u64)
|
||||
// Standard Error: 2_522
|
||||
.saturating_add(Weight::from_ref_time(54_721 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 2_301
|
||||
.saturating_add(Weight::from_ref_time(173_300 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -356,10 +380,13 @@ impl WeightInfo for () {
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
/// The range of component `x` is `[3, 10]`.
|
||||
/// The range of component `y` is `[2, 90]`.
|
||||
fn vote(_x: u32, y: u32, ) -> Weight {
|
||||
Weight::from_ref_time(48_443_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(115_000 as u64).saturating_mul(y as u64))
|
||||
fn vote(x: u32, y: u32, ) -> Weight {
|
||||
// Minimum execution time: 46_984 nanoseconds.
|
||||
Weight::from_ref_time(46_837_255 as u64)
|
||||
// Standard Error: 32_860
|
||||
.saturating_add(Weight::from_ref_time(273_691 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 2_781
|
||||
.saturating_add(Weight::from_ref_time(126_964 as u64).saturating_mul(y as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -369,9 +396,10 @@ impl WeightInfo for () {
|
||||
// Storage: AllianceMotion Voting (r:0 w:1)
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn veto(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(35_056_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(171_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 34_734 nanoseconds.
|
||||
Weight::from_ref_time(37_652_708 as u64)
|
||||
// Standard Error: 1_270
|
||||
.saturating_add(Weight::from_ref_time(183_078 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -384,13 +412,14 @@ impl WeightInfo for () {
|
||||
/// The range of component `y` is `[2, 90]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_disapproved(x: u32, y: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(36_929_000 as u64)
|
||||
// Standard Error: 19_000
|
||||
.saturating_add(Weight::from_ref_time(287_000 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(105_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(180_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 50_147 nanoseconds.
|
||||
Weight::from_ref_time(42_719_616 as u64)
|
||||
// Standard Error: 19_981
|
||||
.saturating_add(Weight::from_ref_time(188_796 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 1_947
|
||||
.saturating_add(Weight::from_ref_time(95_998 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_739
|
||||
.saturating_add(Weight::from_ref_time(177_837 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -403,14 +432,17 @@ impl WeightInfo for () {
|
||||
/// The range of component `x` is `[2, 10]`.
|
||||
/// The range of component `y` is `[2, 90]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_approved(b: u32, _x: u32, y: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(48_085_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(100_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(210_000 as u64).saturating_mul(p as u64))
|
||||
fn close_early_approved(b: u32, x: u32, y: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 59_495 nanoseconds.
|
||||
Weight::from_ref_time(53_137_721 as u64)
|
||||
// Standard Error: 138
|
||||
.saturating_add(Weight::from_ref_time(1_979 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 16_388
|
||||
.saturating_add(Weight::from_ref_time(8_198 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 1_599
|
||||
.saturating_add(Weight::from_ref_time(86_577 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_428
|
||||
.saturating_add(Weight::from_ref_time(215_905 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -424,11 +456,12 @@ impl WeightInfo for () {
|
||||
/// The range of component `y` is `[2, 90]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_disapproved(_x: u32, y: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(43_377_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(99_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(190_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 52_405 nanoseconds.
|
||||
Weight::from_ref_time(44_494_732 as u64)
|
||||
// Standard Error: 1_759
|
||||
.saturating_add(Weight::from_ref_time(118_517 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_572
|
||||
.saturating_add(Weight::from_ref_time(198_256 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -442,14 +475,15 @@ impl WeightInfo for () {
|
||||
/// The range of component `x` is `[2, 10]`.
|
||||
/// The range of component `y` is `[2, 90]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_approved(_b: u32, x: u32, y: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(41_417_000 as u64)
|
||||
// Standard Error: 14_000
|
||||
.saturating_add(Weight::from_ref_time(67_000 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(88_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(196_000 as u64).saturating_mul(p as u64))
|
||||
fn close_approved(b: u32, _x: u32, y: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 52_737 nanoseconds.
|
||||
Weight::from_ref_time(45_874_458 as u64)
|
||||
// Standard Error: 140
|
||||
.saturating_add(Weight::from_ref_time(601 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 1_623
|
||||
.saturating_add(Weight::from_ref_time(88_372 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_449
|
||||
.saturating_add(Weight::from_ref_time(197_595 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -458,12 +492,15 @@ impl WeightInfo for () {
|
||||
/// The range of component `x` is `[1, 10]`.
|
||||
/// The range of component `y` is `[0, 90]`.
|
||||
/// The range of component `z` is `[0, 100]`.
|
||||
fn init_members(_x: u32, y: u32, z: u32, ) -> Weight {
|
||||
Weight::from_ref_time(37_202_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(149_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(120_000 as u64).saturating_mul(z as u64))
|
||||
fn init_members(x: u32, y: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 48_821 nanoseconds.
|
||||
Weight::from_ref_time(32_972_152 as u64)
|
||||
// Standard Error: 17_618
|
||||
.saturating_add(Weight::from_ref_time(230_451 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 1_865
|
||||
.saturating_add(Weight::from_ref_time(172_532 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_682
|
||||
.saturating_add(Weight::from_ref_time(145_258 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -477,13 +514,14 @@ impl WeightInfo for () {
|
||||
/// The range of component `y` is `[0, 100]`.
|
||||
/// The range of component `z` is `[0, 50]`.
|
||||
fn disband(x: u32, y: u32, z: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 9_000
|
||||
.saturating_add(Weight::from_ref_time(1_447_000 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 9_000
|
||||
.saturating_add(Weight::from_ref_time(1_512_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 19_000
|
||||
.saturating_add(Weight::from_ref_time(10_760_000 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 256_235 nanoseconds.
|
||||
Weight::from_ref_time(258_695_000 as u64)
|
||||
// Standard Error: 19_643
|
||||
.saturating_add(Weight::from_ref_time(436_821 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 19_549
|
||||
.saturating_add(Weight::from_ref_time(496_858 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 39_062
|
||||
.saturating_add(Weight::from_ref_time(9_169_692 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(x as u64)))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(y as u64)))
|
||||
@@ -493,18 +531,21 @@ impl WeightInfo for () {
|
||||
}
|
||||
// Storage: Alliance Rule (r:0 w:1)
|
||||
fn set_rule() -> Weight {
|
||||
Weight::from_ref_time(18_101_000 as u64)
|
||||
// Minimum execution time: 19_205 nanoseconds.
|
||||
Weight::from_ref_time(19_502_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Alliance Announcements (r:1 w:1)
|
||||
fn announce() -> Weight {
|
||||
Weight::from_ref_time(21_090_000 as u64)
|
||||
// Minimum execution time: 22_562 nanoseconds.
|
||||
Weight::from_ref_time(22_842_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Alliance Announcements (r:1 w:1)
|
||||
fn remove_announcement() -> Weight {
|
||||
Weight::from_ref_time(22_118_000 as u64)
|
||||
// Minimum execution time: 23_773 nanoseconds.
|
||||
Weight::from_ref_time(24_212_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -513,14 +554,16 @@ impl WeightInfo for () {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Alliance DepositOf (r:0 w:1)
|
||||
fn join_alliance() -> Weight {
|
||||
Weight::from_ref_time(53_446_000 as u64)
|
||||
// Minimum execution time: 57_709 nanoseconds.
|
||||
Weight::from_ref_time(59_155_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(6 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Alliance Members (r:4 w:1)
|
||||
// Storage: Alliance UnscrupulousAccounts (r:1 w:0)
|
||||
fn nominate_ally() -> Weight {
|
||||
Weight::from_ref_time(42_690_000 as u64)
|
||||
// Minimum execution time: 44_576 nanoseconds.
|
||||
Weight::from_ref_time(45_162_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -529,7 +572,8 @@ impl WeightInfo for () {
|
||||
// Storage: AllianceMotion Members (r:0 w:1)
|
||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
fn elevate_ally() -> Weight {
|
||||
Weight::from_ref_time(37_396_000 as u64)
|
||||
// Minimum execution time: 38_913 nanoseconds.
|
||||
Weight::from_ref_time(39_637_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -539,7 +583,8 @@ impl WeightInfo for () {
|
||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
// Storage: Alliance RetiringMembers (r:0 w:1)
|
||||
fn give_retirement_notice() -> Weight {
|
||||
Weight::from_ref_time(40_644_000 as u64)
|
||||
// Minimum execution time: 42_947 nanoseconds.
|
||||
Weight::from_ref_time(43_414_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(5 as u64))
|
||||
}
|
||||
@@ -548,7 +593,8 @@ impl WeightInfo for () {
|
||||
// Storage: Alliance DepositOf (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn retire() -> Weight {
|
||||
Weight::from_ref_time(43_440_000 as u64)
|
||||
// Minimum execution time: 46_281 nanoseconds.
|
||||
Weight::from_ref_time(46_703_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -559,33 +605,36 @@ impl WeightInfo for () {
|
||||
// Storage: AllianceMotion Members (r:0 w:1)
|
||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
fn kick_member() -> Weight {
|
||||
Weight::from_ref_time(61_060_000 as u64)
|
||||
// Minimum execution time: 65_274 nanoseconds.
|
||||
Weight::from_ref_time(65_762_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(6 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: Alliance UnscrupulousAccounts (r:1 w:1)
|
||||
// Storage: Alliance UnscrupulousWebsites (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 100]`.
|
||||
/// The range of component `l` is `[1, 255]`.
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
/// The range of component `l` is `[0, 255]`.
|
||||
fn add_unscrupulous_items(n: u32, l: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(1_362_000 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(113_000 as u64).saturating_mul(l as u64))
|
||||
// Minimum execution time: 17_396 nanoseconds.
|
||||
Weight::from_ref_time(17_638_000 as u64)
|
||||
// Standard Error: 2_602
|
||||
.saturating_add(Weight::from_ref_time(1_286_177 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 1_019
|
||||
.saturating_add(Weight::from_ref_time(70_947 as u64).saturating_mul(l as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Alliance UnscrupulousAccounts (r:1 w:1)
|
||||
// Storage: Alliance UnscrupulousWebsites (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 100]`.
|
||||
/// The range of component `l` is `[1, 255]`.
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
/// The range of component `l` is `[0, 255]`.
|
||||
fn remove_unscrupulous_items(n: u32, l: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 147_000
|
||||
.saturating_add(Weight::from_ref_time(21_060_000 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 57_000
|
||||
.saturating_add(Weight::from_ref_time(3_683_000 as u64).saturating_mul(l as u64))
|
||||
// Minimum execution time: 17_446 nanoseconds.
|
||||
Weight::from_ref_time(17_725_000 as u64)
|
||||
// Standard Error: 163_579
|
||||
.saturating_add(Weight::from_ref_time(12_823_232 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 64_064
|
||||
.saturating_add(Weight::from_ref_time(496_642 as u64).saturating_mul(l as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,24 +18,24 @@
|
||||
//! Autogenerated weights for pallet_assets
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// /home/benchbot/cargo_target_dir/production/substrate
|
||||
// ./target/production/substrate
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_assets
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/substrate/.git/.artifacts/bench.json
|
||||
// --pallet=pallet_assets
|
||||
// --chain=dev
|
||||
// --output=./frame/assets/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
@@ -77,15 +77,15 @@ pub struct SubstrateWeight<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
fn create() -> Weight {
|
||||
// Minimum execution time: 32_200 nanoseconds.
|
||||
Weight::from_ref_time(32_739_000 as u64)
|
||||
// Minimum execution time: 33_241 nanoseconds.
|
||||
Weight::from_ref_time(33_873_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
fn force_create() -> Weight {
|
||||
// Minimum execution time: 19_192 nanoseconds.
|
||||
Weight::from_ref_time(19_615_000 as u64)
|
||||
// Minimum execution time: 19_883 nanoseconds.
|
||||
Weight::from_ref_time(20_651_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -98,12 +98,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `s` is `[0, 5000]`.
|
||||
/// The range of component `a` is `[0, 500]`.
|
||||
fn destroy(c: u32, s: u32, a: u32, ) -> Weight {
|
||||
// Minimum execution time: 75_299_531 nanoseconds.
|
||||
Weight::from_ref_time(75_567_795_000 as u64)
|
||||
// Standard Error: 126_181
|
||||
.saturating_add(Weight::from_ref_time(8_378_363 as u64).saturating_mul(c as u64))
|
||||
// Standard Error: 126_181
|
||||
.saturating_add(Weight::from_ref_time(10_950_076 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 76_222_544 nanoseconds.
|
||||
Weight::from_ref_time(76_864_587_000 as u64)
|
||||
// Standard Error: 127_086
|
||||
.saturating_add(Weight::from_ref_time(8_645_143 as u64).saturating_mul(c as u64))
|
||||
// Standard Error: 127_086
|
||||
.saturating_add(Weight::from_ref_time(11_281_301 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(s as u64)))
|
||||
@@ -116,16 +116,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
// Storage: Assets Account (r:1 w:1)
|
||||
fn mint() -> Weight {
|
||||
// Minimum execution time: 35_066 nanoseconds.
|
||||
Weight::from_ref_time(36_217_000 as u64)
|
||||
// Minimum execution time: 36_782 nanoseconds.
|
||||
Weight::from_ref_time(37_340_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
// Storage: Assets Account (r:1 w:1)
|
||||
fn burn() -> Weight {
|
||||
// Minimum execution time: 44_915 nanoseconds.
|
||||
Weight::from_ref_time(45_807_000 as u64)
|
||||
// Minimum execution time: 44_425 nanoseconds.
|
||||
Weight::from_ref_time(45_485_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -133,8 +133,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Assets Account (r:2 w:2)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer() -> Weight {
|
||||
// Minimum execution time: 57_245 nanoseconds.
|
||||
Weight::from_ref_time(58_179_000 as u64)
|
||||
// Minimum execution time: 58_294 nanoseconds.
|
||||
Weight::from_ref_time(59_447_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -142,8 +142,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Assets Account (r:2 w:2)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer_keep_alive() -> Weight {
|
||||
// Minimum execution time: 47_028 nanoseconds.
|
||||
Weight::from_ref_time(47_571_000 as u64)
|
||||
// Minimum execution time: 46_704 nanoseconds.
|
||||
Weight::from_ref_time(47_521_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -151,53 +151,53 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Assets Account (r:2 w:2)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn force_transfer() -> Weight {
|
||||
// Minimum execution time: 57_069 nanoseconds.
|
||||
Weight::from_ref_time(58_245_000 as u64)
|
||||
// Minimum execution time: 57_647 nanoseconds.
|
||||
Weight::from_ref_time(58_417_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:0)
|
||||
// Storage: Assets Account (r:1 w:1)
|
||||
fn freeze() -> Weight {
|
||||
// Minimum execution time: 26_823 nanoseconds.
|
||||
Weight::from_ref_time(27_689_000 as u64)
|
||||
// Minimum execution time: 26_827 nanoseconds.
|
||||
Weight::from_ref_time(27_373_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:0)
|
||||
// Storage: Assets Account (r:1 w:1)
|
||||
fn thaw() -> Weight {
|
||||
// Minimum execution time: 26_984 nanoseconds.
|
||||
Weight::from_ref_time(27_591_000 as u64)
|
||||
// Minimum execution time: 26_291 nanoseconds.
|
||||
Weight::from_ref_time(26_854_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
fn freeze_asset() -> Weight {
|
||||
// Minimum execution time: 23_803 nanoseconds.
|
||||
Weight::from_ref_time(24_269_000 as u64)
|
||||
// Minimum execution time: 22_694 nanoseconds.
|
||||
Weight::from_ref_time(23_613_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
fn thaw_asset() -> Weight {
|
||||
// Minimum execution time: 22_977 nanoseconds.
|
||||
Weight::from_ref_time(23_527_000 as u64)
|
||||
// Minimum execution time: 22_572 nanoseconds.
|
||||
Weight::from_ref_time(24_121_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
// Storage: Assets Metadata (r:1 w:0)
|
||||
fn transfer_ownership() -> Weight {
|
||||
// Minimum execution time: 23_815 nanoseconds.
|
||||
Weight::from_ref_time(24_597_000 as u64)
|
||||
// Minimum execution time: 23_949 nanoseconds.
|
||||
Weight::from_ref_time(24_347_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
fn set_team() -> Weight {
|
||||
// Minimum execution time: 22_691 nanoseconds.
|
||||
Weight::from_ref_time(23_173_000 as u64)
|
||||
// Minimum execution time: 23_102 nanoseconds.
|
||||
Weight::from_ref_time(23_518_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -205,17 +205,19 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Assets Metadata (r:1 w:1)
|
||||
/// The range of component `n` is `[0, 50]`.
|
||||
/// The range of component `s` is `[0, 50]`.
|
||||
fn set_metadata(_n: u32, _s: u32, ) -> Weight {
|
||||
// Minimum execution time: 40_675 nanoseconds.
|
||||
Weight::from_ref_time(42_869_113 as u64)
|
||||
fn set_metadata(_n: u32, s: u32, ) -> Weight {
|
||||
// Minimum execution time: 41_032 nanoseconds.
|
||||
Weight::from_ref_time(42_845_624 as u64)
|
||||
// Standard Error: 1_274
|
||||
.saturating_add(Weight::from_ref_time(1_875 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:0)
|
||||
// Storage: Assets Metadata (r:1 w:1)
|
||||
fn clear_metadata() -> Weight {
|
||||
// Minimum execution time: 42_361 nanoseconds.
|
||||
Weight::from_ref_time(42_912_000 as u64)
|
||||
// Minimum execution time: 42_570 nanoseconds.
|
||||
Weight::from_ref_time(42_957_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -224,35 +226,35 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `n` is `[0, 50]`.
|
||||
/// The range of component `s` is `[0, 50]`.
|
||||
fn force_set_metadata(n: u32, s: u32, ) -> Weight {
|
||||
// Minimum execution time: 22_998 nanoseconds.
|
||||
Weight::from_ref_time(23_844_675 as u64)
|
||||
// Standard Error: 506
|
||||
.saturating_add(Weight::from_ref_time(2_874 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 506
|
||||
.saturating_add(Weight::from_ref_time(3_817 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 22_768 nanoseconds.
|
||||
Weight::from_ref_time(23_868_816 as u64)
|
||||
// Standard Error: 612
|
||||
.saturating_add(Weight::from_ref_time(1_602 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 612
|
||||
.saturating_add(Weight::from_ref_time(2_097 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:0)
|
||||
// Storage: Assets Metadata (r:1 w:1)
|
||||
fn force_clear_metadata() -> Weight {
|
||||
// Minimum execution time: 42_305 nanoseconds.
|
||||
Weight::from_ref_time(42_678_000 as u64)
|
||||
// Minimum execution time: 41_863 nanoseconds.
|
||||
Weight::from_ref_time(42_643_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
fn force_asset_status() -> Weight {
|
||||
// Minimum execution time: 22_052 nanoseconds.
|
||||
Weight::from_ref_time(22_610_000 as u64)
|
||||
// Minimum execution time: 21_747 nanoseconds.
|
||||
Weight::from_ref_time(22_595_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
// Storage: Assets Approvals (r:1 w:1)
|
||||
fn approve_transfer() -> Weight {
|
||||
// Minimum execution time: 44_900 nanoseconds.
|
||||
Weight::from_ref_time(46_032_000 as u64)
|
||||
// Minimum execution time: 45_602 nanoseconds.
|
||||
Weight::from_ref_time(46_004_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -261,24 +263,24 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Assets Account (r:2 w:2)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer_approved() -> Weight {
|
||||
// Minimum execution time: 72_261 nanoseconds.
|
||||
Weight::from_ref_time(73_186_000 as u64)
|
||||
// Minimum execution time: 70_944 nanoseconds.
|
||||
Weight::from_ref_time(71_722_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
// Storage: Assets Approvals (r:1 w:1)
|
||||
fn cancel_approval() -> Weight {
|
||||
// Minimum execution time: 47_268 nanoseconds.
|
||||
Weight::from_ref_time(47_712_000 as u64)
|
||||
// Minimum execution time: 46_316 nanoseconds.
|
||||
Weight::from_ref_time(46_910_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
// Storage: Assets Approvals (r:1 w:1)
|
||||
fn force_cancel_approval() -> Weight {
|
||||
// Minimum execution time: 47_363 nanoseconds.
|
||||
Weight::from_ref_time(48_696_000 as u64)
|
||||
// Minimum execution time: 47_145 nanoseconds.
|
||||
Weight::from_ref_time(47_611_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -288,15 +290,15 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
impl WeightInfo for () {
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
fn create() -> Weight {
|
||||
// Minimum execution time: 32_200 nanoseconds.
|
||||
Weight::from_ref_time(32_739_000 as u64)
|
||||
// Minimum execution time: 33_241 nanoseconds.
|
||||
Weight::from_ref_time(33_873_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
fn force_create() -> Weight {
|
||||
// Minimum execution time: 19_192 nanoseconds.
|
||||
Weight::from_ref_time(19_615_000 as u64)
|
||||
// Minimum execution time: 19_883 nanoseconds.
|
||||
Weight::from_ref_time(20_651_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -309,12 +311,12 @@ impl WeightInfo for () {
|
||||
/// The range of component `s` is `[0, 5000]`.
|
||||
/// The range of component `a` is `[0, 500]`.
|
||||
fn destroy(c: u32, s: u32, a: u32, ) -> Weight {
|
||||
// Minimum execution time: 75_299_531 nanoseconds.
|
||||
Weight::from_ref_time(75_567_795_000 as u64)
|
||||
// Standard Error: 126_181
|
||||
.saturating_add(Weight::from_ref_time(8_378_363 as u64).saturating_mul(c as u64))
|
||||
// Standard Error: 126_181
|
||||
.saturating_add(Weight::from_ref_time(10_950_076 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 76_222_544 nanoseconds.
|
||||
Weight::from_ref_time(76_864_587_000 as u64)
|
||||
// Standard Error: 127_086
|
||||
.saturating_add(Weight::from_ref_time(8_645_143 as u64).saturating_mul(c as u64))
|
||||
// Standard Error: 127_086
|
||||
.saturating_add(Weight::from_ref_time(11_281_301 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((2 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(RocksDbWeight::get().reads((2 as u64).saturating_mul(s as u64)))
|
||||
@@ -327,16 +329,16 @@ impl WeightInfo for () {
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
// Storage: Assets Account (r:1 w:1)
|
||||
fn mint() -> Weight {
|
||||
// Minimum execution time: 35_066 nanoseconds.
|
||||
Weight::from_ref_time(36_217_000 as u64)
|
||||
// Minimum execution time: 36_782 nanoseconds.
|
||||
Weight::from_ref_time(37_340_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
// Storage: Assets Account (r:1 w:1)
|
||||
fn burn() -> Weight {
|
||||
// Minimum execution time: 44_915 nanoseconds.
|
||||
Weight::from_ref_time(45_807_000 as u64)
|
||||
// Minimum execution time: 44_425 nanoseconds.
|
||||
Weight::from_ref_time(45_485_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -344,8 +346,8 @@ impl WeightInfo for () {
|
||||
// Storage: Assets Account (r:2 w:2)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer() -> Weight {
|
||||
// Minimum execution time: 57_245 nanoseconds.
|
||||
Weight::from_ref_time(58_179_000 as u64)
|
||||
// Minimum execution time: 58_294 nanoseconds.
|
||||
Weight::from_ref_time(59_447_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -353,8 +355,8 @@ impl WeightInfo for () {
|
||||
// Storage: Assets Account (r:2 w:2)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer_keep_alive() -> Weight {
|
||||
// Minimum execution time: 47_028 nanoseconds.
|
||||
Weight::from_ref_time(47_571_000 as u64)
|
||||
// Minimum execution time: 46_704 nanoseconds.
|
||||
Weight::from_ref_time(47_521_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -362,53 +364,53 @@ impl WeightInfo for () {
|
||||
// Storage: Assets Account (r:2 w:2)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn force_transfer() -> Weight {
|
||||
// Minimum execution time: 57_069 nanoseconds.
|
||||
Weight::from_ref_time(58_245_000 as u64)
|
||||
// Minimum execution time: 57_647 nanoseconds.
|
||||
Weight::from_ref_time(58_417_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:0)
|
||||
// Storage: Assets Account (r:1 w:1)
|
||||
fn freeze() -> Weight {
|
||||
// Minimum execution time: 26_823 nanoseconds.
|
||||
Weight::from_ref_time(27_689_000 as u64)
|
||||
// Minimum execution time: 26_827 nanoseconds.
|
||||
Weight::from_ref_time(27_373_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:0)
|
||||
// Storage: Assets Account (r:1 w:1)
|
||||
fn thaw() -> Weight {
|
||||
// Minimum execution time: 26_984 nanoseconds.
|
||||
Weight::from_ref_time(27_591_000 as u64)
|
||||
// Minimum execution time: 26_291 nanoseconds.
|
||||
Weight::from_ref_time(26_854_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
fn freeze_asset() -> Weight {
|
||||
// Minimum execution time: 23_803 nanoseconds.
|
||||
Weight::from_ref_time(24_269_000 as u64)
|
||||
// Minimum execution time: 22_694 nanoseconds.
|
||||
Weight::from_ref_time(23_613_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
fn thaw_asset() -> Weight {
|
||||
// Minimum execution time: 22_977 nanoseconds.
|
||||
Weight::from_ref_time(23_527_000 as u64)
|
||||
// Minimum execution time: 22_572 nanoseconds.
|
||||
Weight::from_ref_time(24_121_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
// Storage: Assets Metadata (r:1 w:0)
|
||||
fn transfer_ownership() -> Weight {
|
||||
// Minimum execution time: 23_815 nanoseconds.
|
||||
Weight::from_ref_time(24_597_000 as u64)
|
||||
// Minimum execution time: 23_949 nanoseconds.
|
||||
Weight::from_ref_time(24_347_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
fn set_team() -> Weight {
|
||||
// Minimum execution time: 22_691 nanoseconds.
|
||||
Weight::from_ref_time(23_173_000 as u64)
|
||||
// Minimum execution time: 23_102 nanoseconds.
|
||||
Weight::from_ref_time(23_518_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -416,17 +418,19 @@ impl WeightInfo for () {
|
||||
// Storage: Assets Metadata (r:1 w:1)
|
||||
/// The range of component `n` is `[0, 50]`.
|
||||
/// The range of component `s` is `[0, 50]`.
|
||||
fn set_metadata(_n: u32, _s: u32, ) -> Weight {
|
||||
// Minimum execution time: 40_675 nanoseconds.
|
||||
Weight::from_ref_time(42_869_113 as u64)
|
||||
fn set_metadata(_n: u32, s: u32, ) -> Weight {
|
||||
// Minimum execution time: 41_032 nanoseconds.
|
||||
Weight::from_ref_time(42_845_624 as u64)
|
||||
// Standard Error: 1_274
|
||||
.saturating_add(Weight::from_ref_time(1_875 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:0)
|
||||
// Storage: Assets Metadata (r:1 w:1)
|
||||
fn clear_metadata() -> Weight {
|
||||
// Minimum execution time: 42_361 nanoseconds.
|
||||
Weight::from_ref_time(42_912_000 as u64)
|
||||
// Minimum execution time: 42_570 nanoseconds.
|
||||
Weight::from_ref_time(42_957_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -435,35 +439,35 @@ impl WeightInfo for () {
|
||||
/// The range of component `n` is `[0, 50]`.
|
||||
/// The range of component `s` is `[0, 50]`.
|
||||
fn force_set_metadata(n: u32, s: u32, ) -> Weight {
|
||||
// Minimum execution time: 22_998 nanoseconds.
|
||||
Weight::from_ref_time(23_844_675 as u64)
|
||||
// Standard Error: 506
|
||||
.saturating_add(Weight::from_ref_time(2_874 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 506
|
||||
.saturating_add(Weight::from_ref_time(3_817 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 22_768 nanoseconds.
|
||||
Weight::from_ref_time(23_868_816 as u64)
|
||||
// Standard Error: 612
|
||||
.saturating_add(Weight::from_ref_time(1_602 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 612
|
||||
.saturating_add(Weight::from_ref_time(2_097 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:0)
|
||||
// Storage: Assets Metadata (r:1 w:1)
|
||||
fn force_clear_metadata() -> Weight {
|
||||
// Minimum execution time: 42_305 nanoseconds.
|
||||
Weight::from_ref_time(42_678_000 as u64)
|
||||
// Minimum execution time: 41_863 nanoseconds.
|
||||
Weight::from_ref_time(42_643_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
fn force_asset_status() -> Weight {
|
||||
// Minimum execution time: 22_052 nanoseconds.
|
||||
Weight::from_ref_time(22_610_000 as u64)
|
||||
// Minimum execution time: 21_747 nanoseconds.
|
||||
Weight::from_ref_time(22_595_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
// Storage: Assets Approvals (r:1 w:1)
|
||||
fn approve_transfer() -> Weight {
|
||||
// Minimum execution time: 44_900 nanoseconds.
|
||||
Weight::from_ref_time(46_032_000 as u64)
|
||||
// Minimum execution time: 45_602 nanoseconds.
|
||||
Weight::from_ref_time(46_004_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -472,24 +476,24 @@ impl WeightInfo for () {
|
||||
// Storage: Assets Account (r:2 w:2)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer_approved() -> Weight {
|
||||
// Minimum execution time: 72_261 nanoseconds.
|
||||
Weight::from_ref_time(73_186_000 as u64)
|
||||
// Minimum execution time: 70_944 nanoseconds.
|
||||
Weight::from_ref_time(71_722_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
// Storage: Assets Approvals (r:1 w:1)
|
||||
fn cancel_approval() -> Weight {
|
||||
// Minimum execution time: 47_268 nanoseconds.
|
||||
Weight::from_ref_time(47_712_000 as u64)
|
||||
// Minimum execution time: 46_316 nanoseconds.
|
||||
Weight::from_ref_time(46_910_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
// Storage: Assets Approvals (r:1 w:1)
|
||||
fn force_cancel_approval() -> Weight {
|
||||
// Minimum execution time: 47_363 nanoseconds.
|
||||
Weight::from_ref_time(48_696_000 as u64)
|
||||
// Minimum execution time: 47_145 nanoseconds.
|
||||
Weight::from_ref_time(47_611_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,7 +18,8 @@
|
||||
//! Autogenerated weights for pallet_bags_list
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,8 +33,10 @@
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/bags-list/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -54,29 +57,32 @@ pub struct SubstrateWeight<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: BagsList ListNodes (r:4 w:4)
|
||||
// Storage: BagsList ListBags (r:1 w:1)
|
||||
// Storage: VoterList ListNodes (r:4 w:4)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
fn rebag_non_terminal() -> Weight {
|
||||
Weight::from_ref_time(55_040_000 as u64)
|
||||
// Minimum execution time: 73_553 nanoseconds.
|
||||
Weight::from_ref_time(74_366_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: BagsList ListNodes (r:3 w:3)
|
||||
// Storage: BagsList ListBags (r:2 w:2)
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn rebag_terminal() -> Weight {
|
||||
Weight::from_ref_time(53_671_000 as u64)
|
||||
// Minimum execution time: 72_700 nanoseconds.
|
||||
Weight::from_ref_time(73_322_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: BagsList ListNodes (r:4 w:4)
|
||||
// Storage: VoterList ListNodes (r:4 w:4)
|
||||
// Storage: Staking Bonded (r:2 w:0)
|
||||
// Storage: Staking Ledger (r:2 w:0)
|
||||
// Storage: BagsList CounterForListNodes (r:1 w:1)
|
||||
// Storage: BagsList ListBags (r:1 w:1)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
fn put_in_front_of() -> Weight {
|
||||
Weight::from_ref_time(56_410_000 as u64)
|
||||
// Minimum execution time: 71_691 nanoseconds.
|
||||
Weight::from_ref_time(72_798_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(10 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -86,29 +92,32 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
impl WeightInfo for () {
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: BagsList ListNodes (r:4 w:4)
|
||||
// Storage: BagsList ListBags (r:1 w:1)
|
||||
// Storage: VoterList ListNodes (r:4 w:4)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
fn rebag_non_terminal() -> Weight {
|
||||
Weight::from_ref_time(55_040_000 as u64)
|
||||
// Minimum execution time: 73_553 nanoseconds.
|
||||
Weight::from_ref_time(74_366_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(7 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: BagsList ListNodes (r:3 w:3)
|
||||
// Storage: BagsList ListBags (r:2 w:2)
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn rebag_terminal() -> Weight {
|
||||
Weight::from_ref_time(53_671_000 as u64)
|
||||
// Minimum execution time: 72_700 nanoseconds.
|
||||
Weight::from_ref_time(73_322_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(7 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: BagsList ListNodes (r:4 w:4)
|
||||
// Storage: VoterList ListNodes (r:4 w:4)
|
||||
// Storage: Staking Bonded (r:2 w:0)
|
||||
// Storage: Staking Ledger (r:2 w:0)
|
||||
// Storage: BagsList CounterForListNodes (r:1 w:1)
|
||||
// Storage: BagsList ListBags (r:1 w:1)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
fn put_in_front_of() -> Weight {
|
||||
Weight::from_ref_time(56_410_000 as u64)
|
||||
// Minimum execution time: 71_691 nanoseconds.
|
||||
Weight::from_ref_time(72_798_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(10 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(6 as u64))
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,7 +18,8 @@
|
||||
//! Autogenerated weights for pallet_balances
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,8 +33,10 @@
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/balances/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -58,43 +61,50 @@ pub struct SubstrateWeight<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer() -> Weight {
|
||||
Weight::from_ref_time(41_860_000 as u64)
|
||||
// Minimum execution time: 48_134 nanoseconds.
|
||||
Weight::from_ref_time(48_811_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer_keep_alive() -> Weight {
|
||||
Weight::from_ref_time(32_760_000 as u64)
|
||||
// Minimum execution time: 36_586 nanoseconds.
|
||||
Weight::from_ref_time(36_966_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn set_balance_creating() -> Weight {
|
||||
Weight::from_ref_time(22_279_000 as u64)
|
||||
// Minimum execution time: 28_486 nanoseconds.
|
||||
Weight::from_ref_time(28_940_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn set_balance_killing() -> Weight {
|
||||
Weight::from_ref_time(25_488_000 as u64)
|
||||
// Minimum execution time: 31_225 nanoseconds.
|
||||
Weight::from_ref_time(31_946_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:2 w:2)
|
||||
fn force_transfer() -> Weight {
|
||||
Weight::from_ref_time(42_190_000 as u64)
|
||||
// Minimum execution time: 47_347 nanoseconds.
|
||||
Weight::from_ref_time(48_005_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer_all() -> Weight {
|
||||
Weight::from_ref_time(37_789_000 as u64)
|
||||
// Minimum execution time: 41_668 nanoseconds.
|
||||
Weight::from_ref_time(42_232_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn force_unreserve() -> Weight {
|
||||
Weight::from_ref_time(20_056_000 as u64)
|
||||
// Minimum execution time: 23_741 nanoseconds.
|
||||
Weight::from_ref_time(24_073_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -104,43 +114,50 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
impl WeightInfo for () {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer() -> Weight {
|
||||
Weight::from_ref_time(41_860_000 as u64)
|
||||
// Minimum execution time: 48_134 nanoseconds.
|
||||
Weight::from_ref_time(48_811_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer_keep_alive() -> Weight {
|
||||
Weight::from_ref_time(32_760_000 as u64)
|
||||
// Minimum execution time: 36_586 nanoseconds.
|
||||
Weight::from_ref_time(36_966_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn set_balance_creating() -> Weight {
|
||||
Weight::from_ref_time(22_279_000 as u64)
|
||||
// Minimum execution time: 28_486 nanoseconds.
|
||||
Weight::from_ref_time(28_940_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn set_balance_killing() -> Weight {
|
||||
Weight::from_ref_time(25_488_000 as u64)
|
||||
// Minimum execution time: 31_225 nanoseconds.
|
||||
Weight::from_ref_time(31_946_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:2 w:2)
|
||||
fn force_transfer() -> Weight {
|
||||
Weight::from_ref_time(42_190_000 as u64)
|
||||
// Minimum execution time: 47_347 nanoseconds.
|
||||
Weight::from_ref_time(48_005_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer_all() -> Weight {
|
||||
Weight::from_ref_time(37_789_000 as u64)
|
||||
// Minimum execution time: 41_668 nanoseconds.
|
||||
Weight::from_ref_time(42_232_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn force_unreserve() -> Weight {
|
||||
Weight::from_ref_time(20_056_000 as u64)
|
||||
// Minimum execution time: 23_741 nanoseconds.
|
||||
Weight::from_ref_time(24_073_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,7 +18,8 @@
|
||||
//! Autogenerated weights for frame_benchmarking
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,8 +33,10 @@
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/benchmarking/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -57,76 +60,108 @@ pub trait WeightInfo {
|
||||
/// Weights for frame_benchmarking using the Substrate node and recommended hardware.
|
||||
pub struct SubstrateWeight<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn addition(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(103_000 as u64)
|
||||
// Minimum execution time: 108 nanoseconds.
|
||||
Weight::from_ref_time(137_610 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn subtraction(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(105_000 as u64)
|
||||
// Minimum execution time: 104 nanoseconds.
|
||||
Weight::from_ref_time(133_508 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn multiplication(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(113_000 as u64)
|
||||
// Minimum execution time: 110 nanoseconds.
|
||||
Weight::from_ref_time(140_230 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn division(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(102_000 as u64)
|
||||
// Minimum execution time: 96 nanoseconds.
|
||||
Weight::from_ref_time(136_059 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 100]`.
|
||||
fn hashing(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_865_902_000 as u64)
|
||||
// Minimum execution time: 21_804_747 nanoseconds.
|
||||
Weight::from_ref_time(22_013_681_386 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 100]`.
|
||||
fn sr25519_verification(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(319_000 as u64)
|
||||
// Standard Error: 8_000
|
||||
.saturating_add(Weight::from_ref_time(47_171_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 136 nanoseconds.
|
||||
Weight::from_ref_time(156_000 as u64)
|
||||
// Standard Error: 4_531
|
||||
.saturating_add(Weight::from_ref_time(46_817_640 as u64).saturating_mul(i as u64))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn storage_read(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(2_110_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 125 nanoseconds.
|
||||
Weight::from_ref_time(135_000 as u64)
|
||||
// Standard Error: 3_651
|
||||
.saturating_add(Weight::from_ref_time(2_021_172 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn storage_write(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(372_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 120 nanoseconds.
|
||||
Weight::from_ref_time(131_000 as u64)
|
||||
// Standard Error: 348
|
||||
.saturating_add(Weight::from_ref_time(377_243 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
// For backwards compatibility and tests
|
||||
impl WeightInfo for () {
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn addition(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(103_000 as u64)
|
||||
// Minimum execution time: 108 nanoseconds.
|
||||
Weight::from_ref_time(137_610 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn subtraction(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(105_000 as u64)
|
||||
// Minimum execution time: 104 nanoseconds.
|
||||
Weight::from_ref_time(133_508 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn multiplication(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(113_000 as u64)
|
||||
// Minimum execution time: 110 nanoseconds.
|
||||
Weight::from_ref_time(140_230 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn division(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(102_000 as u64)
|
||||
// Minimum execution time: 96 nanoseconds.
|
||||
Weight::from_ref_time(136_059 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 100]`.
|
||||
fn hashing(_i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_865_902_000 as u64)
|
||||
// Minimum execution time: 21_804_747 nanoseconds.
|
||||
Weight::from_ref_time(22_013_681_386 as u64)
|
||||
}
|
||||
/// The range of component `i` is `[0, 100]`.
|
||||
fn sr25519_verification(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(319_000 as u64)
|
||||
// Standard Error: 8_000
|
||||
.saturating_add(Weight::from_ref_time(47_171_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 136 nanoseconds.
|
||||
Weight::from_ref_time(156_000 as u64)
|
||||
// Standard Error: 4_531
|
||||
.saturating_add(Weight::from_ref_time(46_817_640 as u64).saturating_mul(i as u64))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn storage_read(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(2_110_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 125 nanoseconds.
|
||||
Weight::from_ref_time(135_000 as u64)
|
||||
// Standard Error: 3_651
|
||||
.saturating_add(Weight::from_ref_time(2_021_172 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn storage_write(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(372_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 120 nanoseconds.
|
||||
Weight::from_ref_time(131_000 as u64)
|
||||
// Standard Error: 348
|
||||
.saturating_add(Weight::from_ref_time(377_243 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,7 +18,8 @@
|
||||
//! Autogenerated weights for pallet_bounties
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,8 +33,10 @@
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/bounties/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -64,42 +67,51 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
// Storage: Bounties Bounties (r:0 w:1)
|
||||
fn propose_bounty(_d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_903_000 as u64)
|
||||
/// The range of component `d` is `[0, 300]`.
|
||||
fn propose_bounty(d: u32, ) -> Weight {
|
||||
// Minimum execution time: 33_514 nanoseconds.
|
||||
Weight::from_ref_time(34_906_466 as u64)
|
||||
// Standard Error: 226
|
||||
.saturating_add(Weight::from_ref_time(2_241 as u64).saturating_mul(d as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
fn approve_bounty() -> Weight {
|
||||
Weight::from_ref_time(10_997_000 as u64)
|
||||
// Minimum execution time: 14_129 nanoseconds.
|
||||
Weight::from_ref_time(14_424_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
fn propose_curator() -> Weight {
|
||||
Weight::from_ref_time(8_967_000 as u64)
|
||||
// Minimum execution time: 13_675 nanoseconds.
|
||||
Weight::from_ref_time(13_964_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn unassign_curator() -> Weight {
|
||||
Weight::from_ref_time(28_665_000 as u64)
|
||||
// Minimum execution time: 38_926 nanoseconds.
|
||||
Weight::from_ref_time(40_183_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn accept_curator() -> Weight {
|
||||
Weight::from_ref_time(25_141_000 as u64)
|
||||
// Minimum execution time: 33_774 nanoseconds.
|
||||
Weight::from_ref_time(34_295_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:0)
|
||||
fn award_bounty() -> Weight {
|
||||
Weight::from_ref_time(21_295_000 as u64)
|
||||
// Minimum execution time: 28_558 nanoseconds.
|
||||
Weight::from_ref_time(29_293_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -108,7 +120,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
fn claim_bounty() -> Weight {
|
||||
Weight::from_ref_time(67_951_000 as u64)
|
||||
// Minimum execution time: 77_042 nanoseconds.
|
||||
Weight::from_ref_time(77_730_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -117,7 +130,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
fn close_bounty_proposed() -> Weight {
|
||||
Weight::from_ref_time(33_654_000 as u64)
|
||||
// Minimum execution time: 43_632 nanoseconds.
|
||||
Weight::from_ref_time(44_196_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -126,23 +140,27 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
fn close_bounty_active() -> Weight {
|
||||
Weight::from_ref_time(50_582_000 as u64)
|
||||
// Minimum execution time: 59_519 nanoseconds.
|
||||
Weight::from_ref_time(59_967_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
fn extend_bounty_expiry() -> Weight {
|
||||
Weight::from_ref_time(18_322_000 as u64)
|
||||
// Minimum execution time: 25_263 nanoseconds.
|
||||
Weight::from_ref_time(25_788_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: Bounties Bounties (r:2 w:2)
|
||||
// Storage: System Account (r:4 w:4)
|
||||
/// The range of component `b` is `[0, 100]`.
|
||||
fn spend_funds(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 17_000
|
||||
.saturating_add(Weight::from_ref_time(29_233_000 as u64).saturating_mul(b as u64))
|
||||
// Minimum execution time: 8_953 nanoseconds.
|
||||
Weight::from_ref_time(23_242_227 as u64)
|
||||
// Standard Error: 13_187
|
||||
.saturating_add(Weight::from_ref_time(26_727_999 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(b as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
@@ -156,42 +174,51 @@ impl WeightInfo for () {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
// Storage: Bounties Bounties (r:0 w:1)
|
||||
fn propose_bounty(_d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_903_000 as u64)
|
||||
/// The range of component `d` is `[0, 300]`.
|
||||
fn propose_bounty(d: u32, ) -> Weight {
|
||||
// Minimum execution time: 33_514 nanoseconds.
|
||||
Weight::from_ref_time(34_906_466 as u64)
|
||||
// Standard Error: 226
|
||||
.saturating_add(Weight::from_ref_time(2_241 as u64).saturating_mul(d as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
fn approve_bounty() -> Weight {
|
||||
Weight::from_ref_time(10_997_000 as u64)
|
||||
// Minimum execution time: 14_129 nanoseconds.
|
||||
Weight::from_ref_time(14_424_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
fn propose_curator() -> Weight {
|
||||
Weight::from_ref_time(8_967_000 as u64)
|
||||
// Minimum execution time: 13_675 nanoseconds.
|
||||
Weight::from_ref_time(13_964_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn unassign_curator() -> Weight {
|
||||
Weight::from_ref_time(28_665_000 as u64)
|
||||
// Minimum execution time: 38_926 nanoseconds.
|
||||
Weight::from_ref_time(40_183_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn accept_curator() -> Weight {
|
||||
Weight::from_ref_time(25_141_000 as u64)
|
||||
// Minimum execution time: 33_774 nanoseconds.
|
||||
Weight::from_ref_time(34_295_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:0)
|
||||
fn award_bounty() -> Weight {
|
||||
Weight::from_ref_time(21_295_000 as u64)
|
||||
// Minimum execution time: 28_558 nanoseconds.
|
||||
Weight::from_ref_time(29_293_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -200,7 +227,8 @@ impl WeightInfo for () {
|
||||
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
fn claim_bounty() -> Weight {
|
||||
Weight::from_ref_time(67_951_000 as u64)
|
||||
// Minimum execution time: 77_042 nanoseconds.
|
||||
Weight::from_ref_time(77_730_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -209,7 +237,8 @@ impl WeightInfo for () {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
fn close_bounty_proposed() -> Weight {
|
||||
Weight::from_ref_time(33_654_000 as u64)
|
||||
// Minimum execution time: 43_632 nanoseconds.
|
||||
Weight::from_ref_time(44_196_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -218,23 +247,27 @@ impl WeightInfo for () {
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
fn close_bounty_active() -> Weight {
|
||||
Weight::from_ref_time(50_582_000 as u64)
|
||||
// Minimum execution time: 59_519 nanoseconds.
|
||||
Weight::from_ref_time(59_967_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
fn extend_bounty_expiry() -> Weight {
|
||||
Weight::from_ref_time(18_322_000 as u64)
|
||||
// Minimum execution time: 25_263 nanoseconds.
|
||||
Weight::from_ref_time(25_788_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: Bounties Bounties (r:2 w:2)
|
||||
// Storage: System Account (r:4 w:4)
|
||||
/// The range of component `b` is `[0, 100]`.
|
||||
fn spend_funds(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 17_000
|
||||
.saturating_add(Weight::from_ref_time(29_233_000 as u64).saturating_mul(b as u64))
|
||||
// Minimum execution time: 8_953 nanoseconds.
|
||||
Weight::from_ref_time(23_242_227 as u64)
|
||||
// Standard Error: 13_187
|
||||
.saturating_add(Weight::from_ref_time(26_727_999 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((3 as u64).saturating_mul(b as u64)))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,7 +18,8 @@
|
||||
//! Autogenerated weights for pallet_child_bounties
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,8 +33,10 @@
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/child-bounties/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -63,10 +66,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: ChildBounties ChildBountyCount (r:1 w:1)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
// Storage: ChildBounties ChildBounties (r:0 w:1)
|
||||
/// The range of component `d` is `[0, 300]`.
|
||||
fn add_child_bounty(d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(51_064_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(d as u64))
|
||||
// Minimum execution time: 59_121 nanoseconds.
|
||||
Weight::from_ref_time(60_212_235 as u64)
|
||||
// Standard Error: 149
|
||||
.saturating_add(Weight::from_ref_time(412 as u64).saturating_mul(d as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -74,7 +79,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
fn propose_curator() -> Weight {
|
||||
Weight::from_ref_time(15_286_000 as u64)
|
||||
// Minimum execution time: 20_785 nanoseconds.
|
||||
Weight::from_ref_time(21_000_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -82,7 +88,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn accept_curator() -> Weight {
|
||||
Weight::from_ref_time(29_929_000 as u64)
|
||||
// Minimum execution time: 37_874 nanoseconds.
|
||||
Weight::from_ref_time(38_322_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -90,14 +97,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn unassign_curator() -> Weight {
|
||||
Weight::from_ref_time(32_449_000 as u64)
|
||||
// Minimum execution time: 43_385 nanoseconds.
|
||||
Weight::from_ref_time(43_774_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
fn award_child_bounty() -> Weight {
|
||||
Weight::from_ref_time(23_793_000 as u64)
|
||||
// Minimum execution time: 31_390 nanoseconds.
|
||||
Weight::from_ref_time(31_802_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -106,7 +115,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
fn claim_child_bounty() -> Weight {
|
||||
Weight::from_ref_time(67_529_000 as u64)
|
||||
// Minimum execution time: 74_956 nanoseconds.
|
||||
Weight::from_ref_time(75_850_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -117,7 +127,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
fn close_child_bounty_added() -> Weight {
|
||||
Weight::from_ref_time(48_436_000 as u64)
|
||||
// Minimum execution time: 57_215 nanoseconds.
|
||||
Weight::from_ref_time(58_285_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -128,7 +139,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
fn close_child_bounty_active() -> Weight {
|
||||
Weight::from_ref_time(58_044_000 as u64)
|
||||
// Minimum execution time: 67_641 nanoseconds.
|
||||
Weight::from_ref_time(69_184_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
@@ -142,10 +154,12 @@ impl WeightInfo for () {
|
||||
// Storage: ChildBounties ChildBountyCount (r:1 w:1)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
// Storage: ChildBounties ChildBounties (r:0 w:1)
|
||||
/// The range of component `d` is `[0, 300]`.
|
||||
fn add_child_bounty(d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(51_064_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(d as u64))
|
||||
// Minimum execution time: 59_121 nanoseconds.
|
||||
Weight::from_ref_time(60_212_235 as u64)
|
||||
// Standard Error: 149
|
||||
.saturating_add(Weight::from_ref_time(412 as u64).saturating_mul(d as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -153,7 +167,8 @@ impl WeightInfo for () {
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
fn propose_curator() -> Weight {
|
||||
Weight::from_ref_time(15_286_000 as u64)
|
||||
// Minimum execution time: 20_785 nanoseconds.
|
||||
Weight::from_ref_time(21_000_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -161,7 +176,8 @@ impl WeightInfo for () {
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn accept_curator() -> Weight {
|
||||
Weight::from_ref_time(29_929_000 as u64)
|
||||
// Minimum execution time: 37_874 nanoseconds.
|
||||
Weight::from_ref_time(38_322_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -169,14 +185,16 @@ impl WeightInfo for () {
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn unassign_curator() -> Weight {
|
||||
Weight::from_ref_time(32_449_000 as u64)
|
||||
// Minimum execution time: 43_385 nanoseconds.
|
||||
Weight::from_ref_time(43_774_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
fn award_child_bounty() -> Weight {
|
||||
Weight::from_ref_time(23_793_000 as u64)
|
||||
// Minimum execution time: 31_390 nanoseconds.
|
||||
Weight::from_ref_time(31_802_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -185,7 +203,8 @@ impl WeightInfo for () {
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
fn claim_child_bounty() -> Weight {
|
||||
Weight::from_ref_time(67_529_000 as u64)
|
||||
// Minimum execution time: 74_956 nanoseconds.
|
||||
Weight::from_ref_time(75_850_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -196,7 +215,8 @@ impl WeightInfo for () {
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
fn close_child_bounty_added() -> Weight {
|
||||
Weight::from_ref_time(48_436_000 as u64)
|
||||
// Minimum execution time: 57_215 nanoseconds.
|
||||
Weight::from_ref_time(58_285_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(6 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -207,7 +227,8 @@ impl WeightInfo for () {
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
fn close_child_bounty_active() -> Weight {
|
||||
Weight::from_ref_time(58_044_000 as u64)
|
||||
// Minimum execution time: 67_641 nanoseconds.
|
||||
Weight::from_ref_time(69_184_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(7 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(7 as u64))
|
||||
}
|
||||
|
||||
@@ -18,25 +18,24 @@
|
||||
//! Autogenerated weights for pallet_collective
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-11-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// /home/benchbot/cargo_target_dir/production/substrate
|
||||
// ./target/production/substrate
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_collective
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/substrate/.git/.artifacts/bench.json
|
||||
// --pallet=pallet_collective
|
||||
// --chain=dev
|
||||
// --header=./HEADER-APACHE2
|
||||
// --output=./frame/collective/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
@@ -71,12 +70,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
/// The range of component `p` is `[0, 100]`.
|
||||
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 18_852 nanoseconds.
|
||||
Weight::from_ref_time(19_138_000 as u64)
|
||||
// Standard Error: 65_564
|
||||
.saturating_add(Weight::from_ref_time(5_276_957 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 65_564
|
||||
.saturating_add(Weight::from_ref_time(7_655_866 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 18_895 nanoseconds.
|
||||
Weight::from_ref_time(19_254_000 as u64)
|
||||
// Standard Error: 63_540
|
||||
.saturating_add(Weight::from_ref_time(5_061_801 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 63_540
|
||||
.saturating_add(Weight::from_ref_time(7_588_981 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
@@ -86,12 +85,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn execute(b: u32, m: u32, ) -> Weight {
|
||||
// Minimum execution time: 23_081 nanoseconds.
|
||||
Weight::from_ref_time(22_608_754 as u64)
|
||||
// Standard Error: 35
|
||||
.saturating_add(Weight::from_ref_time(1_722 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 370
|
||||
.saturating_add(Weight::from_ref_time(23_442 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 24_469 nanoseconds.
|
||||
Weight::from_ref_time(23_961_134 as u64)
|
||||
// Standard Error: 43
|
||||
.saturating_add(Weight::from_ref_time(1_677 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 450
|
||||
.saturating_add(Weight::from_ref_time(18_645 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Council Members (r:1 w:0)
|
||||
@@ -99,12 +98,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn propose_execute(b: u32, m: u32, ) -> Weight {
|
||||
// Minimum execution time: 25_477 nanoseconds.
|
||||
Weight::from_ref_time(25_478_243 as u64)
|
||||
// Standard Error: 47
|
||||
.saturating_add(Weight::from_ref_time(1_346 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 493
|
||||
.saturating_add(Weight::from_ref_time(27_323 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 26_476 nanoseconds.
|
||||
Weight::from_ref_time(25_829_298 as u64)
|
||||
// Standard Error: 49
|
||||
.saturating_add(Weight::from_ref_time(1_741 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 515
|
||||
.saturating_add(Weight::from_ref_time(29_436 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
}
|
||||
// Storage: Council Members (r:1 w:0)
|
||||
@@ -116,14 +115,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 33_037 nanoseconds.
|
||||
Weight::from_ref_time(29_297_056 as u64)
|
||||
// Standard Error: 180
|
||||
.saturating_add(Weight::from_ref_time(5_899 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 1_884
|
||||
.saturating_add(Weight::from_ref_time(33_511 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_860
|
||||
.saturating_add(Weight::from_ref_time(195_416 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 33_585 nanoseconds.
|
||||
Weight::from_ref_time(33_092_289 as u64)
|
||||
// Standard Error: 173
|
||||
.saturating_add(Weight::from_ref_time(4_266 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 1_812
|
||||
.saturating_add(Weight::from_ref_time(29_262 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_789
|
||||
.saturating_add(Weight::from_ref_time(181_285 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -131,10 +130,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Council Voting (r:1 w:1)
|
||||
/// The range of component `m` is `[5, 100]`.
|
||||
fn vote(m: u32, ) -> Weight {
|
||||
// Minimum execution time: 35_284 nanoseconds.
|
||||
Weight::from_ref_time(38_865_202 as u64)
|
||||
// Standard Error: 2_322
|
||||
.saturating_add(Weight::from_ref_time(53_753 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 36_374 nanoseconds.
|
||||
Weight::from_ref_time(38_950_243 as u64)
|
||||
// Standard Error: 2_583
|
||||
.saturating_add(Weight::from_ref_time(65_345 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -145,12 +144,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 35_773 nanoseconds.
|
||||
Weight::from_ref_time(36_651_208 as u64)
|
||||
// Standard Error: 1_142
|
||||
.saturating_add(Weight::from_ref_time(27_095 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_114
|
||||
.saturating_add(Weight::from_ref_time(169_747 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 36_066 nanoseconds.
|
||||
Weight::from_ref_time(38_439_655 as u64)
|
||||
// Standard Error: 1_281
|
||||
.saturating_add(Weight::from_ref_time(17_045 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_249
|
||||
.saturating_add(Weight::from_ref_time(164_998 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -162,14 +161,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 46_290 nanoseconds.
|
||||
Weight::from_ref_time(46_176_864 as u64)
|
||||
// Standard Error: 147
|
||||
.saturating_add(Weight::from_ref_time(2_318 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 1_560
|
||||
.saturating_add(Weight::from_ref_time(31_428 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_520
|
||||
.saturating_add(Weight::from_ref_time(171_822 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 47_753 nanoseconds.
|
||||
Weight::from_ref_time(46_507_829 as u64)
|
||||
// Standard Error: 149
|
||||
.saturating_add(Weight::from_ref_time(2_159 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 1_581
|
||||
.saturating_add(Weight::from_ref_time(37_842 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_541
|
||||
.saturating_add(Weight::from_ref_time(173_395 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -181,12 +180,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 38_421 nanoseconds.
|
||||
Weight::from_ref_time(40_586_165 as u64)
|
||||
// Standard Error: 1_853
|
||||
.saturating_add(Weight::from_ref_time(20_063 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_807
|
||||
.saturating_add(Weight::from_ref_time(151_494 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 39_416 nanoseconds.
|
||||
Weight::from_ref_time(39_610_161 as u64)
|
||||
// Standard Error: 1_231
|
||||
.saturating_add(Weight::from_ref_time(32_991 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_200
|
||||
.saturating_add(Weight::from_ref_time(170_773 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -199,14 +198,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 48_281 nanoseconds.
|
||||
Weight::from_ref_time(47_511_499 as u64)
|
||||
// Standard Error: 135
|
||||
.saturating_add(Weight::from_ref_time(1_900 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 1_429
|
||||
.saturating_add(Weight::from_ref_time(37_612 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_393
|
||||
.saturating_add(Weight::from_ref_time(180_682 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 49_840 nanoseconds.
|
||||
Weight::from_ref_time(48_542_914 as u64)
|
||||
// Standard Error: 136
|
||||
.saturating_add(Weight::from_ref_time(2_650 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 1_442
|
||||
.saturating_add(Weight::from_ref_time(37_898 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_406
|
||||
.saturating_add(Weight::from_ref_time(182_176 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -215,10 +214,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Council ProposalOf (r:0 w:1)
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn disapprove_proposal(p: u32, ) -> Weight {
|
||||
// Minimum execution time: 22_534 nanoseconds.
|
||||
Weight::from_ref_time(25_722_688 as u64)
|
||||
// Standard Error: 1_622
|
||||
.saturating_add(Weight::from_ref_time(166_308 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 24_199 nanoseconds.
|
||||
Weight::from_ref_time(26_869_176 as u64)
|
||||
// Standard Error: 1_609
|
||||
.saturating_add(Weight::from_ref_time(163_341 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -234,12 +233,12 @@ impl WeightInfo for () {
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
/// The range of component `p` is `[0, 100]`.
|
||||
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 18_852 nanoseconds.
|
||||
Weight::from_ref_time(19_138_000 as u64)
|
||||
// Standard Error: 65_564
|
||||
.saturating_add(Weight::from_ref_time(5_276_957 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 65_564
|
||||
.saturating_add(Weight::from_ref_time(7_655_866 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 18_895 nanoseconds.
|
||||
Weight::from_ref_time(19_254_000 as u64)
|
||||
// Standard Error: 63_540
|
||||
.saturating_add(Weight::from_ref_time(5_061_801 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 63_540
|
||||
.saturating_add(Weight::from_ref_time(7_588_981 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(p as u64)))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
@@ -249,12 +248,12 @@ impl WeightInfo for () {
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn execute(b: u32, m: u32, ) -> Weight {
|
||||
// Minimum execution time: 23_081 nanoseconds.
|
||||
Weight::from_ref_time(22_608_754 as u64)
|
||||
// Standard Error: 35
|
||||
.saturating_add(Weight::from_ref_time(1_722 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 370
|
||||
.saturating_add(Weight::from_ref_time(23_442 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 24_469 nanoseconds.
|
||||
Weight::from_ref_time(23_961_134 as u64)
|
||||
// Standard Error: 43
|
||||
.saturating_add(Weight::from_ref_time(1_677 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 450
|
||||
.saturating_add(Weight::from_ref_time(18_645 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Council Members (r:1 w:0)
|
||||
@@ -262,12 +261,12 @@ impl WeightInfo for () {
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn propose_execute(b: u32, m: u32, ) -> Weight {
|
||||
// Minimum execution time: 25_477 nanoseconds.
|
||||
Weight::from_ref_time(25_478_243 as u64)
|
||||
// Standard Error: 47
|
||||
.saturating_add(Weight::from_ref_time(1_346 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 493
|
||||
.saturating_add(Weight::from_ref_time(27_323 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 26_476 nanoseconds.
|
||||
Weight::from_ref_time(25_829_298 as u64)
|
||||
// Standard Error: 49
|
||||
.saturating_add(Weight::from_ref_time(1_741 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 515
|
||||
.saturating_add(Weight::from_ref_time(29_436 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
}
|
||||
// Storage: Council Members (r:1 w:0)
|
||||
@@ -279,14 +278,14 @@ impl WeightInfo for () {
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 33_037 nanoseconds.
|
||||
Weight::from_ref_time(29_297_056 as u64)
|
||||
// Standard Error: 180
|
||||
.saturating_add(Weight::from_ref_time(5_899 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 1_884
|
||||
.saturating_add(Weight::from_ref_time(33_511 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_860
|
||||
.saturating_add(Weight::from_ref_time(195_416 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 33_585 nanoseconds.
|
||||
Weight::from_ref_time(33_092_289 as u64)
|
||||
// Standard Error: 173
|
||||
.saturating_add(Weight::from_ref_time(4_266 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 1_812
|
||||
.saturating_add(Weight::from_ref_time(29_262 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_789
|
||||
.saturating_add(Weight::from_ref_time(181_285 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -294,10 +293,10 @@ impl WeightInfo for () {
|
||||
// Storage: Council Voting (r:1 w:1)
|
||||
/// The range of component `m` is `[5, 100]`.
|
||||
fn vote(m: u32, ) -> Weight {
|
||||
// Minimum execution time: 35_284 nanoseconds.
|
||||
Weight::from_ref_time(38_865_202 as u64)
|
||||
// Standard Error: 2_322
|
||||
.saturating_add(Weight::from_ref_time(53_753 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 36_374 nanoseconds.
|
||||
Weight::from_ref_time(38_950_243 as u64)
|
||||
// Standard Error: 2_583
|
||||
.saturating_add(Weight::from_ref_time(65_345 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -308,12 +307,12 @@ impl WeightInfo for () {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 35_773 nanoseconds.
|
||||
Weight::from_ref_time(36_651_208 as u64)
|
||||
// Standard Error: 1_142
|
||||
.saturating_add(Weight::from_ref_time(27_095 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_114
|
||||
.saturating_add(Weight::from_ref_time(169_747 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 36_066 nanoseconds.
|
||||
Weight::from_ref_time(38_439_655 as u64)
|
||||
// Standard Error: 1_281
|
||||
.saturating_add(Weight::from_ref_time(17_045 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_249
|
||||
.saturating_add(Weight::from_ref_time(164_998 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -325,14 +324,14 @@ impl WeightInfo for () {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 46_290 nanoseconds.
|
||||
Weight::from_ref_time(46_176_864 as u64)
|
||||
// Standard Error: 147
|
||||
.saturating_add(Weight::from_ref_time(2_318 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 1_560
|
||||
.saturating_add(Weight::from_ref_time(31_428 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_520
|
||||
.saturating_add(Weight::from_ref_time(171_822 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 47_753 nanoseconds.
|
||||
Weight::from_ref_time(46_507_829 as u64)
|
||||
// Standard Error: 149
|
||||
.saturating_add(Weight::from_ref_time(2_159 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 1_581
|
||||
.saturating_add(Weight::from_ref_time(37_842 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_541
|
||||
.saturating_add(Weight::from_ref_time(173_395 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -344,12 +343,12 @@ impl WeightInfo for () {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 38_421 nanoseconds.
|
||||
Weight::from_ref_time(40_586_165 as u64)
|
||||
// Standard Error: 1_853
|
||||
.saturating_add(Weight::from_ref_time(20_063 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_807
|
||||
.saturating_add(Weight::from_ref_time(151_494 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 39_416 nanoseconds.
|
||||
Weight::from_ref_time(39_610_161 as u64)
|
||||
// Standard Error: 1_231
|
||||
.saturating_add(Weight::from_ref_time(32_991 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_200
|
||||
.saturating_add(Weight::from_ref_time(170_773 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -362,14 +361,14 @@ impl WeightInfo for () {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 48_281 nanoseconds.
|
||||
Weight::from_ref_time(47_511_499 as u64)
|
||||
// Standard Error: 135
|
||||
.saturating_add(Weight::from_ref_time(1_900 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 1_429
|
||||
.saturating_add(Weight::from_ref_time(37_612 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_393
|
||||
.saturating_add(Weight::from_ref_time(180_682 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 49_840 nanoseconds.
|
||||
Weight::from_ref_time(48_542_914 as u64)
|
||||
// Standard Error: 136
|
||||
.saturating_add(Weight::from_ref_time(2_650 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 1_442
|
||||
.saturating_add(Weight::from_ref_time(37_898 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_406
|
||||
.saturating_add(Weight::from_ref_time(182_176 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -378,10 +377,10 @@ impl WeightInfo for () {
|
||||
// Storage: Council ProposalOf (r:0 w:1)
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn disapprove_proposal(p: u32, ) -> Weight {
|
||||
// Minimum execution time: 22_534 nanoseconds.
|
||||
Weight::from_ref_time(25_722_688 as u64)
|
||||
// Standard Error: 1_622
|
||||
.saturating_add(Weight::from_ref_time(166_308 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 24_199 nanoseconds.
|
||||
Weight::from_ref_time(26_869_176 as u64)
|
||||
// Standard Error: 1_609
|
||||
.saturating_add(Weight::from_ref_time(163_341 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,7 +18,8 @@
|
||||
//! Autogenerated weights for pallet_conviction_voting
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,8 +33,10 @@
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/conviction-voting/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -62,7 +65,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn vote_new() -> Weight {
|
||||
Weight::from_ref_time(148_804_000 as u64)
|
||||
// Minimum execution time: 131_633 nanoseconds.
|
||||
Weight::from_ref_time(132_742_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -72,7 +76,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn vote_existing() -> Weight {
|
||||
Weight::from_ref_time(313_333_000 as u64)
|
||||
// Minimum execution time: 176_240 nanoseconds.
|
||||
Weight::from_ref_time(183_274_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -80,14 +85,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn remove_vote() -> Weight {
|
||||
Weight::from_ref_time(300_591_000 as u64)
|
||||
// Minimum execution time: 158_880 nanoseconds.
|
||||
Weight::from_ref_time(164_648_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: ConvictionVoting VotingFor (r:1 w:1)
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:0)
|
||||
fn remove_other_vote() -> Weight {
|
||||
Weight::from_ref_time(53_887_000 as u64)
|
||||
// Minimum execution time: 60_330 nanoseconds.
|
||||
Weight::from_ref_time(61_588_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -96,10 +103,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// The range of component `r` is `[0, 1]`.
|
||||
fn delegate(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(51_518_000 as u64)
|
||||
// Standard Error: 83_000
|
||||
.saturating_add(Weight::from_ref_time(27_235_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 63_088 nanoseconds.
|
||||
Weight::from_ref_time(67_803_536 as u64)
|
||||
// Standard Error: 197_102
|
||||
.saturating_add(Weight::from_ref_time(31_557_563 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
@@ -108,10 +117,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: ConvictionVoting VotingFor (r:2 w:2)
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// The range of component `r` is `[0, 1]`.
|
||||
fn undelegate(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(37_885_000 as u64)
|
||||
// Standard Error: 75_000
|
||||
.saturating_add(Weight::from_ref_time(24_395_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 45_150 nanoseconds.
|
||||
Weight::from_ref_time(51_547_530 as u64)
|
||||
// Standard Error: 771_127
|
||||
.saturating_add(Weight::from_ref_time(26_927_969 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
@@ -121,7 +132,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: ConvictionVoting ClassLocksFor (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn unlock() -> Weight {
|
||||
Weight::from_ref_time(67_703_000 as u64)
|
||||
// Minimum execution time: 75_067 nanoseconds.
|
||||
Weight::from_ref_time(76_888_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -135,7 +147,8 @@ impl WeightInfo for () {
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn vote_new() -> Weight {
|
||||
Weight::from_ref_time(148_804_000 as u64)
|
||||
// Minimum execution time: 131_633 nanoseconds.
|
||||
Weight::from_ref_time(132_742_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(6 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -145,7 +158,8 @@ impl WeightInfo for () {
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn vote_existing() -> Weight {
|
||||
Weight::from_ref_time(313_333_000 as u64)
|
||||
// Minimum execution time: 176_240 nanoseconds.
|
||||
Weight::from_ref_time(183_274_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(6 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -153,14 +167,16 @@ impl WeightInfo for () {
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn remove_vote() -> Weight {
|
||||
Weight::from_ref_time(300_591_000 as u64)
|
||||
// Minimum execution time: 158_880 nanoseconds.
|
||||
Weight::from_ref_time(164_648_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: ConvictionVoting VotingFor (r:1 w:1)
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:0)
|
||||
fn remove_other_vote() -> Weight {
|
||||
Weight::from_ref_time(53_887_000 as u64)
|
||||
// Minimum execution time: 60_330 nanoseconds.
|
||||
Weight::from_ref_time(61_588_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -169,10 +185,12 @@ impl WeightInfo for () {
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// The range of component `r` is `[0, 1]`.
|
||||
fn delegate(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(51_518_000 as u64)
|
||||
// Standard Error: 83_000
|
||||
.saturating_add(Weight::from_ref_time(27_235_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 63_088 nanoseconds.
|
||||
Weight::from_ref_time(67_803_536 as u64)
|
||||
// Standard Error: 197_102
|
||||
.saturating_add(Weight::from_ref_time(31_557_563 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((3 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
@@ -181,10 +199,12 @@ impl WeightInfo for () {
|
||||
// Storage: ConvictionVoting VotingFor (r:2 w:2)
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// The range of component `r` is `[0, 1]`.
|
||||
fn undelegate(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(37_885_000 as u64)
|
||||
// Standard Error: 75_000
|
||||
.saturating_add(Weight::from_ref_time(24_395_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 45_150 nanoseconds.
|
||||
Weight::from_ref_time(51_547_530 as u64)
|
||||
// Standard Error: 771_127
|
||||
.saturating_add(Weight::from_ref_time(26_927_969 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((3 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
@@ -194,7 +214,8 @@ impl WeightInfo for () {
|
||||
// Storage: ConvictionVoting ClassLocksFor (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn unlock() -> Weight {
|
||||
Weight::from_ref_time(67_703_000 as u64)
|
||||
// Minimum execution time: 75_067 nanoseconds.
|
||||
Weight::from_ref_time(76_888_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,23 +18,24 @@
|
||||
//! Autogenerated weights for pallet_democracy
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// /home/benchbot/cargo_target_dir/production/substrate
|
||||
// ./target/production/substrate
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_democracy
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --pallet=pallet_democracy
|
||||
// --chain=dev
|
||||
// --output=./frame/democracy/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
@@ -78,13 +79,15 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Democracy Blacklist (r:1 w:0)
|
||||
// Storage: Democracy DepositOf (r:0 w:1)
|
||||
fn propose() -> Weight {
|
||||
Weight::from_ref_time(57_410_000 as u64)
|
||||
// Minimum execution time: 56_868 nanoseconds.
|
||||
Weight::from_ref_time(57_788_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy DepositOf (r:1 w:1)
|
||||
fn second() -> Weight {
|
||||
Weight::from_ref_time(49_224_000 as u64)
|
||||
// Minimum execution time: 49_328 nanoseconds.
|
||||
Weight::from_ref_time(49_764_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -92,7 +95,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn vote_new() -> Weight {
|
||||
Weight::from_ref_time(60_933_000 as u64)
|
||||
// Minimum execution time: 60_323 nanoseconds.
|
||||
Weight::from_ref_time(61_389_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -100,14 +104,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn vote_existing() -> Weight {
|
||||
Weight::from_ref_time(60_393_000 as u64)
|
||||
// Minimum execution time: 60_612 nanoseconds.
|
||||
Weight::from_ref_time(61_282_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy Cancellations (r:1 w:1)
|
||||
fn emergency_cancel() -> Weight {
|
||||
Weight::from_ref_time(24_588_000 as u64)
|
||||
// Minimum execution time: 24_780 nanoseconds.
|
||||
Weight::from_ref_time(25_194_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -118,39 +124,45 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:0 w:1)
|
||||
fn blacklist() -> Weight {
|
||||
Weight::from_ref_time(91_226_000 as u64)
|
||||
// Minimum execution time: 85_177 nanoseconds.
|
||||
Weight::from_ref_time(91_733_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:1 w:0)
|
||||
fn external_propose() -> Weight {
|
||||
Weight::from_ref_time(18_898_000 as u64)
|
||||
// Minimum execution time: 19_483 nanoseconds.
|
||||
Weight::from_ref_time(19_914_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:0 w:1)
|
||||
fn external_propose_majority() -> Weight {
|
||||
Weight::from_ref_time(5_136_000 as u64)
|
||||
// Minimum execution time: 4_963 nanoseconds.
|
||||
Weight::from_ref_time(5_250_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:0 w:1)
|
||||
fn external_propose_default() -> Weight {
|
||||
Weight::from_ref_time(5_243_000 as u64)
|
||||
// Minimum execution time: 5_075 nanoseconds.
|
||||
Weight::from_ref_time(5_187_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy ReferendumCount (r:1 w:1)
|
||||
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
|
||||
fn fast_track() -> Weight {
|
||||
Weight::from_ref_time(24_275_000 as u64)
|
||||
// Minimum execution time: 23_956 nanoseconds.
|
||||
Weight::from_ref_time(24_814_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:1 w:1)
|
||||
fn veto_external() -> Weight {
|
||||
Weight::from_ref_time(30_988_000 as u64)
|
||||
// Minimum execution time: 31_472 nanoseconds.
|
||||
Weight::from_ref_time(31_770_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -158,13 +170,15 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Democracy DepositOf (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn cancel_proposal() -> Weight {
|
||||
Weight::from_ref_time(78_515_000 as u64)
|
||||
// Minimum execution time: 73_811 nanoseconds.
|
||||
Weight::from_ref_time(78_943_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
|
||||
fn cancel_referendum() -> Weight {
|
||||
Weight::from_ref_time(16_155_000 as u64)
|
||||
// Minimum execution time: 16_074 nanoseconds.
|
||||
Weight::from_ref_time(16_409_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy LowestUnbaked (r:1 w:1)
|
||||
@@ -172,9 +186,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Democracy ReferendumInfoOf (r:2 w:0)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn on_initialize_base(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(7_007_000 as u64)
|
||||
// Standard Error: 2_686
|
||||
.saturating_add(Weight::from_ref_time(2_288_781 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 7_430 nanoseconds.
|
||||
Weight::from_ref_time(12_086_064 as u64)
|
||||
// Standard Error: 3_474
|
||||
.saturating_add(Weight::from_ref_time(2_283_457 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
@@ -187,9 +202,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Democracy ReferendumInfoOf (r:2 w:0)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn on_initialize_base_with_launch_period(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(9_528_000 as u64)
|
||||
// Standard Error: 2_521
|
||||
.saturating_add(Weight::from_ref_time(2_291_780 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 9_882 nanoseconds.
|
||||
Weight::from_ref_time(14_566_711 as u64)
|
||||
// Standard Error: 3_354
|
||||
.saturating_add(Weight::from_ref_time(2_282_038 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
@@ -199,9 +215,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Democracy ReferendumInfoOf (r:2 w:2)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn delegate(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(46_787_000 as u64)
|
||||
// Standard Error: 2_943
|
||||
.saturating_add(Weight::from_ref_time(3_460_194 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 48_840 nanoseconds.
|
||||
Weight::from_ref_time(56_403_092 as u64)
|
||||
// Standard Error: 6_093
|
||||
.saturating_add(Weight::from_ref_time(3_344_243 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
@@ -211,9 +228,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Democracy ReferendumInfoOf (r:2 w:2)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn undelegate(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(29_789_000 as u64)
|
||||
// Standard Error: 2_324
|
||||
.saturating_add(Weight::from_ref_time(3_360_918 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 30_483 nanoseconds.
|
||||
Weight::from_ref_time(32_035_405 as u64)
|
||||
// Standard Error: 4_383
|
||||
.saturating_add(Weight::from_ref_time(3_347_667 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
@@ -221,7 +239,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
}
|
||||
// Storage: Democracy PublicProps (r:0 w:1)
|
||||
fn clear_public_proposals() -> Weight {
|
||||
Weight::from_ref_time(6_519_000 as u64)
|
||||
// Minimum execution time: 6_421 nanoseconds.
|
||||
Weight::from_ref_time(6_638_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
@@ -229,9 +248,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn unlock_remove(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_884_000 as u64)
|
||||
// Standard Error: 2_631
|
||||
.saturating_add(Weight::from_ref_time(163_516 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 30_291 nanoseconds.
|
||||
Weight::from_ref_time(37_071_950 as u64)
|
||||
// Standard Error: 1_619
|
||||
.saturating_add(Weight::from_ref_time(59_302 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -240,9 +260,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn unlock_set(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(33_498_000 as u64)
|
||||
// Standard Error: 622
|
||||
.saturating_add(Weight::from_ref_time(133_421 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 34_888 nanoseconds.
|
||||
Weight::from_ref_time(36_418_789 as u64)
|
||||
// Standard Error: 906
|
||||
.saturating_add(Weight::from_ref_time(109_602 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -250,9 +271,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 100]`.
|
||||
fn remove_vote(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_201_000 as u64)
|
||||
// Standard Error: 1_007
|
||||
.saturating_add(Weight::from_ref_time(152_699 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 18_739 nanoseconds.
|
||||
Weight::from_ref_time(21_004_077 as u64)
|
||||
// Standard Error: 1_075
|
||||
.saturating_add(Weight::from_ref_time(116_457 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -260,9 +282,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 100]`.
|
||||
fn remove_other_vote(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_455_000 as u64)
|
||||
// Standard Error: 951
|
||||
.saturating_add(Weight::from_ref_time(150_907 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 18_514 nanoseconds.
|
||||
Weight::from_ref_time(21_030_667 as u64)
|
||||
// Standard Error: 1_102
|
||||
.saturating_add(Weight::from_ref_time(118_039 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -275,13 +298,15 @@ impl WeightInfo for () {
|
||||
// Storage: Democracy Blacklist (r:1 w:0)
|
||||
// Storage: Democracy DepositOf (r:0 w:1)
|
||||
fn propose() -> Weight {
|
||||
Weight::from_ref_time(57_410_000 as u64)
|
||||
// Minimum execution time: 56_868 nanoseconds.
|
||||
Weight::from_ref_time(57_788_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy DepositOf (r:1 w:1)
|
||||
fn second() -> Weight {
|
||||
Weight::from_ref_time(49_224_000 as u64)
|
||||
// Minimum execution time: 49_328 nanoseconds.
|
||||
Weight::from_ref_time(49_764_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -289,7 +314,8 @@ impl WeightInfo for () {
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn vote_new() -> Weight {
|
||||
Weight::from_ref_time(60_933_000 as u64)
|
||||
// Minimum execution time: 60_323 nanoseconds.
|
||||
Weight::from_ref_time(61_389_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -297,14 +323,16 @@ impl WeightInfo for () {
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn vote_existing() -> Weight {
|
||||
Weight::from_ref_time(60_393_000 as u64)
|
||||
// Minimum execution time: 60_612 nanoseconds.
|
||||
Weight::from_ref_time(61_282_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy Cancellations (r:1 w:1)
|
||||
fn emergency_cancel() -> Weight {
|
||||
Weight::from_ref_time(24_588_000 as u64)
|
||||
// Minimum execution time: 24_780 nanoseconds.
|
||||
Weight::from_ref_time(25_194_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -315,39 +343,45 @@ impl WeightInfo for () {
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:0 w:1)
|
||||
fn blacklist() -> Weight {
|
||||
Weight::from_ref_time(91_226_000 as u64)
|
||||
// Minimum execution time: 85_177 nanoseconds.
|
||||
Weight::from_ref_time(91_733_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:1 w:0)
|
||||
fn external_propose() -> Weight {
|
||||
Weight::from_ref_time(18_898_000 as u64)
|
||||
// Minimum execution time: 19_483 nanoseconds.
|
||||
Weight::from_ref_time(19_914_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:0 w:1)
|
||||
fn external_propose_majority() -> Weight {
|
||||
Weight::from_ref_time(5_136_000 as u64)
|
||||
// Minimum execution time: 4_963 nanoseconds.
|
||||
Weight::from_ref_time(5_250_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:0 w:1)
|
||||
fn external_propose_default() -> Weight {
|
||||
Weight::from_ref_time(5_243_000 as u64)
|
||||
// Minimum execution time: 5_075 nanoseconds.
|
||||
Weight::from_ref_time(5_187_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy ReferendumCount (r:1 w:1)
|
||||
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
|
||||
fn fast_track() -> Weight {
|
||||
Weight::from_ref_time(24_275_000 as u64)
|
||||
// Minimum execution time: 23_956 nanoseconds.
|
||||
Weight::from_ref_time(24_814_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:1 w:1)
|
||||
fn veto_external() -> Weight {
|
||||
Weight::from_ref_time(30_988_000 as u64)
|
||||
// Minimum execution time: 31_472 nanoseconds.
|
||||
Weight::from_ref_time(31_770_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -355,13 +389,15 @@ impl WeightInfo for () {
|
||||
// Storage: Democracy DepositOf (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn cancel_proposal() -> Weight {
|
||||
Weight::from_ref_time(78_515_000 as u64)
|
||||
// Minimum execution time: 73_811 nanoseconds.
|
||||
Weight::from_ref_time(78_943_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
|
||||
fn cancel_referendum() -> Weight {
|
||||
Weight::from_ref_time(16_155_000 as u64)
|
||||
// Minimum execution time: 16_074 nanoseconds.
|
||||
Weight::from_ref_time(16_409_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy LowestUnbaked (r:1 w:1)
|
||||
@@ -369,9 +405,10 @@ impl WeightInfo for () {
|
||||
// Storage: Democracy ReferendumInfoOf (r:2 w:0)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn on_initialize_base(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(7_007_000 as u64)
|
||||
// Standard Error: 2_686
|
||||
.saturating_add(Weight::from_ref_time(2_288_781 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 7_430 nanoseconds.
|
||||
Weight::from_ref_time(12_086_064 as u64)
|
||||
// Standard Error: 3_474
|
||||
.saturating_add(Weight::from_ref_time(2_283_457 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
@@ -384,9 +421,10 @@ impl WeightInfo for () {
|
||||
// Storage: Democracy ReferendumInfoOf (r:2 w:0)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn on_initialize_base_with_launch_period(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(9_528_000 as u64)
|
||||
// Standard Error: 2_521
|
||||
.saturating_add(Weight::from_ref_time(2_291_780 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 9_882 nanoseconds.
|
||||
Weight::from_ref_time(14_566_711 as u64)
|
||||
// Standard Error: 3_354
|
||||
.saturating_add(Weight::from_ref_time(2_282_038 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
@@ -396,9 +434,10 @@ impl WeightInfo for () {
|
||||
// Storage: Democracy ReferendumInfoOf (r:2 w:2)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn delegate(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(46_787_000 as u64)
|
||||
// Standard Error: 2_943
|
||||
.saturating_add(Weight::from_ref_time(3_460_194 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 48_840 nanoseconds.
|
||||
Weight::from_ref_time(56_403_092 as u64)
|
||||
// Standard Error: 6_093
|
||||
.saturating_add(Weight::from_ref_time(3_344_243 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
@@ -408,9 +447,10 @@ impl WeightInfo for () {
|
||||
// Storage: Democracy ReferendumInfoOf (r:2 w:2)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn undelegate(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(29_789_000 as u64)
|
||||
// Standard Error: 2_324
|
||||
.saturating_add(Weight::from_ref_time(3_360_918 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 30_483 nanoseconds.
|
||||
Weight::from_ref_time(32_035_405 as u64)
|
||||
// Standard Error: 4_383
|
||||
.saturating_add(Weight::from_ref_time(3_347_667 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
@@ -418,7 +458,8 @@ impl WeightInfo for () {
|
||||
}
|
||||
// Storage: Democracy PublicProps (r:0 w:1)
|
||||
fn clear_public_proposals() -> Weight {
|
||||
Weight::from_ref_time(6_519_000 as u64)
|
||||
// Minimum execution time: 6_421 nanoseconds.
|
||||
Weight::from_ref_time(6_638_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
@@ -426,9 +467,10 @@ impl WeightInfo for () {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn unlock_remove(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_884_000 as u64)
|
||||
// Standard Error: 2_631
|
||||
.saturating_add(Weight::from_ref_time(163_516 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 30_291 nanoseconds.
|
||||
Weight::from_ref_time(37_071_950 as u64)
|
||||
// Standard Error: 1_619
|
||||
.saturating_add(Weight::from_ref_time(59_302 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -437,9 +479,10 @@ impl WeightInfo for () {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn unlock_set(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(33_498_000 as u64)
|
||||
// Standard Error: 622
|
||||
.saturating_add(Weight::from_ref_time(133_421 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 34_888 nanoseconds.
|
||||
Weight::from_ref_time(36_418_789 as u64)
|
||||
// Standard Error: 906
|
||||
.saturating_add(Weight::from_ref_time(109_602 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -447,9 +490,10 @@ impl WeightInfo for () {
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 100]`.
|
||||
fn remove_vote(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_201_000 as u64)
|
||||
// Standard Error: 1_007
|
||||
.saturating_add(Weight::from_ref_time(152_699 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 18_739 nanoseconds.
|
||||
Weight::from_ref_time(21_004_077 as u64)
|
||||
// Standard Error: 1_075
|
||||
.saturating_add(Weight::from_ref_time(116_457 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -457,9 +501,10 @@ impl WeightInfo for () {
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 100]`.
|
||||
fn remove_other_vote(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_455_000 as u64)
|
||||
// Standard Error: 951
|
||||
.saturating_add(Weight::from_ref_time(150_907 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 18_514 nanoseconds.
|
||||
Weight::from_ref_time(21_030_667 as u64)
|
||||
// Standard Error: 1_102
|
||||
.saturating_add(Weight::from_ref_time(118_039 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,7 +18,8 @@
|
||||
//! Autogenerated weights for pallet_election_provider_multi_phase
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,8 +33,10 @@
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/election-provider-multi-phase/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -68,45 +71,51 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Staking ForceEra (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
fn on_initialize_nothing() -> Weight {
|
||||
Weight::from_ref_time(13_495_000 as u64)
|
||||
// Minimum execution time: 17_309 nanoseconds.
|
||||
Weight::from_ref_time(17_646_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1)
|
||||
fn on_initialize_open_signed() -> Weight {
|
||||
Weight::from_ref_time(14_114_000 as u64)
|
||||
// Minimum execution time: 17_992 nanoseconds.
|
||||
Weight::from_ref_time(18_426_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1)
|
||||
fn on_initialize_open_unsigned() -> Weight {
|
||||
Weight::from_ref_time(13_756_000 as u64)
|
||||
// Minimum execution time: 17_340 nanoseconds.
|
||||
Weight::from_ref_time(17_881_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase QueuedSolution (r:0 w:1)
|
||||
fn finalize_signed_phase_accept_solution() -> Weight {
|
||||
Weight::from_ref_time(28_467_000 as u64)
|
||||
// Minimum execution time: 35_571 nanoseconds.
|
||||
Weight::from_ref_time(35_989_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn finalize_signed_phase_reject_solution() -> Weight {
|
||||
Weight::from_ref_time(21_991_000 as u64)
|
||||
// Minimum execution time: 27_403 nanoseconds.
|
||||
Weight::from_ref_time(27_879_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:0 w:1)
|
||||
// Storage: ElectionProviderMultiPhase DesiredTargets (r:0 w:1)
|
||||
// Storage: ElectionProviderMultiPhase Snapshot (r:0 w:1)
|
||||
fn create_snapshot_internal(v: u32, t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(3_186_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(202_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(60_000 as u64).saturating_mul(t as u64))
|
||||
/// The range of component `v` is `[1000, 2000]`.
|
||||
/// The range of component `t` is `[500, 1000]`.
|
||||
fn create_snapshot_internal(v: u32, _t: u32, ) -> Weight {
|
||||
// Minimum execution time: 571_900 nanoseconds.
|
||||
Weight::from_ref_time(589_170_000 as u64)
|
||||
// Standard Error: 7_123
|
||||
.saturating_add(Weight::from_ref_time(384_767 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1)
|
||||
@@ -118,12 +127,15 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: ElectionProviderMultiPhase DesiredTargets (r:0 w:1)
|
||||
// Storage: ElectionProviderMultiPhase Snapshot (r:0 w:1)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1)
|
||||
/// The range of component `a` is `[500, 800]`.
|
||||
/// The range of component `d` is `[200, 400]`.
|
||||
fn elect_queued(a: u32, d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(137_653_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(640_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(48_000 as u64).saturating_mul(d as u64))
|
||||
// Minimum execution time: 1_296_481 nanoseconds.
|
||||
Weight::from_ref_time(1_076_121_575 as u64)
|
||||
// Standard Error: 5_708
|
||||
.saturating_add(Weight::from_ref_time(474_995 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 8_556
|
||||
.saturating_add(Weight::from_ref_time(39_224 as u64).saturating_mul(d as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
}
|
||||
@@ -134,7 +146,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionsMap (r:0 w:1)
|
||||
fn submit() -> Weight {
|
||||
Weight::from_ref_time(49_313_000 as u64)
|
||||
// Minimum execution time: 58_716 nanoseconds.
|
||||
Weight::from_ref_time(59_480_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -145,16 +158,17 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase Snapshot (r:1 w:0)
|
||||
fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(867_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 7_000
|
||||
.saturating_add(Weight::from_ref_time(107_000 as u64).saturating_mul(t as u64))
|
||||
// Standard Error: 12_000
|
||||
.saturating_add(Weight::from_ref_time(6_907_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 18_000
|
||||
.saturating_add(Weight::from_ref_time(1_427_000 as u64).saturating_mul(d as u64))
|
||||
/// The range of component `v` is `[1000, 2000]`.
|
||||
/// The range of component `t` is `[500, 1000]`.
|
||||
/// The range of component `a` is `[500, 800]`.
|
||||
/// The range of component `d` is `[200, 400]`.
|
||||
fn submit_unsigned(v: u32, _t: u32, a: u32, _d: u32, ) -> Weight {
|
||||
// Minimum execution time: 5_540_737 nanoseconds.
|
||||
Weight::from_ref_time(5_567_381_000 as u64)
|
||||
// Standard Error: 18_563
|
||||
.saturating_add(Weight::from_ref_time(603_280 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 55_009
|
||||
.saturating_add(Weight::from_ref_time(3_164_053 as u64).saturating_mul(a as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -162,16 +176,17 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: ElectionProviderMultiPhase DesiredTargets (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase Snapshot (r:1 w:0)
|
||||
fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(844_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(150_000 as u64).saturating_mul(t as u64))
|
||||
// Standard Error: 8_000
|
||||
.saturating_add(Weight::from_ref_time(5_421_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 13_000
|
||||
.saturating_add(Weight::from_ref_time(1_167_000 as u64).saturating_mul(d as u64))
|
||||
/// The range of component `v` is `[1000, 2000]`.
|
||||
/// The range of component `t` is `[500, 1000]`.
|
||||
/// The range of component `a` is `[500, 800]`.
|
||||
/// The range of component `d` is `[200, 400]`.
|
||||
fn feasibility_check(v: u32, _t: u32, a: u32, _d: u32, ) -> Weight {
|
||||
// Minimum execution time: 5_021_808 nanoseconds.
|
||||
Weight::from_ref_time(5_051_856_000 as u64)
|
||||
// Standard Error: 16_650
|
||||
.saturating_add(Weight::from_ref_time(683_344 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 49_342
|
||||
.saturating_add(Weight::from_ref_time(2_190_098 as u64).saturating_mul(a as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
}
|
||||
}
|
||||
@@ -187,45 +202,51 @@ impl WeightInfo for () {
|
||||
// Storage: Staking ForceEra (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
fn on_initialize_nothing() -> Weight {
|
||||
Weight::from_ref_time(13_495_000 as u64)
|
||||
// Minimum execution time: 17_309 nanoseconds.
|
||||
Weight::from_ref_time(17_646_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(8 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1)
|
||||
fn on_initialize_open_signed() -> Weight {
|
||||
Weight::from_ref_time(14_114_000 as u64)
|
||||
// Minimum execution time: 17_992 nanoseconds.
|
||||
Weight::from_ref_time(18_426_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1)
|
||||
fn on_initialize_open_unsigned() -> Weight {
|
||||
Weight::from_ref_time(13_756_000 as u64)
|
||||
// Minimum execution time: 17_340 nanoseconds.
|
||||
Weight::from_ref_time(17_881_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase QueuedSolution (r:0 w:1)
|
||||
fn finalize_signed_phase_accept_solution() -> Weight {
|
||||
Weight::from_ref_time(28_467_000 as u64)
|
||||
// Minimum execution time: 35_571 nanoseconds.
|
||||
Weight::from_ref_time(35_989_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn finalize_signed_phase_reject_solution() -> Weight {
|
||||
Weight::from_ref_time(21_991_000 as u64)
|
||||
// Minimum execution time: 27_403 nanoseconds.
|
||||
Weight::from_ref_time(27_879_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:0 w:1)
|
||||
// Storage: ElectionProviderMultiPhase DesiredTargets (r:0 w:1)
|
||||
// Storage: ElectionProviderMultiPhase Snapshot (r:0 w:1)
|
||||
fn create_snapshot_internal(v: u32, t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(3_186_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(202_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(60_000 as u64).saturating_mul(t as u64))
|
||||
/// The range of component `v` is `[1000, 2000]`.
|
||||
/// The range of component `t` is `[500, 1000]`.
|
||||
fn create_snapshot_internal(v: u32, _t: u32, ) -> Weight {
|
||||
// Minimum execution time: 571_900 nanoseconds.
|
||||
Weight::from_ref_time(589_170_000 as u64)
|
||||
// Standard Error: 7_123
|
||||
.saturating_add(Weight::from_ref_time(384_767 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1)
|
||||
@@ -237,12 +258,15 @@ impl WeightInfo for () {
|
||||
// Storage: ElectionProviderMultiPhase DesiredTargets (r:0 w:1)
|
||||
// Storage: ElectionProviderMultiPhase Snapshot (r:0 w:1)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1)
|
||||
/// The range of component `a` is `[500, 800]`.
|
||||
/// The range of component `d` is `[200, 400]`.
|
||||
fn elect_queued(a: u32, d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(137_653_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(640_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(48_000 as u64).saturating_mul(d as u64))
|
||||
// Minimum execution time: 1_296_481 nanoseconds.
|
||||
Weight::from_ref_time(1_076_121_575 as u64)
|
||||
// Standard Error: 5_708
|
||||
.saturating_add(Weight::from_ref_time(474_995 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 8_556
|
||||
.saturating_add(Weight::from_ref_time(39_224 as u64).saturating_mul(d as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(6 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(8 as u64))
|
||||
}
|
||||
@@ -253,7 +277,8 @@ impl WeightInfo for () {
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionsMap (r:0 w:1)
|
||||
fn submit() -> Weight {
|
||||
Weight::from_ref_time(49_313_000 as u64)
|
||||
// Minimum execution time: 58_716 nanoseconds.
|
||||
Weight::from_ref_time(59_480_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -264,16 +289,17 @@ impl WeightInfo for () {
|
||||
// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase Snapshot (r:1 w:0)
|
||||
fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(867_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 7_000
|
||||
.saturating_add(Weight::from_ref_time(107_000 as u64).saturating_mul(t as u64))
|
||||
// Standard Error: 12_000
|
||||
.saturating_add(Weight::from_ref_time(6_907_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 18_000
|
||||
.saturating_add(Weight::from_ref_time(1_427_000 as u64).saturating_mul(d as u64))
|
||||
/// The range of component `v` is `[1000, 2000]`.
|
||||
/// The range of component `t` is `[500, 1000]`.
|
||||
/// The range of component `a` is `[500, 800]`.
|
||||
/// The range of component `d` is `[200, 400]`.
|
||||
fn submit_unsigned(v: u32, _t: u32, a: u32, _d: u32, ) -> Weight {
|
||||
// Minimum execution time: 5_540_737 nanoseconds.
|
||||
Weight::from_ref_time(5_567_381_000 as u64)
|
||||
// Standard Error: 18_563
|
||||
.saturating_add(Weight::from_ref_time(603_280 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 55_009
|
||||
.saturating_add(Weight::from_ref_time(3_164_053 as u64).saturating_mul(a as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(7 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -281,16 +307,17 @@ impl WeightInfo for () {
|
||||
// Storage: ElectionProviderMultiPhase DesiredTargets (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase Snapshot (r:1 w:0)
|
||||
fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(844_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(150_000 as u64).saturating_mul(t as u64))
|
||||
// Standard Error: 8_000
|
||||
.saturating_add(Weight::from_ref_time(5_421_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 13_000
|
||||
.saturating_add(Weight::from_ref_time(1_167_000 as u64).saturating_mul(d as u64))
|
||||
/// The range of component `v` is `[1000, 2000]`.
|
||||
/// The range of component `t` is `[500, 1000]`.
|
||||
/// The range of component `a` is `[500, 800]`.
|
||||
/// The range of component `d` is `[200, 400]`.
|
||||
fn feasibility_check(v: u32, _t: u32, a: u32, _d: u32, ) -> Weight {
|
||||
// Minimum execution time: 5_021_808 nanoseconds.
|
||||
Weight::from_ref_time(5_051_856_000 as u64)
|
||||
// Standard Error: 16_650
|
||||
.saturating_add(Weight::from_ref_time(683_344 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 49_342
|
||||
.saturating_add(Weight::from_ref_time(2_190_098 as u64).saturating_mul(a as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,23 +18,24 @@
|
||||
//! Autogenerated weights for pallet_elections_phragmen
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-08-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// /home/benchbot/cargo_target_dir/production/substrate
|
||||
// ./target/production/substrate
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_elections_phragmen
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --pallet=pallet_elections_phragmen
|
||||
// --chain=dev
|
||||
// --output=./frame/elections-phragmen/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
@@ -70,9 +71,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `v` is `[1, 16]`.
|
||||
fn vote_equal(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(27_011_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(214_000 as u64).saturating_mul(v as u64))
|
||||
// Minimum execution time: 38_496 nanoseconds.
|
||||
Weight::from_ref_time(39_424_348 as u64)
|
||||
// Standard Error: 3_547
|
||||
.saturating_add(Weight::from_ref_time(119_971 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -83,9 +85,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `v` is `[2, 16]`.
|
||||
fn vote_more(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(40_240_000 as u64)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(244_000 as u64).saturating_mul(v as u64))
|
||||
// Minimum execution time: 49_459 nanoseconds.
|
||||
Weight::from_ref_time(50_225_486 as u64)
|
||||
// Standard Error: 3_160
|
||||
.saturating_add(Weight::from_ref_time(170_360 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -96,16 +99,18 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `v` is `[2, 16]`.
|
||||
fn vote_less(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(40_394_000 as u64)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(217_000 as u64).saturating_mul(v as u64))
|
||||
// Minimum execution time: 48_712 nanoseconds.
|
||||
Weight::from_ref_time(49_463_298 as u64)
|
||||
// Standard Error: 2_678
|
||||
.saturating_add(Weight::from_ref_time(231_771 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Elections Voting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn remove_voter() -> Weight {
|
||||
Weight::from_ref_time(37_651_000 as u64)
|
||||
// Minimum execution time: 48_359 nanoseconds.
|
||||
Weight::from_ref_time(48_767_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -114,18 +119,20 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Elections RunnersUp (r:1 w:0)
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
fn submit_candidacy(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(42_217_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(50_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 43_369 nanoseconds.
|
||||
Weight::from_ref_time(49_587_113 as u64)
|
||||
// Standard Error: 1_008
|
||||
.saturating_add(Weight::from_ref_time(77_752 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Elections Candidates (r:1 w:1)
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
fn renounce_candidacy_candidate(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(46_459_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 41_321 nanoseconds.
|
||||
Weight::from_ref_time(50_803_289 as u64)
|
||||
// Standard Error: 1_159
|
||||
.saturating_add(Weight::from_ref_time(57_239 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -135,18 +142,21 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Council Proposals (r:1 w:0)
|
||||
// Storage: Council Members (r:0 w:1)
|
||||
fn renounce_candidacy_members() -> Weight {
|
||||
Weight::from_ref_time(45_189_000 as u64)
|
||||
// Minimum execution time: 53_542 nanoseconds.
|
||||
Weight::from_ref_time(54_481_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Elections RunnersUp (r:1 w:1)
|
||||
fn renounce_candidacy_runners_up() -> Weight {
|
||||
Weight::from_ref_time(34_516_000 as u64)
|
||||
// Minimum execution time: 41_825 nanoseconds.
|
||||
Weight::from_ref_time(42_248_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Benchmark Override (r:0 w:0)
|
||||
fn remove_member_without_replacement() -> Weight {
|
||||
// Minimum execution time: 2_000_000_000 nanoseconds.
|
||||
Weight::from_ref_time(2_000_000_000_000 as u64)
|
||||
}
|
||||
// Storage: Elections Members (r:1 w:1)
|
||||
@@ -156,7 +166,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Council Proposals (r:1 w:0)
|
||||
// Storage: Council Members (r:0 w:1)
|
||||
fn remove_member_with_replacement() -> Weight {
|
||||
Weight::from_ref_time(51_838_000 as u64)
|
||||
// Minimum execution time: 62_600 nanoseconds.
|
||||
Weight::from_ref_time(63_152_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
@@ -167,11 +178,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Balances Locks (r:5000 w:5000)
|
||||
// Storage: System Account (r:5000 w:5000)
|
||||
/// The range of component `v` is `[5000, 10000]`.
|
||||
/// The range of component `d` is `[1, 5000]`.
|
||||
/// The range of component `d` is `[0, 5000]`.
|
||||
fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 76_000
|
||||
.saturating_add(Weight::from_ref_time(63_721_000 as u64).saturating_mul(v as u64))
|
||||
// Minimum execution time: 297_149_264 nanoseconds.
|
||||
Weight::from_ref_time(297_898_499_000 as u64)
|
||||
// Standard Error: 263_819
|
||||
.saturating_add(Weight::from_ref_time(37_914_985 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(v as u64)))
|
||||
@@ -189,14 +201,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `v` is `[1, 10000]`.
|
||||
/// The range of component `e` is `[10000, 160000]`.
|
||||
fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 773_000
|
||||
.saturating_add(Weight::from_ref_time(81_534_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 51_000
|
||||
.saturating_add(Weight::from_ref_time(4_453_000 as u64).saturating_mul(e as u64))
|
||||
// Minimum execution time: 22_034_317 nanoseconds.
|
||||
Weight::from_ref_time(22_110_020_000 as u64)
|
||||
// Standard Error: 235_528
|
||||
.saturating_add(Weight::from_ref_time(25_553_585 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 15_114
|
||||
.saturating_add(Weight::from_ref_time(1_032_330 as u64).saturating_mul(e as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(280 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64)))
|
||||
}
|
||||
}
|
||||
@@ -210,9 +224,10 @@ impl WeightInfo for () {
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `v` is `[1, 16]`.
|
||||
fn vote_equal(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(27_011_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(214_000 as u64).saturating_mul(v as u64))
|
||||
// Minimum execution time: 38_496 nanoseconds.
|
||||
Weight::from_ref_time(39_424_348 as u64)
|
||||
// Standard Error: 3_547
|
||||
.saturating_add(Weight::from_ref_time(119_971 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -223,9 +238,10 @@ impl WeightInfo for () {
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `v` is `[2, 16]`.
|
||||
fn vote_more(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(40_240_000 as u64)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(244_000 as u64).saturating_mul(v as u64))
|
||||
// Minimum execution time: 49_459 nanoseconds.
|
||||
Weight::from_ref_time(50_225_486 as u64)
|
||||
// Standard Error: 3_160
|
||||
.saturating_add(Weight::from_ref_time(170_360 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -236,16 +252,18 @@ impl WeightInfo for () {
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `v` is `[2, 16]`.
|
||||
fn vote_less(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(40_394_000 as u64)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(217_000 as u64).saturating_mul(v as u64))
|
||||
// Minimum execution time: 48_712 nanoseconds.
|
||||
Weight::from_ref_time(49_463_298 as u64)
|
||||
// Standard Error: 2_678
|
||||
.saturating_add(Weight::from_ref_time(231_771 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Elections Voting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn remove_voter() -> Weight {
|
||||
Weight::from_ref_time(37_651_000 as u64)
|
||||
// Minimum execution time: 48_359 nanoseconds.
|
||||
Weight::from_ref_time(48_767_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -254,18 +272,20 @@ impl WeightInfo for () {
|
||||
// Storage: Elections RunnersUp (r:1 w:0)
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
fn submit_candidacy(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(42_217_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(50_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 43_369 nanoseconds.
|
||||
Weight::from_ref_time(49_587_113 as u64)
|
||||
// Standard Error: 1_008
|
||||
.saturating_add(Weight::from_ref_time(77_752 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Elections Candidates (r:1 w:1)
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
fn renounce_candidacy_candidate(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(46_459_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 41_321 nanoseconds.
|
||||
Weight::from_ref_time(50_803_289 as u64)
|
||||
// Standard Error: 1_159
|
||||
.saturating_add(Weight::from_ref_time(57_239 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -275,18 +295,21 @@ impl WeightInfo for () {
|
||||
// Storage: Council Proposals (r:1 w:0)
|
||||
// Storage: Council Members (r:0 w:1)
|
||||
fn renounce_candidacy_members() -> Weight {
|
||||
Weight::from_ref_time(45_189_000 as u64)
|
||||
// Minimum execution time: 53_542 nanoseconds.
|
||||
Weight::from_ref_time(54_481_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Elections RunnersUp (r:1 w:1)
|
||||
fn renounce_candidacy_runners_up() -> Weight {
|
||||
Weight::from_ref_time(34_516_000 as u64)
|
||||
// Minimum execution time: 41_825 nanoseconds.
|
||||
Weight::from_ref_time(42_248_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Benchmark Override (r:0 w:0)
|
||||
fn remove_member_without_replacement() -> Weight {
|
||||
// Minimum execution time: 2_000_000_000 nanoseconds.
|
||||
Weight::from_ref_time(2_000_000_000_000 as u64)
|
||||
}
|
||||
// Storage: Elections Members (r:1 w:1)
|
||||
@@ -296,7 +319,8 @@ impl WeightInfo for () {
|
||||
// Storage: Council Proposals (r:1 w:0)
|
||||
// Storage: Council Members (r:0 w:1)
|
||||
fn remove_member_with_replacement() -> Weight {
|
||||
Weight::from_ref_time(51_838_000 as u64)
|
||||
// Minimum execution time: 62_600 nanoseconds.
|
||||
Weight::from_ref_time(63_152_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(5 as u64))
|
||||
}
|
||||
@@ -307,11 +331,12 @@ impl WeightInfo for () {
|
||||
// Storage: Balances Locks (r:5000 w:5000)
|
||||
// Storage: System Account (r:5000 w:5000)
|
||||
/// The range of component `v` is `[5000, 10000]`.
|
||||
/// The range of component `d` is `[1, 5000]`.
|
||||
/// The range of component `d` is `[0, 5000]`.
|
||||
fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 76_000
|
||||
.saturating_add(Weight::from_ref_time(63_721_000 as u64).saturating_mul(v as u64))
|
||||
// Minimum execution time: 297_149_264 nanoseconds.
|
||||
Weight::from_ref_time(297_898_499_000 as u64)
|
||||
// Standard Error: 263_819
|
||||
.saturating_add(Weight::from_ref_time(37_914_985 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((3 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(RocksDbWeight::get().writes((3 as u64).saturating_mul(v as u64)))
|
||||
@@ -329,14 +354,16 @@ impl WeightInfo for () {
|
||||
/// The range of component `v` is `[1, 10000]`.
|
||||
/// The range of component `e` is `[10000, 160000]`.
|
||||
fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 773_000
|
||||
.saturating_add(Weight::from_ref_time(81_534_000 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 51_000
|
||||
.saturating_add(Weight::from_ref_time(4_453_000 as u64).saturating_mul(e as u64))
|
||||
// Minimum execution time: 22_034_317 nanoseconds.
|
||||
Weight::from_ref_time(22_110_020_000 as u64)
|
||||
// Standard Error: 235_528
|
||||
.saturating_add(Weight::from_ref_time(25_553_585 as u64).saturating_mul(v as u64))
|
||||
// Standard Error: 15_114
|
||||
.saturating_add(Weight::from_ref_time(1_032_330 as u64).saturating_mul(e as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(280 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
|
||||
.saturating_add(RocksDbWeight::get().writes(6 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(c as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,23 +18,25 @@
|
||||
//! Autogenerated weights for pallet_fast_unstake
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-07, STEPS: `10`, REPEAT: 1, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `Kians-MacBook-Pro-2.local`, CPU: `<UNKNOWN>`
|
||||
//! EXECUTION: Some(Native), WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/substrate
|
||||
// ./target/production/substrate
|
||||
// benchmark
|
||||
// pallet
|
||||
// --steps=10
|
||||
// --repeat=1
|
||||
// --chain=dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_fast_unstake
|
||||
// --extrinsic=*
|
||||
// --execution=native
|
||||
// --output
|
||||
// weight.rs
|
||||
// --template
|
||||
// ./.maintain/frame-weight-template.hbs
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/fast-unstake/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -61,25 +63,18 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: FastUnstake Head (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking SlashingSpans (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:2 w:1)
|
||||
// Storage: Staking Ledger (r:2 w:2)
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
// Storage: Staking Validators (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:0)
|
||||
// Storage: System Account (r:3 w:2)
|
||||
// Storage: Balances Locks (r:2 w:2)
|
||||
// Storage: NominationPools MinJoinBond (r:1 w:0)
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: NominationPools MaxPoolMembersPerPool (r:1 w:0)
|
||||
// Storage: NominationPools MaxPoolMembers (r:1 w:0)
|
||||
// Storage: NominationPools CounterForPoolMembers (r:1 w:1)
|
||||
// Storage: BagsList ListNodes (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:0 w:1)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
fn on_idle_unstake() -> Weight {
|
||||
Weight::from_ref_time(102_000_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(25 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(13 as u64))
|
||||
// Minimum execution time: 82_426 nanoseconds.
|
||||
Weight::from_ref_time(83_422_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(11 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
// Storage: Staking ValidatorCount (r:1 w:0)
|
||||
@@ -91,42 +86,49 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Staking ErasStakers (r:1344 w:0)
|
||||
/// The range of component `x` is `[672, 86016]`.
|
||||
fn on_idle_check(x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 244_000
|
||||
.saturating_add(Weight::from_ref_time(13_913_000 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(585 as u64))
|
||||
// Minimum execution time: 13_932_777 nanoseconds.
|
||||
Weight::from_ref_time(13_996_029_000 as u64)
|
||||
// Standard Error: 16_878
|
||||
.saturating_add(Weight::from_ref_time(18_113_540 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(345 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(x as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking Nominators (r:1 w:1)
|
||||
// Storage: FastUnstake Queue (r:1 w:1)
|
||||
// Storage: FastUnstake Head (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Validators (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:1)
|
||||
// Storage: Staking CounterForNominators (r:1 w:1)
|
||||
// Storage: BagsList ListNodes (r:1 w:1)
|
||||
// Storage: BagsList ListBags (r:1 w:1)
|
||||
// Storage: BagsList CounterForListNodes (r:1 w:1)
|
||||
// Storage: VoterList ListNodes (r:1 w:1)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: FastUnstake CounterForQueue (r:1 w:1)
|
||||
fn register_fast_unstake() -> Weight {
|
||||
Weight::from_ref_time(57_000_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(12 as u64))
|
||||
// Minimum execution time: 120_190 nanoseconds.
|
||||
Weight::from_ref_time(121_337_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(14 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(9 as u64))
|
||||
}
|
||||
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: FastUnstake Queue (r:1 w:1)
|
||||
// Storage: FastUnstake Head (r:1 w:0)
|
||||
// Storage: FastUnstake CounterForQueue (r:1 w:1)
|
||||
fn deregister() -> Weight {
|
||||
Weight::from_ref_time(15_000_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
// Minimum execution time: 49_897 nanoseconds.
|
||||
Weight::from_ref_time(50_080_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: FastUnstake ErasToCheckPerBlock (r:0 w:1)
|
||||
fn control() -> Weight {
|
||||
Weight::from_ref_time(3_000_000 as u64)
|
||||
// Minimum execution time: 4_814 nanoseconds.
|
||||
Weight::from_ref_time(4_997_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
@@ -139,25 +141,18 @@ impl WeightInfo for () {
|
||||
// Storage: FastUnstake Head (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking SlashingSpans (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:2 w:1)
|
||||
// Storage: Staking Ledger (r:2 w:2)
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
// Storage: Staking Validators (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:0)
|
||||
// Storage: System Account (r:3 w:2)
|
||||
// Storage: Balances Locks (r:2 w:2)
|
||||
// Storage: NominationPools MinJoinBond (r:1 w:0)
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: NominationPools MaxPoolMembersPerPool (r:1 w:0)
|
||||
// Storage: NominationPools MaxPoolMembers (r:1 w:0)
|
||||
// Storage: NominationPools CounterForPoolMembers (r:1 w:1)
|
||||
// Storage: BagsList ListNodes (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:0 w:1)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
fn on_idle_unstake() -> Weight {
|
||||
Weight::from_ref_time(102_000_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(25 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(13 as u64))
|
||||
// Minimum execution time: 82_426 nanoseconds.
|
||||
Weight::from_ref_time(83_422_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(11 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
// Storage: Staking ValidatorCount (r:1 w:0)
|
||||
@@ -169,42 +164,49 @@ impl WeightInfo for () {
|
||||
// Storage: Staking ErasStakers (r:1344 w:0)
|
||||
/// The range of component `x` is `[672, 86016]`.
|
||||
fn on_idle_check(x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 244_000
|
||||
.saturating_add(Weight::from_ref_time(13_913_000 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(585 as u64))
|
||||
// Minimum execution time: 13_932_777 nanoseconds.
|
||||
Weight::from_ref_time(13_996_029_000 as u64)
|
||||
// Standard Error: 16_878
|
||||
.saturating_add(Weight::from_ref_time(18_113_540 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(345 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(x as u64)))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking Nominators (r:1 w:1)
|
||||
// Storage: FastUnstake Queue (r:1 w:1)
|
||||
// Storage: FastUnstake Head (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Validators (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:1)
|
||||
// Storage: Staking CounterForNominators (r:1 w:1)
|
||||
// Storage: BagsList ListNodes (r:1 w:1)
|
||||
// Storage: BagsList ListBags (r:1 w:1)
|
||||
// Storage: BagsList CounterForListNodes (r:1 w:1)
|
||||
// Storage: VoterList ListNodes (r:1 w:1)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: FastUnstake CounterForQueue (r:1 w:1)
|
||||
fn register_fast_unstake() -> Weight {
|
||||
Weight::from_ref_time(57_000_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(12 as u64))
|
||||
// Minimum execution time: 120_190 nanoseconds.
|
||||
Weight::from_ref_time(121_337_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(14 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(9 as u64))
|
||||
}
|
||||
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: FastUnstake Queue (r:1 w:1)
|
||||
// Storage: FastUnstake Head (r:1 w:0)
|
||||
// Storage: FastUnstake CounterForQueue (r:1 w:1)
|
||||
fn deregister() -> Weight {
|
||||
Weight::from_ref_time(15_000_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
// Minimum execution time: 49_897 nanoseconds.
|
||||
Weight::from_ref_time(50_080_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: FastUnstake ErasToCheckPerBlock (r:0 w:1)
|
||||
fn control() -> Weight {
|
||||
Weight::from_ref_time(3_000_000 as u64)
|
||||
// Minimum execution time: 4_814 nanoseconds.
|
||||
Weight::from_ref_time(4_997_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,7 +18,8 @@
|
||||
//! Autogenerated weights for pallet_gilt
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,8 +33,10 @@
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/gilt/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -59,67 +62,79 @@ pub struct SubstrateWeight<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Gilt Queues (r:1 w:1)
|
||||
// Storage: Gilt QueueTotals (r:1 w:1)
|
||||
/// The range of component `l` is `[0, 999]`.
|
||||
fn place_bid(l: u32, ) -> Weight {
|
||||
Weight::from_ref_time(41_605_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(62_000 as u64).saturating_mul(l as u64))
|
||||
// Minimum execution time: 42_332 nanoseconds.
|
||||
Weight::from_ref_time(45_584_514 as u64)
|
||||
// Standard Error: 129
|
||||
.saturating_add(Weight::from_ref_time(45_727 as u64).saturating_mul(l as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Gilt Queues (r:1 w:1)
|
||||
// Storage: Gilt QueueTotals (r:1 w:1)
|
||||
fn place_bid_max() -> Weight {
|
||||
Weight::from_ref_time(97_715_000 as u64)
|
||||
// Minimum execution time: 85_866 nanoseconds.
|
||||
Weight::from_ref_time(87_171_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Gilt Queues (r:1 w:1)
|
||||
// Storage: Gilt QueueTotals (r:1 w:1)
|
||||
/// The range of component `l` is `[1, 1000]`.
|
||||
fn retract_bid(l: u32, ) -> Weight {
|
||||
Weight::from_ref_time(42_061_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(52_000 as u64).saturating_mul(l as u64))
|
||||
// Minimum execution time: 44_605 nanoseconds.
|
||||
Weight::from_ref_time(46_850_108 as u64)
|
||||
// Standard Error: 135
|
||||
.saturating_add(Weight::from_ref_time(34_178 as u64).saturating_mul(l as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Gilt ActiveTotal (r:1 w:1)
|
||||
fn set_target() -> Weight {
|
||||
Weight::from_ref_time(5_026_000 as u64)
|
||||
// Minimum execution time: 7_331 nanoseconds.
|
||||
Weight::from_ref_time(7_619_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Gilt Active (r:1 w:1)
|
||||
// Storage: Gilt ActiveTotal (r:1 w:1)
|
||||
fn thaw() -> Weight {
|
||||
Weight::from_ref_time(47_753_000 as u64)
|
||||
// Minimum execution time: 55_143 nanoseconds.
|
||||
Weight::from_ref_time(55_845_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Gilt ActiveTotal (r:1 w:0)
|
||||
fn pursue_target_noop() -> Weight {
|
||||
Weight::from_ref_time(1_663_000 as u64)
|
||||
// Minimum execution time: 3_386 nanoseconds.
|
||||
Weight::from_ref_time(3_461_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Gilt ActiveTotal (r:1 w:1)
|
||||
// Storage: Gilt QueueTotals (r:1 w:1)
|
||||
// Storage: Gilt Queues (r:1 w:1)
|
||||
// Storage: Gilt Active (r:0 w:1)
|
||||
// Storage: Gilt Active (r:0 w:20)
|
||||
/// The range of component `b` is `[0, 1000]`.
|
||||
fn pursue_target_per_item(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(40_797_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(4_122_000 as u64).saturating_mul(b as u64))
|
||||
// Minimum execution time: 34_156 nanoseconds.
|
||||
Weight::from_ref_time(45_262_859 as u64)
|
||||
// Standard Error: 1_529
|
||||
.saturating_add(Weight::from_ref_time(4_181_654 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
|
||||
}
|
||||
// Storage: Gilt ActiveTotal (r:1 w:1)
|
||||
// Storage: Gilt QueueTotals (r:1 w:1)
|
||||
// Storage: Gilt Queues (r:1 w:1)
|
||||
// Storage: Gilt Active (r:0 w:1)
|
||||
// Storage: Gilt Queues (r:6 w:6)
|
||||
// Storage: Gilt Active (r:0 w:6)
|
||||
/// The range of component `q` is `[0, 300]`.
|
||||
fn pursue_target_per_queue(q: u32, ) -> Weight {
|
||||
Weight::from_ref_time(14_944_000 as u64)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(8_135_000 as u64).saturating_mul(q as u64))
|
||||
// Minimum execution time: 33_526 nanoseconds.
|
||||
Weight::from_ref_time(37_255_562 as u64)
|
||||
// Standard Error: 3_611
|
||||
.saturating_add(Weight::from_ref_time(7_193_128 as u64).saturating_mul(q as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(q as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
@@ -131,67 +146,79 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
impl WeightInfo for () {
|
||||
// Storage: Gilt Queues (r:1 w:1)
|
||||
// Storage: Gilt QueueTotals (r:1 w:1)
|
||||
/// The range of component `l` is `[0, 999]`.
|
||||
fn place_bid(l: u32, ) -> Weight {
|
||||
Weight::from_ref_time(41_605_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(62_000 as u64).saturating_mul(l as u64))
|
||||
// Minimum execution time: 42_332 nanoseconds.
|
||||
Weight::from_ref_time(45_584_514 as u64)
|
||||
// Standard Error: 129
|
||||
.saturating_add(Weight::from_ref_time(45_727 as u64).saturating_mul(l as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Gilt Queues (r:1 w:1)
|
||||
// Storage: Gilt QueueTotals (r:1 w:1)
|
||||
fn place_bid_max() -> Weight {
|
||||
Weight::from_ref_time(97_715_000 as u64)
|
||||
// Minimum execution time: 85_866 nanoseconds.
|
||||
Weight::from_ref_time(87_171_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Gilt Queues (r:1 w:1)
|
||||
// Storage: Gilt QueueTotals (r:1 w:1)
|
||||
/// The range of component `l` is `[1, 1000]`.
|
||||
fn retract_bid(l: u32, ) -> Weight {
|
||||
Weight::from_ref_time(42_061_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(52_000 as u64).saturating_mul(l as u64))
|
||||
// Minimum execution time: 44_605 nanoseconds.
|
||||
Weight::from_ref_time(46_850_108 as u64)
|
||||
// Standard Error: 135
|
||||
.saturating_add(Weight::from_ref_time(34_178 as u64).saturating_mul(l as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Gilt ActiveTotal (r:1 w:1)
|
||||
fn set_target() -> Weight {
|
||||
Weight::from_ref_time(5_026_000 as u64)
|
||||
// Minimum execution time: 7_331 nanoseconds.
|
||||
Weight::from_ref_time(7_619_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Gilt Active (r:1 w:1)
|
||||
// Storage: Gilt ActiveTotal (r:1 w:1)
|
||||
fn thaw() -> Weight {
|
||||
Weight::from_ref_time(47_753_000 as u64)
|
||||
// Minimum execution time: 55_143 nanoseconds.
|
||||
Weight::from_ref_time(55_845_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Gilt ActiveTotal (r:1 w:0)
|
||||
fn pursue_target_noop() -> Weight {
|
||||
Weight::from_ref_time(1_663_000 as u64)
|
||||
// Minimum execution time: 3_386 nanoseconds.
|
||||
Weight::from_ref_time(3_461_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Gilt ActiveTotal (r:1 w:1)
|
||||
// Storage: Gilt QueueTotals (r:1 w:1)
|
||||
// Storage: Gilt Queues (r:1 w:1)
|
||||
// Storage: Gilt Active (r:0 w:1)
|
||||
// Storage: Gilt Active (r:0 w:20)
|
||||
/// The range of component `b` is `[0, 1000]`.
|
||||
fn pursue_target_per_item(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(40_797_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(4_122_000 as u64).saturating_mul(b as u64))
|
||||
// Minimum execution time: 34_156 nanoseconds.
|
||||
Weight::from_ref_time(45_262_859 as u64)
|
||||
// Standard Error: 1_529
|
||||
.saturating_add(Weight::from_ref_time(4_181_654 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
|
||||
}
|
||||
// Storage: Gilt ActiveTotal (r:1 w:1)
|
||||
// Storage: Gilt QueueTotals (r:1 w:1)
|
||||
// Storage: Gilt Queues (r:1 w:1)
|
||||
// Storage: Gilt Active (r:0 w:1)
|
||||
// Storage: Gilt Queues (r:6 w:6)
|
||||
// Storage: Gilt Active (r:0 w:6)
|
||||
/// The range of component `q` is `[0, 300]`.
|
||||
fn pursue_target_per_queue(q: u32, ) -> Weight {
|
||||
Weight::from_ref_time(14_944_000 as u64)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(8_135_000 as u64).saturating_mul(q as u64))
|
||||
// Minimum execution time: 33_526 nanoseconds.
|
||||
Weight::from_ref_time(37_255_562 as u64)
|
||||
// Standard Error: 3_611
|
||||
.saturating_add(Weight::from_ref_time(7_193_128 as u64).saturating_mul(q as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(q as u64)))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,11 +18,12 @@
|
||||
//! Autogenerated weights for pallet_identity
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-06-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/production/substrate
|
||||
// ./target/production/substrate
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=dev
|
||||
@@ -34,6 +35,7 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/identity/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
@@ -69,32 +71,35 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
fn add_registrar(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(16_649_000 as u64)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(241_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 20_269 nanoseconds.
|
||||
Weight::from_ref_time(21_910_543 as u64)
|
||||
// Standard Error: 4_604
|
||||
.saturating_add(Weight::from_ref_time(223_104 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 20]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
/// The range of component `x` is `[0, 100]`.
|
||||
fn set_identity(r: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(31_322_000 as u64)
|
||||
// Standard Error: 10_000
|
||||
.saturating_add(Weight::from_ref_time(252_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(312_000 as u64).saturating_mul(x as u64))
|
||||
// Minimum execution time: 41_872 nanoseconds.
|
||||
Weight::from_ref_time(40_230_216 as u64)
|
||||
// Standard Error: 2_342
|
||||
.saturating_add(Weight::from_ref_time(145_168 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 457
|
||||
.saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
// Storage: Identity SuperOf (r:2 w:2)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn set_subs_new(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(30_012_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(3_005_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 12_024 nanoseconds.
|
||||
Weight::from_ref_time(32_550_819 as u64)
|
||||
// Standard Error: 5_057
|
||||
.saturating_add(Weight::from_ref_time(2_521_245 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
@@ -102,12 +107,13 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
// Storage: Identity SuperOf (r:0 w:1)
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
// Storage: Identity SuperOf (r:0 w:2)
|
||||
/// The range of component `p` is `[0, 100]`.
|
||||
fn set_subs_old(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(29_623_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(1_100_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 12_232 nanoseconds.
|
||||
Weight::from_ref_time(34_009_761 as u64)
|
||||
// Standard Error: 5_047
|
||||
.saturating_add(Weight::from_ref_time(1_113_100 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||
@@ -116,16 +122,17 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
// Storage: Identity SuperOf (r:0 w:100)
|
||||
/// The range of component `r` is `[1, 20]`.
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
/// The range of component `x` is `[0, 100]`.
|
||||
fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(34_370_000 as u64)
|
||||
// Standard Error: 10_000
|
||||
.saturating_add(Weight::from_ref_time(186_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(1_114_000 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(189_000 as u64).saturating_mul(x as u64))
|
||||
// Minimum execution time: 57_144 nanoseconds.
|
||||
Weight::from_ref_time(41_559_247 as u64)
|
||||
// Standard Error: 9_996
|
||||
.saturating_add(Weight::from_ref_time(146_770 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 1_952
|
||||
.saturating_add(Weight::from_ref_time(1_086_673 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 1_952
|
||||
.saturating_add(Weight::from_ref_time(162_481 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
@@ -133,65 +140,71 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Identity Registrars (r:1 w:0)
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 20]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
/// The range of component `x` is `[0, 100]`.
|
||||
fn request_judgement(r: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(34_759_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(251_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(340_000 as u64).saturating_mul(x as u64))
|
||||
// Minimum execution time: 44_726 nanoseconds.
|
||||
Weight::from_ref_time(41_637_308 as u64)
|
||||
// Standard Error: 1_907
|
||||
.saturating_add(Weight::from_ref_time(219_078 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 372
|
||||
.saturating_add(Weight::from_ref_time(309_888 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 20]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
/// The range of component `x` is `[0, 100]`.
|
||||
fn cancel_request(r: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(32_254_000 as u64)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add(Weight::from_ref_time(159_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(347_000 as u64).saturating_mul(x as u64))
|
||||
// Minimum execution time: 39_719 nanoseconds.
|
||||
Weight::from_ref_time(38_008_751 as u64)
|
||||
// Standard Error: 2_394
|
||||
.saturating_add(Weight::from_ref_time(181_870 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 467
|
||||
.saturating_add(Weight::from_ref_time(314_990 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
fn set_fee(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(7_858_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(190_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 10_634 nanoseconds.
|
||||
Weight::from_ref_time(11_383_704 as u64)
|
||||
// Standard Error: 2_250
|
||||
.saturating_add(Weight::from_ref_time(193_094 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
fn set_account_id(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(8_011_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(187_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 10_840 nanoseconds.
|
||||
Weight::from_ref_time(11_638_740 as u64)
|
||||
// Standard Error: 1_985
|
||||
.saturating_add(Weight::from_ref_time(193_016 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
fn set_fields(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(7_970_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(175_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 10_748 nanoseconds.
|
||||
Weight::from_ref_time(11_346_901 as u64)
|
||||
// Standard Error: 2_132
|
||||
.saturating_add(Weight::from_ref_time(196_630 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:0)
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
/// The range of component `x` is `[0, 100]`.
|
||||
fn provide_judgement(r: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(24_730_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(196_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(341_000 as u64).saturating_mul(x as u64))
|
||||
// Minimum execution time: 33_682 nanoseconds.
|
||||
Weight::from_ref_time(31_336_603 as u64)
|
||||
// Standard Error: 3_056
|
||||
.saturating_add(Weight::from_ref_time(200_403 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 565
|
||||
.saturating_add(Weight::from_ref_time(525_142 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -200,16 +213,17 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Identity SuperOf (r:0 w:100)
|
||||
/// The range of component `r` is `[1, 20]`.
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
/// The range of component `x` is `[0, 100]`.
|
||||
fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(44_988_000 as u64)
|
||||
// Standard Error: 10_000
|
||||
.saturating_add(Weight::from_ref_time(201_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(1_126_000 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(x as u64))
|
||||
// Minimum execution time: 68_794 nanoseconds.
|
||||
Weight::from_ref_time(52_114_486 as u64)
|
||||
// Standard Error: 4_808
|
||||
.saturating_add(Weight::from_ref_time(153_462 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 939
|
||||
.saturating_add(Weight::from_ref_time(1_084_612 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 939
|
||||
.saturating_add(Weight::from_ref_time(170_112 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
@@ -217,11 +231,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 99]`.
|
||||
/// The range of component `s` is `[0, 99]`.
|
||||
fn add_sub(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(36_768_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(115_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 37_914 nanoseconds.
|
||||
Weight::from_ref_time(43_488_083 as u64)
|
||||
// Standard Error: 1_631
|
||||
.saturating_add(Weight::from_ref_time(118_845 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -229,9 +244,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
fn rename_sub(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(13_474_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(56_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 16_124 nanoseconds.
|
||||
Weight::from_ref_time(18_580_462 as u64)
|
||||
// Standard Error: 688
|
||||
.saturating_add(Weight::from_ref_time(67_220 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -240,19 +256,21 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
fn remove_sub(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(37_720_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(114_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 41_517 nanoseconds.
|
||||
Weight::from_ref_time(45_123_530 as u64)
|
||||
// Standard Error: 1_530
|
||||
.saturating_add(Weight::from_ref_time(105_429 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 99]`.
|
||||
/// The range of component `s` is `[0, 99]`.
|
||||
fn quit_sub(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(26_848_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(115_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 30_171 nanoseconds.
|
||||
Weight::from_ref_time(33_355_514 as u64)
|
||||
// Standard Error: 1_286
|
||||
.saturating_add(Weight::from_ref_time(114_716 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -263,32 +281,35 @@ impl WeightInfo for () {
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
fn add_registrar(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(16_649_000 as u64)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(241_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 20_269 nanoseconds.
|
||||
Weight::from_ref_time(21_910_543 as u64)
|
||||
// Standard Error: 4_604
|
||||
.saturating_add(Weight::from_ref_time(223_104 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 20]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
/// The range of component `x` is `[0, 100]`.
|
||||
fn set_identity(r: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(31_322_000 as u64)
|
||||
// Standard Error: 10_000
|
||||
.saturating_add(Weight::from_ref_time(252_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(312_000 as u64).saturating_mul(x as u64))
|
||||
// Minimum execution time: 41_872 nanoseconds.
|
||||
Weight::from_ref_time(40_230_216 as u64)
|
||||
// Standard Error: 2_342
|
||||
.saturating_add(Weight::from_ref_time(145_168 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 457
|
||||
.saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
// Storage: Identity SuperOf (r:2 w:2)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn set_subs_new(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(30_012_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(3_005_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 12_024 nanoseconds.
|
||||
Weight::from_ref_time(32_550_819 as u64)
|
||||
// Standard Error: 5_057
|
||||
.saturating_add(Weight::from_ref_time(2_521_245 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
@@ -296,12 +317,13 @@ impl WeightInfo for () {
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
// Storage: Identity SuperOf (r:0 w:1)
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
// Storage: Identity SuperOf (r:0 w:2)
|
||||
/// The range of component `p` is `[0, 100]`.
|
||||
fn set_subs_old(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(29_623_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(1_100_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 12_232 nanoseconds.
|
||||
Weight::from_ref_time(34_009_761 as u64)
|
||||
// Standard Error: 5_047
|
||||
.saturating_add(Weight::from_ref_time(1_113_100 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||
@@ -310,16 +332,17 @@ impl WeightInfo for () {
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
// Storage: Identity SuperOf (r:0 w:100)
|
||||
/// The range of component `r` is `[1, 20]`.
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
/// The range of component `x` is `[0, 100]`.
|
||||
fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(34_370_000 as u64)
|
||||
// Standard Error: 10_000
|
||||
.saturating_add(Weight::from_ref_time(186_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(1_114_000 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(189_000 as u64).saturating_mul(x as u64))
|
||||
// Minimum execution time: 57_144 nanoseconds.
|
||||
Weight::from_ref_time(41_559_247 as u64)
|
||||
// Standard Error: 9_996
|
||||
.saturating_add(Weight::from_ref_time(146_770 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 1_952
|
||||
.saturating_add(Weight::from_ref_time(1_086_673 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 1_952
|
||||
.saturating_add(Weight::from_ref_time(162_481 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
@@ -327,65 +350,71 @@ impl WeightInfo for () {
|
||||
// Storage: Identity Registrars (r:1 w:0)
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 20]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
/// The range of component `x` is `[0, 100]`.
|
||||
fn request_judgement(r: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(34_759_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(251_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(340_000 as u64).saturating_mul(x as u64))
|
||||
// Minimum execution time: 44_726 nanoseconds.
|
||||
Weight::from_ref_time(41_637_308 as u64)
|
||||
// Standard Error: 1_907
|
||||
.saturating_add(Weight::from_ref_time(219_078 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 372
|
||||
.saturating_add(Weight::from_ref_time(309_888 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 20]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
/// The range of component `x` is `[0, 100]`.
|
||||
fn cancel_request(r: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(32_254_000 as u64)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add(Weight::from_ref_time(159_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(347_000 as u64).saturating_mul(x as u64))
|
||||
// Minimum execution time: 39_719 nanoseconds.
|
||||
Weight::from_ref_time(38_008_751 as u64)
|
||||
// Standard Error: 2_394
|
||||
.saturating_add(Weight::from_ref_time(181_870 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 467
|
||||
.saturating_add(Weight::from_ref_time(314_990 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
fn set_fee(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(7_858_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(190_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 10_634 nanoseconds.
|
||||
Weight::from_ref_time(11_383_704 as u64)
|
||||
// Standard Error: 2_250
|
||||
.saturating_add(Weight::from_ref_time(193_094 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
fn set_account_id(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(8_011_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(187_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 10_840 nanoseconds.
|
||||
Weight::from_ref_time(11_638_740 as u64)
|
||||
// Standard Error: 1_985
|
||||
.saturating_add(Weight::from_ref_time(193_016 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
fn set_fields(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(7_970_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(175_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 10_748 nanoseconds.
|
||||
Weight::from_ref_time(11_346_901 as u64)
|
||||
// Standard Error: 2_132
|
||||
.saturating_add(Weight::from_ref_time(196_630 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Identity Registrars (r:1 w:0)
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 19]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
/// The range of component `x` is `[0, 100]`.
|
||||
fn provide_judgement(r: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(24_730_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(196_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(341_000 as u64).saturating_mul(x as u64))
|
||||
// Minimum execution time: 33_682 nanoseconds.
|
||||
Weight::from_ref_time(31_336_603 as u64)
|
||||
// Standard Error: 3_056
|
||||
.saturating_add(Weight::from_ref_time(200_403 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 565
|
||||
.saturating_add(Weight::from_ref_time(525_142 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -394,16 +423,17 @@ impl WeightInfo for () {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Identity SuperOf (r:0 w:100)
|
||||
/// The range of component `r` is `[1, 20]`.
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
/// The range of component `x` is `[1, 100]`.
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
/// The range of component `x` is `[0, 100]`.
|
||||
fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {
|
||||
Weight::from_ref_time(44_988_000 as u64)
|
||||
// Standard Error: 10_000
|
||||
.saturating_add(Weight::from_ref_time(201_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(1_126_000 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(x as u64))
|
||||
// Minimum execution time: 68_794 nanoseconds.
|
||||
Weight::from_ref_time(52_114_486 as u64)
|
||||
// Standard Error: 4_808
|
||||
.saturating_add(Weight::from_ref_time(153_462 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 939
|
||||
.saturating_add(Weight::from_ref_time(1_084_612 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 939
|
||||
.saturating_add(Weight::from_ref_time(170_112 as u64).saturating_mul(x as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
|
||||
@@ -411,11 +441,12 @@ impl WeightInfo for () {
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 99]`.
|
||||
/// The range of component `s` is `[0, 99]`.
|
||||
fn add_sub(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(36_768_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(115_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 37_914 nanoseconds.
|
||||
Weight::from_ref_time(43_488_083 as u64)
|
||||
// Standard Error: 1_631
|
||||
.saturating_add(Weight::from_ref_time(118_845 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -423,9 +454,10 @@ impl WeightInfo for () {
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
fn rename_sub(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(13_474_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(56_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 16_124 nanoseconds.
|
||||
Weight::from_ref_time(18_580_462 as u64)
|
||||
// Standard Error: 688
|
||||
.saturating_add(Weight::from_ref_time(67_220 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -434,19 +466,21 @@ impl WeightInfo for () {
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 100]`.
|
||||
fn remove_sub(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(37_720_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(114_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 41_517 nanoseconds.
|
||||
Weight::from_ref_time(45_123_530 as u64)
|
||||
// Standard Error: 1_530
|
||||
.saturating_add(Weight::from_ref_time(105_429 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Identity SuperOf (r:1 w:1)
|
||||
// Storage: Identity SubsOf (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 99]`.
|
||||
/// The range of component `s` is `[0, 99]`.
|
||||
fn quit_sub(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(26_848_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(115_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 30_171 nanoseconds.
|
||||
Weight::from_ref_time(33_355_514 as u64)
|
||||
// Standard Error: 1_286
|
||||
.saturating_add(Weight::from_ref_time(114_716 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,7 +18,8 @@
|
||||
//! Autogenerated weights for pallet_im_online
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,8 +33,10 @@
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/im-online/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -55,12 +58,15 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: ImOnline ReceivedHeartbeats (r:1 w:1)
|
||||
// Storage: ImOnline AuthoredBlocks (r:1 w:0)
|
||||
// Storage: ImOnline Keys (r:1 w:0)
|
||||
/// The range of component `k` is `[1, 1000]`.
|
||||
/// The range of component `e` is `[1, 100]`.
|
||||
fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight {
|
||||
Weight::from_ref_time(79_225_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(41_000 as u64).saturating_mul(k as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(293_000 as u64).saturating_mul(e as u64))
|
||||
// Minimum execution time: 101_380 nanoseconds.
|
||||
Weight::from_ref_time(82_735_670 as u64)
|
||||
// Standard Error: 121
|
||||
.saturating_add(Weight::from_ref_time(21_279 as u64).saturating_mul(k as u64))
|
||||
// Standard Error: 1_222
|
||||
.saturating_add(Weight::from_ref_time(296_343 as u64).saturating_mul(e as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -73,12 +79,15 @@ impl WeightInfo for () {
|
||||
// Storage: ImOnline ReceivedHeartbeats (r:1 w:1)
|
||||
// Storage: ImOnline AuthoredBlocks (r:1 w:0)
|
||||
// Storage: ImOnline Keys (r:1 w:0)
|
||||
/// The range of component `k` is `[1, 1000]`.
|
||||
/// The range of component `e` is `[1, 100]`.
|
||||
fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight {
|
||||
Weight::from_ref_time(79_225_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(41_000 as u64).saturating_mul(k as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(293_000 as u64).saturating_mul(e as u64))
|
||||
// Minimum execution time: 101_380 nanoseconds.
|
||||
Weight::from_ref_time(82_735_670 as u64)
|
||||
// Standard Error: 121
|
||||
.saturating_add(Weight::from_ref_time(21_279 as u64).saturating_mul(k as u64))
|
||||
// Standard Error: 1_222
|
||||
.saturating_add(Weight::from_ref_time(296_343 as u64).saturating_mul(e as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,7 +18,8 @@
|
||||
//! Autogenerated weights for pallet_indices
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,8 +33,10 @@
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/indices/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -56,33 +59,38 @@ pub struct SubstrateWeight<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
fn claim() -> Weight {
|
||||
Weight::from_ref_time(25_929_000 as u64)
|
||||
// Minimum execution time: 31_756 nanoseconds.
|
||||
Weight::from_ref_time(32_252_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer() -> Weight {
|
||||
Weight::from_ref_time(32_627_000 as u64)
|
||||
// Minimum execution time: 38_686 nanoseconds.
|
||||
Weight::from_ref_time(39_402_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
fn free() -> Weight {
|
||||
Weight::from_ref_time(26_804_000 as u64)
|
||||
// Minimum execution time: 33_752 nanoseconds.
|
||||
Weight::from_ref_time(34_348_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn force_transfer() -> Weight {
|
||||
Weight::from_ref_time(27_390_000 as u64)
|
||||
// Minimum execution time: 32_739 nanoseconds.
|
||||
Weight::from_ref_time(33_151_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
fn freeze() -> Weight {
|
||||
Weight::from_ref_time(30_973_000 as u64)
|
||||
// Minimum execution time: 40_369 nanoseconds.
|
||||
Weight::from_ref_time(40_982_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -92,33 +100,38 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
impl WeightInfo for () {
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
fn claim() -> Weight {
|
||||
Weight::from_ref_time(25_929_000 as u64)
|
||||
// Minimum execution time: 31_756 nanoseconds.
|
||||
Weight::from_ref_time(32_252_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn transfer() -> Weight {
|
||||
Weight::from_ref_time(32_627_000 as u64)
|
||||
// Minimum execution time: 38_686 nanoseconds.
|
||||
Weight::from_ref_time(39_402_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
fn free() -> Weight {
|
||||
Weight::from_ref_time(26_804_000 as u64)
|
||||
// Minimum execution time: 33_752 nanoseconds.
|
||||
Weight::from_ref_time(34_348_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn force_transfer() -> Weight {
|
||||
Weight::from_ref_time(27_390_000 as u64)
|
||||
// Minimum execution time: 32_739 nanoseconds.
|
||||
Weight::from_ref_time(33_151_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Indices Accounts (r:1 w:1)
|
||||
fn freeze() -> Weight {
|
||||
Weight::from_ref_time(30_973_000 as u64)
|
||||
// Minimum execution time: 40_369 nanoseconds.
|
||||
Weight::from_ref_time(40_982_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,7 +18,8 @@
|
||||
//! Autogenerated weights for pallet_lottery
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,8 +33,10 @@
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/lottery/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -63,28 +66,33 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Lottery Tickets (r:0 w:1)
|
||||
fn buy_ticket() -> Weight {
|
||||
Weight::from_ref_time(44_706_000 as u64)
|
||||
// Minimum execution time: 52_451 nanoseconds.
|
||||
Weight::from_ref_time(52_843_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Lottery CallIndices (r:0 w:1)
|
||||
/// The range of component `n` is `[0, 10]`.
|
||||
fn set_calls(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(12_556_000 as u64)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add(Weight::from_ref_time(295_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 14_389 nanoseconds.
|
||||
Weight::from_ref_time(15_700_569 as u64)
|
||||
// Standard Error: 4_677
|
||||
.saturating_add(Weight::from_ref_time(296_850 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Lottery Lottery (r:1 w:1)
|
||||
// Storage: Lottery LotteryIndex (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn start_lottery() -> Weight {
|
||||
Weight::from_ref_time(38_051_000 as u64)
|
||||
// Minimum execution time: 44_814 nanoseconds.
|
||||
Weight::from_ref_time(45_611_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Lottery Lottery (r:1 w:1)
|
||||
fn stop_repeat() -> Weight {
|
||||
Weight::from_ref_time(6_910_000 as u64)
|
||||
// Minimum execution time: 10_384 nanoseconds.
|
||||
Weight::from_ref_time(10_727_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -94,7 +102,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Lottery TicketsCount (r:1 w:1)
|
||||
// Storage: Lottery Tickets (r:1 w:0)
|
||||
fn on_initialize_end() -> Weight {
|
||||
Weight::from_ref_time(53_732_000 as u64)
|
||||
// Minimum execution time: 62_720 nanoseconds.
|
||||
Weight::from_ref_time(63_545_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -105,7 +114,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Lottery Tickets (r:1 w:0)
|
||||
// Storage: Lottery LotteryIndex (r:1 w:1)
|
||||
fn on_initialize_repeat() -> Weight {
|
||||
Weight::from_ref_time(55_868_000 as u64)
|
||||
// Minimum execution time: 63_452 nanoseconds.
|
||||
Weight::from_ref_time(65_010_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
@@ -121,28 +131,33 @@ impl WeightInfo for () {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Lottery Tickets (r:0 w:1)
|
||||
fn buy_ticket() -> Weight {
|
||||
Weight::from_ref_time(44_706_000 as u64)
|
||||
// Minimum execution time: 52_451 nanoseconds.
|
||||
Weight::from_ref_time(52_843_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(6 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Lottery CallIndices (r:0 w:1)
|
||||
/// The range of component `n` is `[0, 10]`.
|
||||
fn set_calls(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(12_556_000 as u64)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add(Weight::from_ref_time(295_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 14_389 nanoseconds.
|
||||
Weight::from_ref_time(15_700_569 as u64)
|
||||
// Standard Error: 4_677
|
||||
.saturating_add(Weight::from_ref_time(296_850 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Lottery Lottery (r:1 w:1)
|
||||
// Storage: Lottery LotteryIndex (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn start_lottery() -> Weight {
|
||||
Weight::from_ref_time(38_051_000 as u64)
|
||||
// Minimum execution time: 44_814 nanoseconds.
|
||||
Weight::from_ref_time(45_611_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Lottery Lottery (r:1 w:1)
|
||||
fn stop_repeat() -> Weight {
|
||||
Weight::from_ref_time(6_910_000 as u64)
|
||||
// Minimum execution time: 10_384 nanoseconds.
|
||||
Weight::from_ref_time(10_727_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -152,7 +167,8 @@ impl WeightInfo for () {
|
||||
// Storage: Lottery TicketsCount (r:1 w:1)
|
||||
// Storage: Lottery Tickets (r:1 w:0)
|
||||
fn on_initialize_end() -> Weight {
|
||||
Weight::from_ref_time(53_732_000 as u64)
|
||||
// Minimum execution time: 62_720 nanoseconds.
|
||||
Weight::from_ref_time(63_545_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(6 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -163,7 +179,8 @@ impl WeightInfo for () {
|
||||
// Storage: Lottery Tickets (r:1 w:0)
|
||||
// Storage: Lottery LotteryIndex (r:1 w:1)
|
||||
fn on_initialize_repeat() -> Weight {
|
||||
Weight::from_ref_time(55_868_000 as u64)
|
||||
// Minimum execution time: 63_452 nanoseconds.
|
||||
Weight::from_ref_time(65_010_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(7 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(5 as u64))
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,7 +18,8 @@
|
||||
//! Autogenerated weights for pallet_membership
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,8 +33,10 @@
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/membership/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -60,10 +63,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: TechnicalCommittee Proposals (r:1 w:0)
|
||||
// Storage: TechnicalCommittee Members (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 99]`.
|
||||
fn add_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(15_318_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(51_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 23_796 nanoseconds.
|
||||
Weight::from_ref_time(24_829_996 as u64)
|
||||
// Standard Error: 723
|
||||
.saturating_add(Weight::from_ref_time(48_467 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -72,10 +77,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: TechnicalMembership Prime (r:1 w:0)
|
||||
// Storage: TechnicalCommittee Members (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
fn remove_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_005_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(45_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 27_255 nanoseconds.
|
||||
Weight::from_ref_time(28_234_490 as u64)
|
||||
// Standard Error: 833
|
||||
.saturating_add(Weight::from_ref_time(34_894 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -84,10 +91,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: TechnicalMembership Prime (r:1 w:0)
|
||||
// Storage: TechnicalCommittee Members (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
fn swap_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_029_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(55_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 26_626 nanoseconds.
|
||||
Weight::from_ref_time(27_989_042 as u64)
|
||||
// Standard Error: 729
|
||||
.saturating_add(Weight::from_ref_time(51_567 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -96,10 +105,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: TechnicalMembership Prime (r:1 w:0)
|
||||
// Storage: TechnicalCommittee Members (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn reset_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_105_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(158_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 25_412 nanoseconds.
|
||||
Weight::from_ref_time(27_713_414 as u64)
|
||||
// Standard Error: 883
|
||||
.saturating_add(Weight::from_ref_time(157_085 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -108,29 +119,35 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: TechnicalMembership Prime (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Members (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn change_key(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_852_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(55_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 27_122 nanoseconds.
|
||||
Weight::from_ref_time(28_477_394 as u64)
|
||||
// Standard Error: 801
|
||||
.saturating_add(Weight::from_ref_time(56_383 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: TechnicalMembership Members (r:1 w:0)
|
||||
// Storage: TechnicalMembership Prime (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn set_prime(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(4_869_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(28_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 9_368 nanoseconds.
|
||||
Weight::from_ref_time(10_133_132 as u64)
|
||||
// Standard Error: 366
|
||||
.saturating_add(Weight::from_ref_time(17_708 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: TechnicalMembership Prime (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn clear_prime(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(1_593_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 5_546 nanoseconds.
|
||||
Weight::from_ref_time(5_962_740 as u64)
|
||||
// Standard Error: 186
|
||||
.saturating_add(Weight::from_ref_time(2_096 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
}
|
||||
@@ -141,10 +158,12 @@ impl WeightInfo for () {
|
||||
// Storage: TechnicalCommittee Proposals (r:1 w:0)
|
||||
// Storage: TechnicalCommittee Members (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 99]`.
|
||||
fn add_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(15_318_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(51_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 23_796 nanoseconds.
|
||||
Weight::from_ref_time(24_829_996 as u64)
|
||||
// Standard Error: 723
|
||||
.saturating_add(Weight::from_ref_time(48_467 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -153,10 +172,12 @@ impl WeightInfo for () {
|
||||
// Storage: TechnicalMembership Prime (r:1 w:0)
|
||||
// Storage: TechnicalCommittee Members (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
fn remove_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_005_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(45_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 27_255 nanoseconds.
|
||||
Weight::from_ref_time(28_234_490 as u64)
|
||||
// Standard Error: 833
|
||||
.saturating_add(Weight::from_ref_time(34_894 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -165,10 +186,12 @@ impl WeightInfo for () {
|
||||
// Storage: TechnicalMembership Prime (r:1 w:0)
|
||||
// Storage: TechnicalCommittee Members (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
fn swap_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_029_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(55_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 26_626 nanoseconds.
|
||||
Weight::from_ref_time(27_989_042 as u64)
|
||||
// Standard Error: 729
|
||||
.saturating_add(Weight::from_ref_time(51_567 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -177,10 +200,12 @@ impl WeightInfo for () {
|
||||
// Storage: TechnicalMembership Prime (r:1 w:0)
|
||||
// Storage: TechnicalCommittee Members (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn reset_member(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_105_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(158_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 25_412 nanoseconds.
|
||||
Weight::from_ref_time(27_713_414 as u64)
|
||||
// Standard Error: 883
|
||||
.saturating_add(Weight::from_ref_time(157_085 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -189,29 +214,35 @@ impl WeightInfo for () {
|
||||
// Storage: TechnicalMembership Prime (r:1 w:1)
|
||||
// Storage: TechnicalCommittee Members (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn change_key(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_852_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(55_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 27_122 nanoseconds.
|
||||
Weight::from_ref_time(28_477_394 as u64)
|
||||
// Standard Error: 801
|
||||
.saturating_add(Weight::from_ref_time(56_383 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: TechnicalMembership Members (r:1 w:0)
|
||||
// Storage: TechnicalMembership Prime (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn set_prime(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(4_869_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(28_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 9_368 nanoseconds.
|
||||
Weight::from_ref_time(10_133_132 as u64)
|
||||
// Standard Error: 366
|
||||
.saturating_add(Weight::from_ref_time(17_708 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: TechnicalMembership Prime (r:0 w:1)
|
||||
// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn clear_prime(m: u32, ) -> Weight {
|
||||
Weight::from_ref_time(1_593_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(m as u64))
|
||||
// Minimum execution time: 5_546 nanoseconds.
|
||||
Weight::from_ref_time(5_962_740 as u64)
|
||||
// Standard Error: 186
|
||||
.saturating_add(Weight::from_ref_time(2_096 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,25 +18,24 @@
|
||||
//! Autogenerated weights for pallet_multisig
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-10-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// /home/benchbot/cargo_target_dir/production/substrate
|
||||
// ./target/production/substrate
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_multisig
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/substrate/.git/.artifacts/bench.json
|
||||
// --pallet=pallet_multisig
|
||||
// --chain=dev
|
||||
// --header=./HEADER-APACHE2
|
||||
// --output=./frame/multisig/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
@@ -62,22 +61,22 @@ pub struct SubstrateWeight<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_threshold_1(z: u32, ) -> Weight {
|
||||
// Minimum execution time: 20_283 nanoseconds.
|
||||
Weight::from_ref_time(20_861_089 as u64)
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(583 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 20_447 nanoseconds.
|
||||
Weight::from_ref_time(20_896_236 as u64)
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(568 as u64).saturating_mul(z as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_create(s: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 52_699 nanoseconds.
|
||||
Weight::from_ref_time(40_874_603 as u64)
|
||||
// Standard Error: 546
|
||||
.saturating_add(Weight::from_ref_time(131_727 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 54_987 nanoseconds.
|
||||
Weight::from_ref_time(42_525_077 as u64)
|
||||
// Standard Error: 562
|
||||
.saturating_add(Weight::from_ref_time(136_064 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(1_537 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(Weight::from_ref_time(1_508 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -85,12 +84,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `s` is `[3, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 39_843 nanoseconds.
|
||||
Weight::from_ref_time(28_912_325 as u64)
|
||||
// Standard Error: 734
|
||||
.saturating_add(Weight::from_ref_time(125_761 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 7
|
||||
.saturating_add(Weight::from_ref_time(1_542 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 42_573 nanoseconds.
|
||||
Weight::from_ref_time(30_585_734 as u64)
|
||||
// Standard Error: 637
|
||||
.saturating_add(Weight::from_ref_time(128_012 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 6
|
||||
.saturating_add(Weight::from_ref_time(1_507 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -99,12 +98,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 54_980 nanoseconds.
|
||||
Weight::from_ref_time(42_087_213 as u64)
|
||||
// Standard Error: 786
|
||||
.saturating_add(Weight::from_ref_time(153_935 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 7
|
||||
.saturating_add(Weight::from_ref_time(1_545 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 57_143 nanoseconds.
|
||||
Weight::from_ref_time(43_921_674 as u64)
|
||||
// Standard Error: 704
|
||||
.saturating_add(Weight::from_ref_time(153_474 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 6
|
||||
.saturating_add(Weight::from_ref_time(1_536 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -112,30 +111,30 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn approve_as_multi_create(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 37_802 nanoseconds.
|
||||
Weight::from_ref_time(39_933_623 as u64)
|
||||
// Standard Error: 1_059
|
||||
.saturating_add(Weight::from_ref_time(121_891 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 39_088 nanoseconds.
|
||||
Weight::from_ref_time(41_258_697 as u64)
|
||||
// Standard Error: 1_038
|
||||
.saturating_add(Weight::from_ref_time(126_040 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 25_738 nanoseconds.
|
||||
Weight::from_ref_time(27_676_766 as u64)
|
||||
// Standard Error: 710
|
||||
.saturating_add(Weight::from_ref_time(125_733 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 26_872 nanoseconds.
|
||||
Weight::from_ref_time(28_625_218 as u64)
|
||||
// Standard Error: 793
|
||||
.saturating_add(Weight::from_ref_time(128_542 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn cancel_as_multi(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 36_591 nanoseconds.
|
||||
Weight::from_ref_time(38_707_543 as u64)
|
||||
// Standard Error: 881
|
||||
.saturating_add(Weight::from_ref_time(126_198 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 37_636 nanoseconds.
|
||||
Weight::from_ref_time(39_614_705 as u64)
|
||||
// Standard Error: 850
|
||||
.saturating_add(Weight::from_ref_time(136_222 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -145,22 +144,22 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
impl WeightInfo for () {
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_threshold_1(z: u32, ) -> Weight {
|
||||
// Minimum execution time: 20_283 nanoseconds.
|
||||
Weight::from_ref_time(20_861_089 as u64)
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(583 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 20_447 nanoseconds.
|
||||
Weight::from_ref_time(20_896_236 as u64)
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(568 as u64).saturating_mul(z as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_create(s: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 52_699 nanoseconds.
|
||||
Weight::from_ref_time(40_874_603 as u64)
|
||||
// Standard Error: 546
|
||||
.saturating_add(Weight::from_ref_time(131_727 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 54_987 nanoseconds.
|
||||
Weight::from_ref_time(42_525_077 as u64)
|
||||
// Standard Error: 562
|
||||
.saturating_add(Weight::from_ref_time(136_064 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(1_537 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(Weight::from_ref_time(1_508 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -168,12 +167,12 @@ impl WeightInfo for () {
|
||||
/// The range of component `s` is `[3, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 39_843 nanoseconds.
|
||||
Weight::from_ref_time(28_912_325 as u64)
|
||||
// Standard Error: 734
|
||||
.saturating_add(Weight::from_ref_time(125_761 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 7
|
||||
.saturating_add(Weight::from_ref_time(1_542 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 42_573 nanoseconds.
|
||||
Weight::from_ref_time(30_585_734 as u64)
|
||||
// Standard Error: 637
|
||||
.saturating_add(Weight::from_ref_time(128_012 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 6
|
||||
.saturating_add(Weight::from_ref_time(1_507 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -182,12 +181,12 @@ impl WeightInfo for () {
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 54_980 nanoseconds.
|
||||
Weight::from_ref_time(42_087_213 as u64)
|
||||
// Standard Error: 786
|
||||
.saturating_add(Weight::from_ref_time(153_935 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 7
|
||||
.saturating_add(Weight::from_ref_time(1_545 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 57_143 nanoseconds.
|
||||
Weight::from_ref_time(43_921_674 as u64)
|
||||
// Standard Error: 704
|
||||
.saturating_add(Weight::from_ref_time(153_474 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 6
|
||||
.saturating_add(Weight::from_ref_time(1_536 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -195,30 +194,30 @@ impl WeightInfo for () {
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn approve_as_multi_create(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 37_802 nanoseconds.
|
||||
Weight::from_ref_time(39_933_623 as u64)
|
||||
// Standard Error: 1_059
|
||||
.saturating_add(Weight::from_ref_time(121_891 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 39_088 nanoseconds.
|
||||
Weight::from_ref_time(41_258_697 as u64)
|
||||
// Standard Error: 1_038
|
||||
.saturating_add(Weight::from_ref_time(126_040 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 25_738 nanoseconds.
|
||||
Weight::from_ref_time(27_676_766 as u64)
|
||||
// Standard Error: 710
|
||||
.saturating_add(Weight::from_ref_time(125_733 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 26_872 nanoseconds.
|
||||
Weight::from_ref_time(28_625_218 as u64)
|
||||
// Standard Error: 793
|
||||
.saturating_add(Weight::from_ref_time(128_542 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn cancel_as_multi(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 36_591 nanoseconds.
|
||||
Weight::from_ref_time(38_707_543 as u64)
|
||||
// Standard Error: 881
|
||||
.saturating_add(Weight::from_ref_time(126_198 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 37_636 nanoseconds.
|
||||
Weight::from_ref_time(39_614_705 as u64)
|
||||
// Standard Error: 850
|
||||
.saturating_add(Weight::from_ref_time(136_222 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,12 +18,12 @@
|
||||
//! Autogenerated weights for pallet_nomination_pools
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-06-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/production/substrate
|
||||
// ./target/production/substrate
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=dev
|
||||
@@ -35,6 +35,7 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/nomination-pools/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
@@ -69,18 +70,19 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: NominationPools MinJoinBond (r:1 w:0)
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:1)
|
||||
// Storage: NominationPools MaxPoolMembersPerPool (r:1 w:0)
|
||||
// Storage: NominationPools MaxPoolMembers (r:1 w:0)
|
||||
// Storage: NominationPools CounterForPoolMembers (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: BagsList ListNodes (r:3 w:3)
|
||||
// Storage: BagsList ListBags (r:2 w:2)
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn join() -> Weight {
|
||||
Weight::from_ref_time(123_947_000 as u64)
|
||||
// Minimum execution time: 159_948 nanoseconds.
|
||||
Weight::from_ref_time(161_133_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(17 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as u64))
|
||||
}
|
||||
@@ -88,13 +90,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: System Account (r:3 w:2)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: BagsList ListNodes (r:3 w:3)
|
||||
// Storage: BagsList ListBags (r:2 w:2)
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn bond_extra_transfer() -> Weight {
|
||||
Weight::from_ref_time(118_236_000 as u64)
|
||||
// Minimum execution time: 155_517 nanoseconds.
|
||||
Weight::from_ref_time(159_101_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(14 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(12 as u64))
|
||||
}
|
||||
@@ -102,13 +105,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: System Account (r:3 w:3)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: BagsList ListNodes (r:3 w:3)
|
||||
// Storage: BagsList ListBags (r:2 w:2)
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn bond_extra_reward() -> Weight {
|
||||
Weight::from_ref_time(132_475_000 as u64)
|
||||
// Minimum execution time: 172_788 nanoseconds.
|
||||
Weight::from_ref_time(174_212_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(14 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(13 as u64))
|
||||
}
|
||||
@@ -117,63 +121,69 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn claim_payout() -> Weight {
|
||||
Weight::from_ref_time(50_299_000 as u64)
|
||||
// Minimum execution time: 64_560 nanoseconds.
|
||||
Weight::from_ref_time(64_950_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking Nominators (r:1 w:0)
|
||||
// Storage: Staking MinNominatorBond (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: BagsList ListNodes (r:3 w:3)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: BagsList ListBags (r:2 w:2)
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
// Storage: NominationPools SubPoolsStorage (r:1 w:1)
|
||||
// Storage: NominationPools CounterForSubPoolsStorage (r:1 w:1)
|
||||
fn unbond() -> Weight {
|
||||
Weight::from_ref_time(121_254_000 as u64)
|
||||
// Minimum execution time: 161_398 nanoseconds.
|
||||
Weight::from_ref_time(162_991_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(18 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(13 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn pool_withdraw_unbonded(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(41_928_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(52_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
// Minimum execution time: 66_036 nanoseconds.
|
||||
Weight::from_ref_time(67_183_304 as u64)
|
||||
// Standard Error: 565
|
||||
.saturating_add(Weight::from_ref_time(57_830 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: NominationPools SubPoolsStorage (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: NominationPools CounterForPoolMembers (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn withdraw_unbonded_update(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(81_611_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(56_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
// Minimum execution time: 111_156 nanoseconds.
|
||||
Weight::from_ref_time(112_507_059 as u64)
|
||||
// Standard Error: 655
|
||||
.saturating_add(Weight::from_ref_time(53_711 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(9 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7 as u64))
|
||||
}
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: NominationPools SubPoolsStorage (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking SlashingSpans (r:1 w:0)
|
||||
// Storage: Staking Validators (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:0)
|
||||
@@ -185,29 +195,32 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: NominationPools CounterForRewardPools (r:1 w:1)
|
||||
// Storage: NominationPools CounterForSubPoolsStorage (r:1 w:1)
|
||||
// Storage: NominationPools Metadata (r:1 w:1)
|
||||
// Storage: NominationPools CounterForBondedPools (r:1 w:1)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn withdraw_unbonded_kill(_s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(139_849_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(19 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(16 as u64))
|
||||
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 168_270 nanoseconds.
|
||||
Weight::from_ref_time(170_059_380 as u64)
|
||||
// Standard Error: 1_506
|
||||
.saturating_add(Weight::from_ref_time(1_258 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(20 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(17 as u64))
|
||||
}
|
||||
// Storage: NominationPools LastPoolId (r:1 w:1)
|
||||
// Storage: Staking MinNominatorBond (r:1 w:0)
|
||||
// Storage: NominationPools MinCreateBond (r:1 w:0)
|
||||
// Storage: NominationPools MinJoinBond (r:1 w:0)
|
||||
// Storage: NominationPools MaxPools (r:1 w:0)
|
||||
// Storage: NominationPools CounterForBondedPools (r:1 w:1)
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: NominationPools LastPoolId (r:1 w:1)
|
||||
// Storage: NominationPools MaxPoolMembersPerPool (r:1 w:0)
|
||||
// Storage: NominationPools MaxPoolMembers (r:1 w:0)
|
||||
// Storage: NominationPools CounterForPoolMembers (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking HistoryDepth (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: NominationPools CounterForRewardPools (r:1 w:1)
|
||||
@@ -216,36 +229,40 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
fn create() -> Weight {
|
||||
Weight::from_ref_time(126_246_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(22 as u64))
|
||||
// Minimum execution time: 146_153 nanoseconds.
|
||||
Weight::from_ref_time(146_955_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(21 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(15 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Staking MinNominatorBond (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:1)
|
||||
// Storage: Staking MaxNominatorsCount (r:1 w:0)
|
||||
// Storage: Staking Validators (r:2 w:0)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: BagsList ListNodes (r:1 w:1)
|
||||
// Storage: BagsList ListBags (r:1 w:1)
|
||||
// Storage: BagsList CounterForListNodes (r:1 w:1)
|
||||
// Storage: VoterList ListNodes (r:1 w:1)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
// Storage: Staking CounterForNominators (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 16]`.
|
||||
fn nominate(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(48_829_000 as u64)
|
||||
// Standard Error: 10_000
|
||||
.saturating_add(Weight::from_ref_time(2_204_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 71_380 nanoseconds.
|
||||
Weight::from_ref_time(71_060_388 as u64)
|
||||
// Standard Error: 2_587
|
||||
.saturating_add(Weight::from_ref_time(1_185_729 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(12 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
fn set_state() -> Weight {
|
||||
Weight::from_ref_time(26_761_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
// Minimum execution time: 46_275 nanoseconds.
|
||||
Weight::from_ref_time(46_689_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:0)
|
||||
@@ -253,9 +270,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: NominationPools CounterForMetadata (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 256]`.
|
||||
fn set_metadata(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(14_519_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 19_246 nanoseconds.
|
||||
Weight::from_ref_time(20_415_018 as u64)
|
||||
// Standard Error: 95
|
||||
.saturating_add(Weight::from_ref_time(2_040 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -265,26 +283,30 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: NominationPools MinCreateBond (r:0 w:1)
|
||||
// Storage: NominationPools MaxPools (r:0 w:1)
|
||||
fn set_configs() -> Weight {
|
||||
Weight::from_ref_time(6_173_000 as u64)
|
||||
// Minimum execution time: 9_231 nanoseconds.
|
||||
Weight::from_ref_time(9_526_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
fn update_roles() -> Weight {
|
||||
Weight::from_ref_time(22_261_000 as u64)
|
||||
// Minimum execution time: 31_246 nanoseconds.
|
||||
Weight::from_ref_time(31_762_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Staking Validators (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:1)
|
||||
// Storage: Staking CounterForNominators (r:1 w:1)
|
||||
// Storage: BagsList ListNodes (r:1 w:1)
|
||||
// Storage: BagsList ListBags (r:1 w:1)
|
||||
// Storage: BagsList CounterForListNodes (r:1 w:1)
|
||||
// Storage: VoterList ListNodes (r:1 w:1)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
fn chill() -> Weight {
|
||||
Weight::from_ref_time(47_959_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
// Minimum execution time: 73_812 nanoseconds.
|
||||
Weight::from_ref_time(74_790_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(9 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
}
|
||||
@@ -294,18 +316,19 @@ impl WeightInfo for () {
|
||||
// Storage: NominationPools MinJoinBond (r:1 w:0)
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:1)
|
||||
// Storage: NominationPools MaxPoolMembersPerPool (r:1 w:0)
|
||||
// Storage: NominationPools MaxPoolMembers (r:1 w:0)
|
||||
// Storage: NominationPools CounterForPoolMembers (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: BagsList ListNodes (r:3 w:3)
|
||||
// Storage: BagsList ListBags (r:2 w:2)
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn join() -> Weight {
|
||||
Weight::from_ref_time(123_947_000 as u64)
|
||||
// Minimum execution time: 159_948 nanoseconds.
|
||||
Weight::from_ref_time(161_133_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(17 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(12 as u64))
|
||||
}
|
||||
@@ -313,13 +336,14 @@ impl WeightInfo for () {
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: System Account (r:3 w:2)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: BagsList ListNodes (r:3 w:3)
|
||||
// Storage: BagsList ListBags (r:2 w:2)
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn bond_extra_transfer() -> Weight {
|
||||
Weight::from_ref_time(118_236_000 as u64)
|
||||
// Minimum execution time: 155_517 nanoseconds.
|
||||
Weight::from_ref_time(159_101_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(14 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(12 as u64))
|
||||
}
|
||||
@@ -327,13 +351,14 @@ impl WeightInfo for () {
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: System Account (r:3 w:3)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: BagsList ListNodes (r:3 w:3)
|
||||
// Storage: BagsList ListBags (r:2 w:2)
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
fn bond_extra_reward() -> Weight {
|
||||
Weight::from_ref_time(132_475_000 as u64)
|
||||
// Minimum execution time: 172_788 nanoseconds.
|
||||
Weight::from_ref_time(174_212_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(14 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(13 as u64))
|
||||
}
|
||||
@@ -342,63 +367,69 @@ impl WeightInfo for () {
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn claim_payout() -> Weight {
|
||||
Weight::from_ref_time(50_299_000 as u64)
|
||||
// Minimum execution time: 64_560 nanoseconds.
|
||||
Weight::from_ref_time(64_950_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking Nominators (r:1 w:0)
|
||||
// Storage: Staking MinNominatorBond (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: BagsList ListNodes (r:3 w:3)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: BagsList ListBags (r:2 w:2)
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
// Storage: NominationPools SubPoolsStorage (r:1 w:1)
|
||||
// Storage: NominationPools CounterForSubPoolsStorage (r:1 w:1)
|
||||
fn unbond() -> Weight {
|
||||
Weight::from_ref_time(121_254_000 as u64)
|
||||
// Minimum execution time: 161_398 nanoseconds.
|
||||
Weight::from_ref_time(162_991_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(18 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(13 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn pool_withdraw_unbonded(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(41_928_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(52_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
// Minimum execution time: 66_036 nanoseconds.
|
||||
Weight::from_ref_time(67_183_304 as u64)
|
||||
// Standard Error: 565
|
||||
.saturating_add(Weight::from_ref_time(57_830 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: NominationPools SubPoolsStorage (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: NominationPools CounterForPoolMembers (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn withdraw_unbonded_update(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(81_611_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(56_000 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(8 as u64))
|
||||
// Minimum execution time: 111_156 nanoseconds.
|
||||
Weight::from_ref_time(112_507_059 as u64)
|
||||
// Standard Error: 655
|
||||
.saturating_add(Weight::from_ref_time(53_711 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(9 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(7 as u64))
|
||||
}
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: NominationPools SubPoolsStorage (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking SlashingSpans (r:1 w:0)
|
||||
// Storage: Staking Validators (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:0)
|
||||
@@ -410,29 +441,32 @@ impl WeightInfo for () {
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: NominationPools CounterForRewardPools (r:1 w:1)
|
||||
// Storage: NominationPools CounterForSubPoolsStorage (r:1 w:1)
|
||||
// Storage: NominationPools Metadata (r:1 w:1)
|
||||
// Storage: NominationPools CounterForBondedPools (r:1 w:1)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn withdraw_unbonded_kill(_s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(139_849_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(19 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(16 as u64))
|
||||
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 168_270 nanoseconds.
|
||||
Weight::from_ref_time(170_059_380 as u64)
|
||||
// Standard Error: 1_506
|
||||
.saturating_add(Weight::from_ref_time(1_258 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(20 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(17 as u64))
|
||||
}
|
||||
// Storage: NominationPools LastPoolId (r:1 w:1)
|
||||
// Storage: Staking MinNominatorBond (r:1 w:0)
|
||||
// Storage: NominationPools MinCreateBond (r:1 w:0)
|
||||
// Storage: NominationPools MinJoinBond (r:1 w:0)
|
||||
// Storage: NominationPools MaxPools (r:1 w:0)
|
||||
// Storage: NominationPools CounterForBondedPools (r:1 w:1)
|
||||
// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
// Storage: NominationPools LastPoolId (r:1 w:1)
|
||||
// Storage: NominationPools MaxPoolMembersPerPool (r:1 w:0)
|
||||
// Storage: NominationPools MaxPoolMembers (r:1 w:0)
|
||||
// Storage: NominationPools CounterForPoolMembers (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking HistoryDepth (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: NominationPools RewardPools (r:1 w:1)
|
||||
// Storage: NominationPools CounterForRewardPools (r:1 w:1)
|
||||
@@ -441,36 +475,40 @@ impl WeightInfo for () {
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
fn create() -> Weight {
|
||||
Weight::from_ref_time(126_246_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(22 as u64))
|
||||
// Minimum execution time: 146_153 nanoseconds.
|
||||
Weight::from_ref_time(146_955_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(21 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(15 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Staking MinNominatorBond (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:1)
|
||||
// Storage: Staking MaxNominatorsCount (r:1 w:0)
|
||||
// Storage: Staking Validators (r:2 w:0)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: BagsList ListNodes (r:1 w:1)
|
||||
// Storage: BagsList ListBags (r:1 w:1)
|
||||
// Storage: BagsList CounterForListNodes (r:1 w:1)
|
||||
// Storage: VoterList ListNodes (r:1 w:1)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
// Storage: Staking CounterForNominators (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 16]`.
|
||||
fn nominate(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(48_829_000 as u64)
|
||||
// Standard Error: 10_000
|
||||
.saturating_add(Weight::from_ref_time(2_204_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 71_380 nanoseconds.
|
||||
Weight::from_ref_time(71_060_388 as u64)
|
||||
// Standard Error: 2_587
|
||||
.saturating_add(Weight::from_ref_time(1_185_729 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(12 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(RocksDbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
fn set_state() -> Weight {
|
||||
Weight::from_ref_time(26_761_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
// Minimum execution time: 46_275 nanoseconds.
|
||||
Weight::from_ref_time(46_689_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:0)
|
||||
@@ -478,9 +516,10 @@ impl WeightInfo for () {
|
||||
// Storage: NominationPools CounterForMetadata (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 256]`.
|
||||
fn set_metadata(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(14_519_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 19_246 nanoseconds.
|
||||
Weight::from_ref_time(20_415_018 as u64)
|
||||
// Standard Error: 95
|
||||
.saturating_add(Weight::from_ref_time(2_040 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -490,26 +529,30 @@ impl WeightInfo for () {
|
||||
// Storage: NominationPools MinCreateBond (r:0 w:1)
|
||||
// Storage: NominationPools MaxPools (r:0 w:1)
|
||||
fn set_configs() -> Weight {
|
||||
Weight::from_ref_time(6_173_000 as u64)
|
||||
// Minimum execution time: 9_231 nanoseconds.
|
||||
Weight::from_ref_time(9_526_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().writes(5 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:1)
|
||||
fn update_roles() -> Weight {
|
||||
Weight::from_ref_time(22_261_000 as u64)
|
||||
// Minimum execution time: 31_246 nanoseconds.
|
||||
Weight::from_ref_time(31_762_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: NominationPools BondedPools (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Staking Validators (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:1)
|
||||
// Storage: Staking CounterForNominators (r:1 w:1)
|
||||
// Storage: BagsList ListNodes (r:1 w:1)
|
||||
// Storage: BagsList ListBags (r:1 w:1)
|
||||
// Storage: BagsList CounterForListNodes (r:1 w:1)
|
||||
// Storage: VoterList ListNodes (r:1 w:1)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
fn chill() -> Weight {
|
||||
Weight::from_ref_time(47_959_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(8 as u64))
|
||||
// Minimum execution time: 73_812 nanoseconds.
|
||||
Weight::from_ref_time(74_790_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(9 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(5 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,23 +18,24 @@
|
||||
//! Autogenerated weights for pallet_preimage
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// /home/benchbot/cargo_target_dir/production/substrate
|
||||
// ./target/production/substrate
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_preimage
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --pallet=pallet_preimage
|
||||
// --chain=dev
|
||||
// --output=./frame/preimage/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
@@ -67,9 +68,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
/// The range of component `s` is `[0, 4194304]`.
|
||||
fn note_preimage(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(32_591_000 as u64)
|
||||
// Minimum execution time: 33_810 nanoseconds.
|
||||
Weight::from_ref_time(34_299_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_680 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(Weight::from_ref_time(1_703 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -77,9 +79,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
/// The range of component `s` is `[0, 4194304]`.
|
||||
fn note_requested_preimage(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(23_350_000 as u64)
|
||||
// Minimum execution time: 24_398 nanoseconds.
|
||||
Weight::from_ref_time(24_839_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_681 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(Weight::from_ref_time(1_702 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -87,66 +90,76 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
/// The range of component `s` is `[0, 4194304]`.
|
||||
fn note_no_deposit_preimage(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(21_436_000 as u64)
|
||||
// Minimum execution time: 22_235 nanoseconds.
|
||||
Weight::from_ref_time(22_473_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_680 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(Weight::from_ref_time(1_703 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
fn unnote_preimage() -> Weight {
|
||||
Weight::from_ref_time(44_567_000 as u64)
|
||||
// Minimum execution time: 43_241 nanoseconds.
|
||||
Weight::from_ref_time(44_470_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
fn unnote_no_deposit_preimage() -> Weight {
|
||||
Weight::from_ref_time(30_065_000 as u64)
|
||||
// Minimum execution time: 29_529 nanoseconds.
|
||||
Weight::from_ref_time(30_364_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_preimage() -> Weight {
|
||||
Weight::from_ref_time(28_470_000 as u64)
|
||||
// Minimum execution time: 28_914 nanoseconds.
|
||||
Weight::from_ref_time(30_103_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_no_deposit_preimage() -> Weight {
|
||||
Weight::from_ref_time(14_601_000 as u64)
|
||||
// Minimum execution time: 14_479 nanoseconds.
|
||||
Weight::from_ref_time(15_244_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_unnoted_preimage() -> Weight {
|
||||
Weight::from_ref_time(20_121_000 as u64)
|
||||
// Minimum execution time: 20_171 nanoseconds.
|
||||
Weight::from_ref_time(20_806_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_requested_preimage() -> Weight {
|
||||
Weight::from_ref_time(9_440_000 as u64)
|
||||
// Minimum execution time: 9_756 nanoseconds.
|
||||
Weight::from_ref_time(10_115_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
fn unrequest_preimage() -> Weight {
|
||||
Weight::from_ref_time(29_013_000 as u64)
|
||||
// Minimum execution time: 28_379 nanoseconds.
|
||||
Weight::from_ref_time(29_778_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn unrequest_unnoted_preimage() -> Weight {
|
||||
Weight::from_ref_time(9_223_000 as u64)
|
||||
// Minimum execution time: 9_595 nanoseconds.
|
||||
Weight::from_ref_time(9_888_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn unrequest_multi_referenced_preimage() -> Weight {
|
||||
Weight::from_ref_time(9_252_000 as u64)
|
||||
// Minimum execution time: 9_642 nanoseconds.
|
||||
Weight::from_ref_time(9_985_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -158,9 +171,10 @@ impl WeightInfo for () {
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
/// The range of component `s` is `[0, 4194304]`.
|
||||
fn note_preimage(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(32_591_000 as u64)
|
||||
// Minimum execution time: 33_810 nanoseconds.
|
||||
Weight::from_ref_time(34_299_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_680 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(Weight::from_ref_time(1_703 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -168,9 +182,10 @@ impl WeightInfo for () {
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
/// The range of component `s` is `[0, 4194304]`.
|
||||
fn note_requested_preimage(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(23_350_000 as u64)
|
||||
// Minimum execution time: 24_398 nanoseconds.
|
||||
Weight::from_ref_time(24_839_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_681 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(Weight::from_ref_time(1_702 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -178,66 +193,76 @@ impl WeightInfo for () {
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
/// The range of component `s` is `[0, 4194304]`.
|
||||
fn note_no_deposit_preimage(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(21_436_000 as u64)
|
||||
// Minimum execution time: 22_235 nanoseconds.
|
||||
Weight::from_ref_time(22_473_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_680 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(Weight::from_ref_time(1_703 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
fn unnote_preimage() -> Weight {
|
||||
Weight::from_ref_time(44_567_000 as u64)
|
||||
// Minimum execution time: 43_241 nanoseconds.
|
||||
Weight::from_ref_time(44_470_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
fn unnote_no_deposit_preimage() -> Weight {
|
||||
Weight::from_ref_time(30_065_000 as u64)
|
||||
// Minimum execution time: 29_529 nanoseconds.
|
||||
Weight::from_ref_time(30_364_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_preimage() -> Weight {
|
||||
Weight::from_ref_time(28_470_000 as u64)
|
||||
// Minimum execution time: 28_914 nanoseconds.
|
||||
Weight::from_ref_time(30_103_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_no_deposit_preimage() -> Weight {
|
||||
Weight::from_ref_time(14_601_000 as u64)
|
||||
// Minimum execution time: 14_479 nanoseconds.
|
||||
Weight::from_ref_time(15_244_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_unnoted_preimage() -> Weight {
|
||||
Weight::from_ref_time(20_121_000 as u64)
|
||||
// Minimum execution time: 20_171 nanoseconds.
|
||||
Weight::from_ref_time(20_806_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn request_requested_preimage() -> Weight {
|
||||
Weight::from_ref_time(9_440_000 as u64)
|
||||
// Minimum execution time: 9_756 nanoseconds.
|
||||
Weight::from_ref_time(10_115_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
fn unrequest_preimage() -> Weight {
|
||||
Weight::from_ref_time(29_013_000 as u64)
|
||||
// Minimum execution time: 28_379 nanoseconds.
|
||||
Weight::from_ref_time(29_778_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn unrequest_unnoted_preimage() -> Weight {
|
||||
Weight::from_ref_time(9_223_000 as u64)
|
||||
// Minimum execution time: 9_595 nanoseconds.
|
||||
Weight::from_ref_time(9_888_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn unrequest_multi_referenced_preimage() -> Weight {
|
||||
Weight::from_ref_time(9_252_000 as u64)
|
||||
// Minimum execution time: 9_642 nanoseconds.
|
||||
Weight::from_ref_time(9_985_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,7 +18,8 @@
|
||||
//! Autogenerated weights for pallet_proxy
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,8 +33,10 @@
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/proxy/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -60,96 +63,120 @@ pub trait WeightInfo {
|
||||
pub struct SubstrateWeight<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Proxy Proxies (r:1 w:0)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn proxy(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(17_768_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(76_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 24_285 nanoseconds.
|
||||
Weight::from_ref_time(25_355_667 as u64)
|
||||
// Standard Error: 1_468
|
||||
.saturating_add(Weight::from_ref_time(38_185 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:0)
|
||||
// Storage: Proxy Announcements (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn proxy_announced(a: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(35_682_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(158_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(73_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 44_948 nanoseconds.
|
||||
Weight::from_ref_time(44_762_064 as u64)
|
||||
// Standard Error: 1_778
|
||||
.saturating_add(Weight::from_ref_time(118_940 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_837
|
||||
.saturating_add(Weight::from_ref_time(51_232 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Proxy Announcements (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn remove_announcement(a: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(25_586_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(175_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(18_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 31_274 nanoseconds.
|
||||
Weight::from_ref_time(32_219_165 as u64)
|
||||
// Standard Error: 1_832
|
||||
.saturating_add(Weight::from_ref_time(132_454 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_893
|
||||
.saturating_add(Weight::from_ref_time(9_077 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Proxy Announcements (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn reject_announcement(a: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(25_794_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(173_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(13_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 31_219 nanoseconds.
|
||||
Weight::from_ref_time(32_439_563 as u64)
|
||||
// Standard Error: 1_829
|
||||
.saturating_add(Weight::from_ref_time(120_251 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_890
|
||||
.saturating_add(Weight::from_ref_time(8_689 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:0)
|
||||
// Storage: Proxy Announcements (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn announce(a: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(33_002_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(163_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(79_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 40_388 nanoseconds.
|
||||
Weight::from_ref_time(40_718_245 as u64)
|
||||
// Standard Error: 1_821
|
||||
.saturating_add(Weight::from_ref_time(129_674 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_882
|
||||
.saturating_add(Weight::from_ref_time(56_001 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn add_proxy(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_166_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(105_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 33_997 nanoseconds.
|
||||
Weight::from_ref_time(34_840_036 as u64)
|
||||
// Standard Error: 1_659
|
||||
.saturating_add(Weight::from_ref_time(71_349 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn remove_proxy(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_128_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(118_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 33_900 nanoseconds.
|
||||
Weight::from_ref_time(35_069_110 as u64)
|
||||
// Standard Error: 1_848
|
||||
.saturating_add(Weight::from_ref_time(82_380 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn remove_proxies(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(24_066_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(81_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 29_627 nanoseconds.
|
||||
Weight::from_ref_time(30_641_642 as u64)
|
||||
// Standard Error: 1_495
|
||||
.saturating_add(Weight::from_ref_time(51_919 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn create_pure(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(31_077_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(37_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 37_761 nanoseconds.
|
||||
Weight::from_ref_time(38_748_697 as u64)
|
||||
// Standard Error: 1_594
|
||||
.saturating_add(Weight::from_ref_time(19_022 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[0, 30]`.
|
||||
fn kill_pure(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(24_657_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(87_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 31_145 nanoseconds.
|
||||
Weight::from_ref_time(31_933_568 as u64)
|
||||
// Standard Error: 1_492
|
||||
.saturating_add(Weight::from_ref_time(50_250 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -158,96 +185,120 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// For backwards compatibility and tests
|
||||
impl WeightInfo for () {
|
||||
// Storage: Proxy Proxies (r:1 w:0)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn proxy(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(17_768_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(76_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 24_285 nanoseconds.
|
||||
Weight::from_ref_time(25_355_667 as u64)
|
||||
// Standard Error: 1_468
|
||||
.saturating_add(Weight::from_ref_time(38_185 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:0)
|
||||
// Storage: Proxy Announcements (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn proxy_announced(a: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(35_682_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(158_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(73_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 44_948 nanoseconds.
|
||||
Weight::from_ref_time(44_762_064 as u64)
|
||||
// Standard Error: 1_778
|
||||
.saturating_add(Weight::from_ref_time(118_940 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_837
|
||||
.saturating_add(Weight::from_ref_time(51_232 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Proxy Announcements (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn remove_announcement(a: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(25_586_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(175_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(18_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 31_274 nanoseconds.
|
||||
Weight::from_ref_time(32_219_165 as u64)
|
||||
// Standard Error: 1_832
|
||||
.saturating_add(Weight::from_ref_time(132_454 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_893
|
||||
.saturating_add(Weight::from_ref_time(9_077 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Proxy Announcements (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn reject_announcement(a: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(25_794_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(173_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(13_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 31_219 nanoseconds.
|
||||
Weight::from_ref_time(32_439_563 as u64)
|
||||
// Standard Error: 1_829
|
||||
.saturating_add(Weight::from_ref_time(120_251 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_890
|
||||
.saturating_add(Weight::from_ref_time(8_689 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:0)
|
||||
// Storage: Proxy Announcements (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `a` is `[0, 31]`.
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn announce(a: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(33_002_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(163_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(79_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 40_388 nanoseconds.
|
||||
Weight::from_ref_time(40_718_245 as u64)
|
||||
// Standard Error: 1_821
|
||||
.saturating_add(Weight::from_ref_time(129_674 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_882
|
||||
.saturating_add(Weight::from_ref_time(56_001 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn add_proxy(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_166_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(105_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 33_997 nanoseconds.
|
||||
Weight::from_ref_time(34_840_036 as u64)
|
||||
// Standard Error: 1_659
|
||||
.saturating_add(Weight::from_ref_time(71_349 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn remove_proxy(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_128_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(118_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 33_900 nanoseconds.
|
||||
Weight::from_ref_time(35_069_110 as u64)
|
||||
// Standard Error: 1_848
|
||||
.saturating_add(Weight::from_ref_time(82_380 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn remove_proxies(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(24_066_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(81_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 29_627 nanoseconds.
|
||||
Weight::from_ref_time(30_641_642 as u64)
|
||||
// Standard Error: 1_495
|
||||
.saturating_add(Weight::from_ref_time(51_919 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn create_pure(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(31_077_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(37_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 37_761 nanoseconds.
|
||||
Weight::from_ref_time(38_748_697 as u64)
|
||||
// Standard Error: 1_594
|
||||
.saturating_add(Weight::from_ref_time(19_022 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[0, 30]`.
|
||||
fn kill_pure(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(24_657_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(87_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 31_145 nanoseconds.
|
||||
Weight::from_ref_time(31_933_568 as u64)
|
||||
// Standard Error: 1_492
|
||||
.saturating_add(Weight::from_ref_time(50_250 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,23 +18,25 @@
|
||||
//! Autogenerated weights for pallet_ranked_collective
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// /Users/gav/Core/substrate/target/release/substrate
|
||||
// ./target/production/substrate
|
||||
// benchmark
|
||||
// pallet
|
||||
// --pallet
|
||||
// pallet-ranked-collective
|
||||
// --extrinsic=*
|
||||
// --chain=dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --output=../../../frame/ranked-collective/src/weights.rs
|
||||
// --template=../../../.maintain/frame-weight-template.hbs
|
||||
// --header=../../../HEADER-APACHE2
|
||||
// --record-proof
|
||||
// --pallet=pallet_ranked_collective
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/ranked-collective/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -61,7 +63,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: RankedCollective IndexToId (r:0 w:1)
|
||||
// Storage: RankedCollective IdToIndex (r:0 w:1)
|
||||
fn add_member() -> Weight {
|
||||
Weight::from_ref_time(11_000_000 as u64)
|
||||
// Minimum execution time: 24_344 nanoseconds.
|
||||
Weight::from_ref_time(24_856_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -69,10 +72,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: RankedCollective MemberCount (r:1 w:1)
|
||||
// Storage: RankedCollective IdToIndex (r:1 w:1)
|
||||
// Storage: RankedCollective IndexToId (r:1 w:1)
|
||||
/// The range of component `r` is `[0, 10]`.
|
||||
fn remove_member(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(16_855_000 as u64)
|
||||
// Standard Error: 27_000
|
||||
.saturating_add(Weight::from_ref_time(8_107_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 36_881 nanoseconds.
|
||||
Weight::from_ref_time(39_284_238 as u64)
|
||||
// Standard Error: 16_355
|
||||
.saturating_add(Weight::from_ref_time(11_385_424 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
@@ -82,10 +87,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: RankedCollective MemberCount (r:1 w:1)
|
||||
// Storage: RankedCollective IndexToId (r:0 w:1)
|
||||
// Storage: RankedCollective IdToIndex (r:0 w:1)
|
||||
/// The range of component `r` is `[0, 10]`.
|
||||
fn promote_member(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(11_936_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(9_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 27_444 nanoseconds.
|
||||
Weight::from_ref_time(28_576_394 as u64)
|
||||
// Standard Error: 4_818
|
||||
.saturating_add(Weight::from_ref_time(519_056 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -93,10 +100,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: RankedCollective MemberCount (r:1 w:1)
|
||||
// Storage: RankedCollective IdToIndex (r:1 w:1)
|
||||
// Storage: RankedCollective IndexToId (r:1 w:1)
|
||||
/// The range of component `r` is `[0, 10]`.
|
||||
fn demote_member(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(17_582_000 as u64)
|
||||
// Standard Error: 14_000
|
||||
.saturating_add(Weight::from_ref_time(142_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 36_539 nanoseconds.
|
||||
Weight::from_ref_time(39_339_893 as u64)
|
||||
// Standard Error: 16_526
|
||||
.saturating_add(Weight::from_ref_time(807_457 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -105,17 +114,21 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: RankedCollective Voting (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn vote() -> Weight {
|
||||
Weight::from_ref_time(22_000_000 as u64)
|
||||
// Minimum execution time: 50_548 nanoseconds.
|
||||
Weight::from_ref_time(51_276_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: RankedPolls ReferendumInfoFor (r:1 w:0)
|
||||
// Storage: RankedCollective Voting (r:0 w:1)
|
||||
// Storage: RankedCollective VotingCleanup (r:1 w:0)
|
||||
// Storage: RankedCollective Voting (r:0 w:2)
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
fn cleanup_poll(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(6_188_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(867_000 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
// Minimum execution time: 16_222 nanoseconds.
|
||||
Weight::from_ref_time(22_982_955 as u64)
|
||||
// Standard Error: 3_863
|
||||
.saturating_add(Weight::from_ref_time(1_074_054 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(n as u64)))
|
||||
}
|
||||
}
|
||||
@@ -127,7 +140,8 @@ impl WeightInfo for () {
|
||||
// Storage: RankedCollective IndexToId (r:0 w:1)
|
||||
// Storage: RankedCollective IdToIndex (r:0 w:1)
|
||||
fn add_member() -> Weight {
|
||||
Weight::from_ref_time(11_000_000 as u64)
|
||||
// Minimum execution time: 24_344 nanoseconds.
|
||||
Weight::from_ref_time(24_856_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -135,10 +149,12 @@ impl WeightInfo for () {
|
||||
// Storage: RankedCollective MemberCount (r:1 w:1)
|
||||
// Storage: RankedCollective IdToIndex (r:1 w:1)
|
||||
// Storage: RankedCollective IndexToId (r:1 w:1)
|
||||
/// The range of component `r` is `[0, 10]`.
|
||||
fn remove_member(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(16_855_000 as u64)
|
||||
// Standard Error: 27_000
|
||||
.saturating_add(Weight::from_ref_time(8_107_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 36_881 nanoseconds.
|
||||
Weight::from_ref_time(39_284_238 as u64)
|
||||
// Standard Error: 16_355
|
||||
.saturating_add(Weight::from_ref_time(11_385_424 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((3 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
@@ -148,10 +164,12 @@ impl WeightInfo for () {
|
||||
// Storage: RankedCollective MemberCount (r:1 w:1)
|
||||
// Storage: RankedCollective IndexToId (r:0 w:1)
|
||||
// Storage: RankedCollective IdToIndex (r:0 w:1)
|
||||
/// The range of component `r` is `[0, 10]`.
|
||||
fn promote_member(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(11_936_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(9_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 27_444 nanoseconds.
|
||||
Weight::from_ref_time(28_576_394 as u64)
|
||||
// Standard Error: 4_818
|
||||
.saturating_add(Weight::from_ref_time(519_056 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -159,10 +177,12 @@ impl WeightInfo for () {
|
||||
// Storage: RankedCollective MemberCount (r:1 w:1)
|
||||
// Storage: RankedCollective IdToIndex (r:1 w:1)
|
||||
// Storage: RankedCollective IndexToId (r:1 w:1)
|
||||
/// The range of component `r` is `[0, 10]`.
|
||||
fn demote_member(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(17_582_000 as u64)
|
||||
// Standard Error: 14_000
|
||||
.saturating_add(Weight::from_ref_time(142_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 36_539 nanoseconds.
|
||||
Weight::from_ref_time(39_339_893 as u64)
|
||||
// Standard Error: 16_526
|
||||
.saturating_add(Weight::from_ref_time(807_457 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -171,17 +191,21 @@ impl WeightInfo for () {
|
||||
// Storage: RankedCollective Voting (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn vote() -> Weight {
|
||||
Weight::from_ref_time(22_000_000 as u64)
|
||||
// Minimum execution time: 50_548 nanoseconds.
|
||||
Weight::from_ref_time(51_276_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: RankedPolls ReferendumInfoFor (r:1 w:0)
|
||||
// Storage: RankedCollective Voting (r:0 w:1)
|
||||
// Storage: RankedCollective VotingCleanup (r:1 w:0)
|
||||
// Storage: RankedCollective Voting (r:0 w:2)
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
fn cleanup_poll(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(6_188_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(867_000 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
// Minimum execution time: 16_222 nanoseconds.
|
||||
Weight::from_ref_time(22_982_955 as u64)
|
||||
// Standard Error: 3_863
|
||||
.saturating_add(Weight::from_ref_time(1_074_054 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(n as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,7 +18,8 @@
|
||||
//! Autogenerated weights for pallet_recovery
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,8 +33,10 @@
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/recovery/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -60,69 +63,83 @@ pub struct SubstrateWeight<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Recovery Proxy (r:1 w:0)
|
||||
fn as_recovered() -> Weight {
|
||||
Weight::from_ref_time(6_579_000 as u64)
|
||||
// Minimum execution time: 10_672 nanoseconds.
|
||||
Weight::from_ref_time(10_946_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Recovery Proxy (r:0 w:1)
|
||||
fn set_recovered() -> Weight {
|
||||
Weight::from_ref_time(13_402_000 as u64)
|
||||
// Minimum execution time: 17_092 nanoseconds.
|
||||
Weight::from_ref_time(17_660_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Recovery Recoverable (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 9]`.
|
||||
fn create_recovery(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_217_000 as u64)
|
||||
// Standard Error: 13_000
|
||||
.saturating_add(Weight::from_ref_time(172_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 32_800 nanoseconds.
|
||||
Weight::from_ref_time(33_769_078 as u64)
|
||||
// Standard Error: 4_075
|
||||
.saturating_add(Weight::from_ref_time(252_382 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Recovery Recoverable (r:1 w:0)
|
||||
// Storage: Recovery ActiveRecoveries (r:1 w:1)
|
||||
fn initiate_recovery() -> Weight {
|
||||
Weight::from_ref_time(34_082_000 as u64)
|
||||
// Minimum execution time: 39_224 nanoseconds.
|
||||
Weight::from_ref_time(39_663_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Recovery Recoverable (r:1 w:0)
|
||||
// Storage: Recovery ActiveRecoveries (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 9]`.
|
||||
fn vouch_recovery(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_038_000 as u64)
|
||||
// Standard Error: 19_000
|
||||
.saturating_add(Weight::from_ref_time(307_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 27_158 nanoseconds.
|
||||
Weight::from_ref_time(28_130_506 as u64)
|
||||
// Standard Error: 4_523
|
||||
.saturating_add(Weight::from_ref_time(321_436 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Recovery Recoverable (r:1 w:0)
|
||||
// Storage: Recovery ActiveRecoveries (r:1 w:0)
|
||||
// Storage: Recovery Proxy (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 9]`.
|
||||
fn claim_recovery(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_621_000 as u64)
|
||||
// Standard Error: 13_000
|
||||
.saturating_add(Weight::from_ref_time(353_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 36_269 nanoseconds.
|
||||
Weight::from_ref_time(36_966_173 as u64)
|
||||
// Standard Error: 5_016
|
||||
.saturating_add(Weight::from_ref_time(223_069 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Recovery ActiveRecoveries (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 9]`.
|
||||
fn close_recovery(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(33_287_000 as u64)
|
||||
// Standard Error: 19_000
|
||||
.saturating_add(Weight::from_ref_time(264_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 40_213 nanoseconds.
|
||||
Weight::from_ref_time(41_140_968 as u64)
|
||||
// Standard Error: 3_822
|
||||
.saturating_add(Weight::from_ref_time(163_217 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Recovery ActiveRecoveries (r:1 w:0)
|
||||
// Storage: Recovery Recoverable (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 9]`.
|
||||
fn remove_recovery(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(31_964_000 as u64)
|
||||
// Standard Error: 13_000
|
||||
.saturating_add(Weight::from_ref_time(222_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 38_740 nanoseconds.
|
||||
Weight::from_ref_time(39_710_400 as u64)
|
||||
// Standard Error: 5_554
|
||||
.saturating_add(Weight::from_ref_time(224_200 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Recovery Proxy (r:1 w:1)
|
||||
fn cancel_recovered() -> Weight {
|
||||
Weight::from_ref_time(12_702_000 as u64)
|
||||
// Minimum execution time: 20_316 nanoseconds.
|
||||
Weight::from_ref_time(20_912_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -132,69 +149,83 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
impl WeightInfo for () {
|
||||
// Storage: Recovery Proxy (r:1 w:0)
|
||||
fn as_recovered() -> Weight {
|
||||
Weight::from_ref_time(6_579_000 as u64)
|
||||
// Minimum execution time: 10_672 nanoseconds.
|
||||
Weight::from_ref_time(10_946_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Recovery Proxy (r:0 w:1)
|
||||
fn set_recovered() -> Weight {
|
||||
Weight::from_ref_time(13_402_000 as u64)
|
||||
// Minimum execution time: 17_092 nanoseconds.
|
||||
Weight::from_ref_time(17_660_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Recovery Recoverable (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 9]`.
|
||||
fn create_recovery(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_217_000 as u64)
|
||||
// Standard Error: 13_000
|
||||
.saturating_add(Weight::from_ref_time(172_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 32_800 nanoseconds.
|
||||
Weight::from_ref_time(33_769_078 as u64)
|
||||
// Standard Error: 4_075
|
||||
.saturating_add(Weight::from_ref_time(252_382 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Recovery Recoverable (r:1 w:0)
|
||||
// Storage: Recovery ActiveRecoveries (r:1 w:1)
|
||||
fn initiate_recovery() -> Weight {
|
||||
Weight::from_ref_time(34_082_000 as u64)
|
||||
// Minimum execution time: 39_224 nanoseconds.
|
||||
Weight::from_ref_time(39_663_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Recovery Recoverable (r:1 w:0)
|
||||
// Storage: Recovery ActiveRecoveries (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 9]`.
|
||||
fn vouch_recovery(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_038_000 as u64)
|
||||
// Standard Error: 19_000
|
||||
.saturating_add(Weight::from_ref_time(307_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 27_158 nanoseconds.
|
||||
Weight::from_ref_time(28_130_506 as u64)
|
||||
// Standard Error: 4_523
|
||||
.saturating_add(Weight::from_ref_time(321_436 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Recovery Recoverable (r:1 w:0)
|
||||
// Storage: Recovery ActiveRecoveries (r:1 w:0)
|
||||
// Storage: Recovery Proxy (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 9]`.
|
||||
fn claim_recovery(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_621_000 as u64)
|
||||
// Standard Error: 13_000
|
||||
.saturating_add(Weight::from_ref_time(353_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 36_269 nanoseconds.
|
||||
Weight::from_ref_time(36_966_173 as u64)
|
||||
// Standard Error: 5_016
|
||||
.saturating_add(Weight::from_ref_time(223_069 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Recovery ActiveRecoveries (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 9]`.
|
||||
fn close_recovery(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(33_287_000 as u64)
|
||||
// Standard Error: 19_000
|
||||
.saturating_add(Weight::from_ref_time(264_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 40_213 nanoseconds.
|
||||
Weight::from_ref_time(41_140_968 as u64)
|
||||
// Standard Error: 3_822
|
||||
.saturating_add(Weight::from_ref_time(163_217 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Recovery ActiveRecoveries (r:1 w:0)
|
||||
// Storage: Recovery Recoverable (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 9]`.
|
||||
fn remove_recovery(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(31_964_000 as u64)
|
||||
// Standard Error: 13_000
|
||||
.saturating_add(Weight::from_ref_time(222_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 38_740 nanoseconds.
|
||||
Weight::from_ref_time(39_710_400 as u64)
|
||||
// Standard Error: 5_554
|
||||
.saturating_add(Weight::from_ref_time(224_200 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Recovery Proxy (r:1 w:1)
|
||||
fn cancel_recovered() -> Weight {
|
||||
Weight::from_ref_time(12_702_000 as u64)
|
||||
// Minimum execution time: 20_316 nanoseconds.
|
||||
Weight::from_ref_time(20_912_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,7 +18,8 @@
|
||||
//! Autogenerated weights for pallet_referenda
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,8 +33,10 @@
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/referenda/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -80,14 +83,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
// Storage: Referenda ReferendumInfoFor (r:0 w:1)
|
||||
fn submit() -> Weight {
|
||||
Weight::from_ref_time(34_640_000 as u64)
|
||||
// Minimum execution time: 41_475 nanoseconds.
|
||||
Weight::from_ref_time(42_153_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn place_decision_deposit_preparing() -> Weight {
|
||||
Weight::from_ref_time(44_290_000 as u64)
|
||||
// Minimum execution time: 52_291 nanoseconds.
|
||||
Weight::from_ref_time(53_147_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -95,7 +100,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Referenda DecidingCount (r:1 w:0)
|
||||
// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
fn place_decision_deposit_queued() -> Weight {
|
||||
Weight::from_ref_time(49_428_000 as u64)
|
||||
// Minimum execution time: 57_322 nanoseconds.
|
||||
Weight::from_ref_time(58_145_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -103,7 +109,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Referenda DecidingCount (r:1 w:0)
|
||||
// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
fn place_decision_deposit_not_queued() -> Weight {
|
||||
Weight::from_ref_time(50_076_000 as u64)
|
||||
// Minimum execution time: 57_170 nanoseconds.
|
||||
Weight::from_ref_time(58_012_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -111,7 +118,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Referenda DecidingCount (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn place_decision_deposit_passing() -> Weight {
|
||||
Weight::from_ref_time(55_935_000 as u64)
|
||||
// Minimum execution time: 67_805 nanoseconds.
|
||||
Weight::from_ref_time(68_844_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -119,34 +127,39 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Referenda DecidingCount (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn place_decision_deposit_failing() -> Weight {
|
||||
Weight::from_ref_time(52_921_000 as u64)
|
||||
// Minimum execution time: 63_408 nanoseconds.
|
||||
Weight::from_ref_time(64_049_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
fn refund_decision_deposit() -> Weight {
|
||||
Weight::from_ref_time(29_160_000 as u64)
|
||||
// Minimum execution time: 36_639 nanoseconds.
|
||||
Weight::from_ref_time(37_329_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn cancel() -> Weight {
|
||||
Weight::from_ref_time(34_972_000 as u64)
|
||||
// Minimum execution time: 42_442 nanoseconds.
|
||||
Weight::from_ref_time(43_006_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn kill() -> Weight {
|
||||
Weight::from_ref_time(60_620_000 as u64)
|
||||
// Minimum execution time: 74_681 nanoseconds.
|
||||
Weight::from_ref_time(75_567_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Referenda TrackQueue (r:1 w:0)
|
||||
// Storage: Referenda DecidingCount (r:1 w:1)
|
||||
fn one_fewer_deciding_queue_empty() -> Weight {
|
||||
Weight::from_ref_time(9_615_000 as u64)
|
||||
// Minimum execution time: 14_262 nanoseconds.
|
||||
Weight::from_ref_time(14_504_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -154,7 +167,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn one_fewer_deciding_failing() -> Weight {
|
||||
Weight::from_ref_time(113_077_000 as u64)
|
||||
// Minimum execution time: 88_618 nanoseconds.
|
||||
Weight::from_ref_time(89_443_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -162,7 +176,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn one_fewer_deciding_passing() -> Weight {
|
||||
Weight::from_ref_time(114_376_000 as u64)
|
||||
// Minimum execution time: 89_784 nanoseconds.
|
||||
Weight::from_ref_time(90_619_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -170,7 +185,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_requeued_insertion() -> Weight {
|
||||
Weight::from_ref_time(43_901_000 as u64)
|
||||
// Minimum execution time: 73_179 nanoseconds.
|
||||
Weight::from_ref_time(74_025_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -178,7 +194,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_requeued_slide() -> Weight {
|
||||
Weight::from_ref_time(43_279_000 as u64)
|
||||
// Minimum execution time: 73_168 nanoseconds.
|
||||
Weight::from_ref_time(73_769_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -187,7 +204,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_queued() -> Weight {
|
||||
Weight::from_ref_time(45_564_000 as u64)
|
||||
// Minimum execution time: 75_027 nanoseconds.
|
||||
Weight::from_ref_time(76_220_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -196,27 +214,31 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_not_queued() -> Weight {
|
||||
Weight::from_ref_time(45_061_000 as u64)
|
||||
// Minimum execution time: 74_815 nanoseconds.
|
||||
Weight::from_ref_time(75_803_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_no_deposit() -> Weight {
|
||||
Weight::from_ref_time(23_757_000 as u64)
|
||||
// Minimum execution time: 31_877 nanoseconds.
|
||||
Weight::from_ref_time(32_236_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_preparing() -> Weight {
|
||||
Weight::from_ref_time(24_781_000 as u64)
|
||||
// Minimum execution time: 33_322 nanoseconds.
|
||||
Weight::from_ref_time(33_762_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
fn nudge_referendum_timed_out() -> Weight {
|
||||
Weight::from_ref_time(18_344_000 as u64)
|
||||
// Minimum execution time: 25_393 nanoseconds.
|
||||
Weight::from_ref_time(25_913_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -224,7 +246,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Referenda DecidingCount (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_begin_deciding_failing() -> Weight {
|
||||
Weight::from_ref_time(34_752_000 as u64)
|
||||
// Minimum execution time: 47_114 nanoseconds.
|
||||
Weight::from_ref_time(47_586_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -232,51 +255,57 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Referenda DecidingCount (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_begin_deciding_passing() -> Weight {
|
||||
Weight::from_ref_time(37_055_000 as u64)
|
||||
// Minimum execution time: 48_443 nanoseconds.
|
||||
Weight::from_ref_time(50_003_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_begin_confirming() -> Weight {
|
||||
Weight::from_ref_time(31_442_000 as u64)
|
||||
// Minimum execution time: 44_556 nanoseconds.
|
||||
Weight::from_ref_time(45_167_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_end_confirming() -> Weight {
|
||||
Weight::from_ref_time(33_201_000 as u64)
|
||||
// Minimum execution time: 45_474 nanoseconds.
|
||||
Weight::from_ref_time(46_105_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_continue_not_confirming() -> Weight {
|
||||
Weight::from_ref_time(30_047_000 as u64)
|
||||
// Minimum execution time: 42_795 nanoseconds.
|
||||
Weight::from_ref_time(43_123_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_continue_confirming() -> Weight {
|
||||
Weight::from_ref_time(29_195_000 as u64)
|
||||
// Minimum execution time: 41_928 nanoseconds.
|
||||
Weight::from_ref_time(42_272_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
// Storage: Scheduler Lookup (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn nudge_referendum_approved() -> Weight {
|
||||
Weight::from_ref_time(50_119_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
// Minimum execution time: 55_186 nanoseconds.
|
||||
Weight::from_ref_time(55_714_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_rejected() -> Weight {
|
||||
Weight::from_ref_time(32_203_000 as u64)
|
||||
// Minimum execution time: 44_892 nanoseconds.
|
||||
Weight::from_ref_time(45_353_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -288,14 +317,16 @@ impl WeightInfo for () {
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
// Storage: Referenda ReferendumInfoFor (r:0 w:1)
|
||||
fn submit() -> Weight {
|
||||
Weight::from_ref_time(34_640_000 as u64)
|
||||
// Minimum execution time: 41_475 nanoseconds.
|
||||
Weight::from_ref_time(42_153_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn place_decision_deposit_preparing() -> Weight {
|
||||
Weight::from_ref_time(44_290_000 as u64)
|
||||
// Minimum execution time: 52_291 nanoseconds.
|
||||
Weight::from_ref_time(53_147_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -303,7 +334,8 @@ impl WeightInfo for () {
|
||||
// Storage: Referenda DecidingCount (r:1 w:0)
|
||||
// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
fn place_decision_deposit_queued() -> Weight {
|
||||
Weight::from_ref_time(49_428_000 as u64)
|
||||
// Minimum execution time: 57_322 nanoseconds.
|
||||
Weight::from_ref_time(58_145_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -311,7 +343,8 @@ impl WeightInfo for () {
|
||||
// Storage: Referenda DecidingCount (r:1 w:0)
|
||||
// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
fn place_decision_deposit_not_queued() -> Weight {
|
||||
Weight::from_ref_time(50_076_000 as u64)
|
||||
// Minimum execution time: 57_170 nanoseconds.
|
||||
Weight::from_ref_time(58_012_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -319,7 +352,8 @@ impl WeightInfo for () {
|
||||
// Storage: Referenda DecidingCount (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn place_decision_deposit_passing() -> Weight {
|
||||
Weight::from_ref_time(55_935_000 as u64)
|
||||
// Minimum execution time: 67_805 nanoseconds.
|
||||
Weight::from_ref_time(68_844_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -327,34 +361,39 @@ impl WeightInfo for () {
|
||||
// Storage: Referenda DecidingCount (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn place_decision_deposit_failing() -> Weight {
|
||||
Weight::from_ref_time(52_921_000 as u64)
|
||||
// Minimum execution time: 63_408 nanoseconds.
|
||||
Weight::from_ref_time(64_049_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
fn refund_decision_deposit() -> Weight {
|
||||
Weight::from_ref_time(29_160_000 as u64)
|
||||
// Minimum execution time: 36_639 nanoseconds.
|
||||
Weight::from_ref_time(37_329_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn cancel() -> Weight {
|
||||
Weight::from_ref_time(34_972_000 as u64)
|
||||
// Minimum execution time: 42_442 nanoseconds.
|
||||
Weight::from_ref_time(43_006_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn kill() -> Weight {
|
||||
Weight::from_ref_time(60_620_000 as u64)
|
||||
// Minimum execution time: 74_681 nanoseconds.
|
||||
Weight::from_ref_time(75_567_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Referenda TrackQueue (r:1 w:0)
|
||||
// Storage: Referenda DecidingCount (r:1 w:1)
|
||||
fn one_fewer_deciding_queue_empty() -> Weight {
|
||||
Weight::from_ref_time(9_615_000 as u64)
|
||||
// Minimum execution time: 14_262 nanoseconds.
|
||||
Weight::from_ref_time(14_504_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -362,7 +401,8 @@ impl WeightInfo for () {
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn one_fewer_deciding_failing() -> Weight {
|
||||
Weight::from_ref_time(113_077_000 as u64)
|
||||
// Minimum execution time: 88_618 nanoseconds.
|
||||
Weight::from_ref_time(89_443_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -370,7 +410,8 @@ impl WeightInfo for () {
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
fn one_fewer_deciding_passing() -> Weight {
|
||||
Weight::from_ref_time(114_376_000 as u64)
|
||||
// Minimum execution time: 89_784 nanoseconds.
|
||||
Weight::from_ref_time(90_619_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -378,7 +419,8 @@ impl WeightInfo for () {
|
||||
// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_requeued_insertion() -> Weight {
|
||||
Weight::from_ref_time(43_901_000 as u64)
|
||||
// Minimum execution time: 73_179 nanoseconds.
|
||||
Weight::from_ref_time(74_025_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -386,7 +428,8 @@ impl WeightInfo for () {
|
||||
// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_requeued_slide() -> Weight {
|
||||
Weight::from_ref_time(43_279_000 as u64)
|
||||
// Minimum execution time: 73_168 nanoseconds.
|
||||
Weight::from_ref_time(73_769_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -395,7 +438,8 @@ impl WeightInfo for () {
|
||||
// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_queued() -> Weight {
|
||||
Weight::from_ref_time(45_564_000 as u64)
|
||||
// Minimum execution time: 75_027 nanoseconds.
|
||||
Weight::from_ref_time(76_220_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -404,27 +448,31 @@ impl WeightInfo for () {
|
||||
// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_not_queued() -> Weight {
|
||||
Weight::from_ref_time(45_061_000 as u64)
|
||||
// Minimum execution time: 74_815 nanoseconds.
|
||||
Weight::from_ref_time(75_803_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_no_deposit() -> Weight {
|
||||
Weight::from_ref_time(23_757_000 as u64)
|
||||
// Minimum execution time: 31_877 nanoseconds.
|
||||
Weight::from_ref_time(32_236_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_preparing() -> Weight {
|
||||
Weight::from_ref_time(24_781_000 as u64)
|
||||
// Minimum execution time: 33_322 nanoseconds.
|
||||
Weight::from_ref_time(33_762_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
fn nudge_referendum_timed_out() -> Weight {
|
||||
Weight::from_ref_time(18_344_000 as u64)
|
||||
// Minimum execution time: 25_393 nanoseconds.
|
||||
Weight::from_ref_time(25_913_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -432,7 +480,8 @@ impl WeightInfo for () {
|
||||
// Storage: Referenda DecidingCount (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_begin_deciding_failing() -> Weight {
|
||||
Weight::from_ref_time(34_752_000 as u64)
|
||||
// Minimum execution time: 47_114 nanoseconds.
|
||||
Weight::from_ref_time(47_586_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -440,51 +489,57 @@ impl WeightInfo for () {
|
||||
// Storage: Referenda DecidingCount (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_begin_deciding_passing() -> Weight {
|
||||
Weight::from_ref_time(37_055_000 as u64)
|
||||
// Minimum execution time: 48_443 nanoseconds.
|
||||
Weight::from_ref_time(50_003_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_begin_confirming() -> Weight {
|
||||
Weight::from_ref_time(31_442_000 as u64)
|
||||
// Minimum execution time: 44_556 nanoseconds.
|
||||
Weight::from_ref_time(45_167_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_end_confirming() -> Weight {
|
||||
Weight::from_ref_time(33_201_000 as u64)
|
||||
// Minimum execution time: 45_474 nanoseconds.
|
||||
Weight::from_ref_time(46_105_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_continue_not_confirming() -> Weight {
|
||||
Weight::from_ref_time(30_047_000 as u64)
|
||||
// Minimum execution time: 42_795 nanoseconds.
|
||||
Weight::from_ref_time(43_123_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_continue_confirming() -> Weight {
|
||||
Weight::from_ref_time(29_195_000 as u64)
|
||||
// Minimum execution time: 41_928 nanoseconds.
|
||||
Weight::from_ref_time(42_272_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
// Storage: Scheduler Lookup (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn nudge_referendum_approved() -> Weight {
|
||||
Weight::from_ref_time(50_119_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(5 as u64))
|
||||
// Minimum execution time: 55_186 nanoseconds.
|
||||
Weight::from_ref_time(55_714_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn nudge_referendum_rejected() -> Weight {
|
||||
Weight::from_ref_time(32_203_000 as u64)
|
||||
// Minimum execution time: 44_892 nanoseconds.
|
||||
Weight::from_ref_time(45_353_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,7 +18,8 @@
|
||||
//! Autogenerated weights for pallet_remark
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,8 +33,10 @@
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/remark/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -51,10 +54,12 @@ pub trait WeightInfo {
|
||||
pub struct SubstrateWeight<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
/// The range of component `l` is `[1, 1048576]`.
|
||||
fn store(l: u32, ) -> Weight {
|
||||
Weight::from_ref_time(13_140_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(l as u64))
|
||||
// Minimum execution time: 17_017 nanoseconds.
|
||||
Weight::from_ref_time(8_269_935 as u64)
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(1_407 as u64).saturating_mul(l as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
}
|
||||
@@ -62,10 +67,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// For backwards compatibility and tests
|
||||
impl WeightInfo for () {
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
/// The range of component `l` is `[1, 1048576]`.
|
||||
fn store(l: u32, ) -> Weight {
|
||||
Weight::from_ref_time(13_140_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(l as u64))
|
||||
// Minimum execution time: 17_017 nanoseconds.
|
||||
Weight::from_ref_time(8_269_935 as u64)
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(1_407 as u64).saturating_mul(l as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,23 +18,24 @@
|
||||
//! Autogenerated weights for pallet_scheduler
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// /home/benchbot/cargo_target_dir/production/substrate
|
||||
// ./target/production/substrate
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_scheduler
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --pallet=pallet_scheduler
|
||||
// --chain=dev
|
||||
// --output=./frame/scheduler/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
@@ -65,52 +66,61 @@ pub struct SubstrateWeight<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Scheduler IncompleteSince (r:1 w:1)
|
||||
fn service_agendas_base() -> Weight {
|
||||
Weight::from_ref_time(4_992_000 as u64)
|
||||
// Minimum execution time: 5_131 nanoseconds.
|
||||
Weight::from_ref_time(5_286_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 512]`.
|
||||
fn service_agenda_base(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(4_320_000 as u64)
|
||||
// Standard Error: 619
|
||||
.saturating_add(Weight::from_ref_time(336_713 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 4_111 nanoseconds.
|
||||
Weight::from_ref_time(8_763_440 as u64)
|
||||
// Standard Error: 783
|
||||
.saturating_add(Weight::from_ref_time(372_339 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
fn service_task_base() -> Weight {
|
||||
Weight::from_ref_time(10_864_000 as u64)
|
||||
// Minimum execution time: 10_880 nanoseconds.
|
||||
Weight::from_ref_time(11_194_000 as u64)
|
||||
}
|
||||
// Storage: Preimage PreimageFor (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
/// The range of component `s` is `[128, 4194304]`.
|
||||
fn service_task_fetched(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(24_586_000 as u64)
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(1_138 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 25_347 nanoseconds.
|
||||
Weight::from_ref_time(25_717_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_128 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Scheduler Lookup (r:0 w:1)
|
||||
fn service_task_named() -> Weight {
|
||||
Weight::from_ref_time(13_127_000 as u64)
|
||||
// Minimum execution time: 12_894 nanoseconds.
|
||||
Weight::from_ref_time(13_108_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
fn service_task_periodic() -> Weight {
|
||||
Weight::from_ref_time(11_053_000 as u64)
|
||||
// Minimum execution time: 10_667 nanoseconds.
|
||||
Weight::from_ref_time(10_908_000 as u64)
|
||||
}
|
||||
fn execute_dispatch_signed() -> Weight {
|
||||
Weight::from_ref_time(4_158_000 as u64)
|
||||
// Minimum execution time: 4_124 nanoseconds.
|
||||
Weight::from_ref_time(4_680_000 as u64)
|
||||
}
|
||||
fn execute_dispatch_unsigned() -> Weight {
|
||||
Weight::from_ref_time(4_104_000 as u64)
|
||||
// Minimum execution time: 4_156 nanoseconds.
|
||||
Weight::from_ref_time(4_361_000 as u64)
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 511]`.
|
||||
fn schedule(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_074_000 as u64)
|
||||
// Standard Error: 765
|
||||
.saturating_add(Weight::from_ref_time(343_285 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 20_504 nanoseconds.
|
||||
Weight::from_ref_time(27_066_818 as u64)
|
||||
// Standard Error: 1_114
|
||||
.saturating_add(Weight::from_ref_time(372_897 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -118,9 +128,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Scheduler Lookup (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 512]`.
|
||||
fn cancel(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(21_509_000 as u64)
|
||||
// Standard Error: 708
|
||||
.saturating_add(Weight::from_ref_time(323_013 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 21_686 nanoseconds.
|
||||
Weight::from_ref_time(25_696_496 as u64)
|
||||
// Standard Error: 1_261
|
||||
.saturating_add(Weight::from_ref_time(362_498 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -128,9 +139,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 511]`.
|
||||
fn schedule_named(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_427_000 as u64)
|
||||
// Standard Error: 850
|
||||
.saturating_add(Weight::from_ref_time(357_265 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 23_084 nanoseconds.
|
||||
Weight::from_ref_time(31_255_518 as u64)
|
||||
// Standard Error: 1_258
|
||||
.saturating_add(Weight::from_ref_time(382_534 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -138,9 +150,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 512]`.
|
||||
fn cancel_named(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_875_000 as u64)
|
||||
// Standard Error: 693
|
||||
.saturating_add(Weight::from_ref_time(336_643 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 23_862 nanoseconds.
|
||||
Weight::from_ref_time(28_591_336 as u64)
|
||||
// Standard Error: 742
|
||||
.saturating_add(Weight::from_ref_time(369_305 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -150,52 +163,61 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
impl WeightInfo for () {
|
||||
// Storage: Scheduler IncompleteSince (r:1 w:1)
|
||||
fn service_agendas_base() -> Weight {
|
||||
Weight::from_ref_time(4_992_000 as u64)
|
||||
// Minimum execution time: 5_131 nanoseconds.
|
||||
Weight::from_ref_time(5_286_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 512]`.
|
||||
fn service_agenda_base(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(4_320_000 as u64)
|
||||
// Standard Error: 619
|
||||
.saturating_add(Weight::from_ref_time(336_713 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 4_111 nanoseconds.
|
||||
Weight::from_ref_time(8_763_440 as u64)
|
||||
// Standard Error: 783
|
||||
.saturating_add(Weight::from_ref_time(372_339 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
fn service_task_base() -> Weight {
|
||||
Weight::from_ref_time(10_864_000 as u64)
|
||||
// Minimum execution time: 10_880 nanoseconds.
|
||||
Weight::from_ref_time(11_194_000 as u64)
|
||||
}
|
||||
// Storage: Preimage PreimageFor (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
/// The range of component `s` is `[128, 4194304]`.
|
||||
fn service_task_fetched(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(24_586_000 as u64)
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(1_138 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 25_347 nanoseconds.
|
||||
Weight::from_ref_time(25_717_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_128 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Scheduler Lookup (r:0 w:1)
|
||||
fn service_task_named() -> Weight {
|
||||
Weight::from_ref_time(13_127_000 as u64)
|
||||
// Minimum execution time: 12_894 nanoseconds.
|
||||
Weight::from_ref_time(13_108_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
fn service_task_periodic() -> Weight {
|
||||
Weight::from_ref_time(11_053_000 as u64)
|
||||
// Minimum execution time: 10_667 nanoseconds.
|
||||
Weight::from_ref_time(10_908_000 as u64)
|
||||
}
|
||||
fn execute_dispatch_signed() -> Weight {
|
||||
Weight::from_ref_time(4_158_000 as u64)
|
||||
// Minimum execution time: 4_124 nanoseconds.
|
||||
Weight::from_ref_time(4_680_000 as u64)
|
||||
}
|
||||
fn execute_dispatch_unsigned() -> Weight {
|
||||
Weight::from_ref_time(4_104_000 as u64)
|
||||
// Minimum execution time: 4_156 nanoseconds.
|
||||
Weight::from_ref_time(4_361_000 as u64)
|
||||
}
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 511]`.
|
||||
fn schedule(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_074_000 as u64)
|
||||
// Standard Error: 765
|
||||
.saturating_add(Weight::from_ref_time(343_285 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 20_504 nanoseconds.
|
||||
Weight::from_ref_time(27_066_818 as u64)
|
||||
// Standard Error: 1_114
|
||||
.saturating_add(Weight::from_ref_time(372_897 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -203,9 +225,10 @@ impl WeightInfo for () {
|
||||
// Storage: Scheduler Lookup (r:0 w:1)
|
||||
/// The range of component `s` is `[1, 512]`.
|
||||
fn cancel(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(21_509_000 as u64)
|
||||
// Standard Error: 708
|
||||
.saturating_add(Weight::from_ref_time(323_013 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 21_686 nanoseconds.
|
||||
Weight::from_ref_time(25_696_496 as u64)
|
||||
// Standard Error: 1_261
|
||||
.saturating_add(Weight::from_ref_time(362_498 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -213,9 +236,10 @@ impl WeightInfo for () {
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// The range of component `s` is `[0, 511]`.
|
||||
fn schedule_named(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_427_000 as u64)
|
||||
// Standard Error: 850
|
||||
.saturating_add(Weight::from_ref_time(357_265 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 23_084 nanoseconds.
|
||||
Weight::from_ref_time(31_255_518 as u64)
|
||||
// Standard Error: 1_258
|
||||
.saturating_add(Weight::from_ref_time(382_534 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -223,9 +247,10 @@ impl WeightInfo for () {
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// The range of component `s` is `[1, 512]`.
|
||||
fn cancel_named(s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_875_000 as u64)
|
||||
// Standard Error: 693
|
||||
.saturating_add(Weight::from_ref_time(336_643 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 23_862 nanoseconds.
|
||||
Weight::from_ref_time(28_591_336 as u64)
|
||||
// Standard Error: 742
|
||||
.saturating_add(Weight::from_ref_time(369_305 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,7 +18,8 @@
|
||||
//! Autogenerated weights for pallet_session
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,8 +33,10 @@
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/session/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -55,7 +58,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Session NextKeys (r:1 w:1)
|
||||
// Storage: Session KeyOwner (r:4 w:4)
|
||||
fn set_keys() -> Weight {
|
||||
Weight::from_ref_time(48_484_000 as u64)
|
||||
// Minimum execution time: 59_046 nanoseconds.
|
||||
Weight::from_ref_time(59_934_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
@@ -63,7 +67,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Session NextKeys (r:1 w:1)
|
||||
// Storage: Session KeyOwner (r:0 w:4)
|
||||
fn purge_keys() -> Weight {
|
||||
Weight::from_ref_time(38_003_000 as u64)
|
||||
// Minimum execution time: 48_872 nanoseconds.
|
||||
Weight::from_ref_time(49_666_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
@@ -75,7 +80,8 @@ impl WeightInfo for () {
|
||||
// Storage: Session NextKeys (r:1 w:1)
|
||||
// Storage: Session KeyOwner (r:4 w:4)
|
||||
fn set_keys() -> Weight {
|
||||
Weight::from_ref_time(48_484_000 as u64)
|
||||
// Minimum execution time: 59_046 nanoseconds.
|
||||
Weight::from_ref_time(59_934_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(6 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(5 as u64))
|
||||
}
|
||||
@@ -83,7 +89,8 @@ impl WeightInfo for () {
|
||||
// Storage: Session NextKeys (r:1 w:1)
|
||||
// Storage: Session KeyOwner (r:0 w:4)
|
||||
fn purge_keys() -> Weight {
|
||||
Weight::from_ref_time(38_003_000 as u64)
|
||||
// Minimum execution time: 48_872 nanoseconds.
|
||||
Weight::from_ref_time(49_666_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(5 as u64))
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,7 +18,8 @@
|
||||
//! Autogenerated weights for pallet_state_trie_migration
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-24, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,8 +33,10 @@
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/state-trie-migration/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -59,38 +62,46 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: StateTrieMigration SignedMigrationMaxLimits (r:1 w:0)
|
||||
// Storage: StateTrieMigration MigrationProcess (r:1 w:1)
|
||||
fn continue_migrate() -> Weight {
|
||||
Weight::from_ref_time(19_019_000 as u64)
|
||||
// Minimum execution time: 23_874 nanoseconds.
|
||||
Weight::from_ref_time(24_127_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: StateTrieMigration SignedMigrationMaxLimits (r:1 w:0)
|
||||
fn continue_migrate_wrong_witness() -> Weight {
|
||||
Weight::from_ref_time(1_874_000 as u64)
|
||||
// Minimum execution time: 6_119 nanoseconds.
|
||||
Weight::from_ref_time(6_325_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
fn migrate_custom_top_success() -> Weight {
|
||||
Weight::from_ref_time(16_381_000 as u64)
|
||||
// Minimum execution time: 20_365 nanoseconds.
|
||||
Weight::from_ref_time(20_790_000 as u64)
|
||||
}
|
||||
// Storage: unknown [0x666f6f] (r:1 w:1)
|
||||
fn migrate_custom_top_fail() -> Weight {
|
||||
Weight::from_ref_time(25_966_000 as u64)
|
||||
// Minimum execution time: 38_979 nanoseconds.
|
||||
Weight::from_ref_time(40_271_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
fn migrate_custom_child_success() -> Weight {
|
||||
Weight::from_ref_time(16_712_000 as u64)
|
||||
// Minimum execution time: 21_217 nanoseconds.
|
||||
Weight::from_ref_time(21_526_000 as u64)
|
||||
}
|
||||
// Storage: unknown [0x666f6f] (r:1 w:1)
|
||||
fn migrate_custom_child_fail() -> Weight {
|
||||
Weight::from_ref_time(29_885_000 as u64)
|
||||
// Minimum execution time: 43_853 nanoseconds.
|
||||
Weight::from_ref_time(44_693_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: unknown [0x6b6579] (r:1 w:1)
|
||||
/// The range of component `v` is `[1, 4194304]`.
|
||||
fn process_top_key(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(v as u64))
|
||||
// Minimum execution time: 5_575 nanoseconds.
|
||||
Weight::from_ref_time(5_719_000 as u64)
|
||||
// Standard Error: 3
|
||||
.saturating_add(Weight::from_ref_time(1_404 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -101,38 +112,46 @@ impl WeightInfo for () {
|
||||
// Storage: StateTrieMigration SignedMigrationMaxLimits (r:1 w:0)
|
||||
// Storage: StateTrieMigration MigrationProcess (r:1 w:1)
|
||||
fn continue_migrate() -> Weight {
|
||||
Weight::from_ref_time(19_019_000 as u64)
|
||||
// Minimum execution time: 23_874 nanoseconds.
|
||||
Weight::from_ref_time(24_127_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: StateTrieMigration SignedMigrationMaxLimits (r:1 w:0)
|
||||
fn continue_migrate_wrong_witness() -> Weight {
|
||||
Weight::from_ref_time(1_874_000 as u64)
|
||||
// Minimum execution time: 6_119 nanoseconds.
|
||||
Weight::from_ref_time(6_325_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
}
|
||||
fn migrate_custom_top_success() -> Weight {
|
||||
Weight::from_ref_time(16_381_000 as u64)
|
||||
// Minimum execution time: 20_365 nanoseconds.
|
||||
Weight::from_ref_time(20_790_000 as u64)
|
||||
}
|
||||
// Storage: unknown [0x666f6f] (r:1 w:1)
|
||||
fn migrate_custom_top_fail() -> Weight {
|
||||
Weight::from_ref_time(25_966_000 as u64)
|
||||
// Minimum execution time: 38_979 nanoseconds.
|
||||
Weight::from_ref_time(40_271_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
fn migrate_custom_child_success() -> Weight {
|
||||
Weight::from_ref_time(16_712_000 as u64)
|
||||
// Minimum execution time: 21_217 nanoseconds.
|
||||
Weight::from_ref_time(21_526_000 as u64)
|
||||
}
|
||||
// Storage: unknown [0x666f6f] (r:1 w:1)
|
||||
fn migrate_custom_child_fail() -> Weight {
|
||||
Weight::from_ref_time(29_885_000 as u64)
|
||||
// Minimum execution time: 43_853 nanoseconds.
|
||||
Weight::from_ref_time(44_693_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: unknown [0x6b6579] (r:1 w:1)
|
||||
/// The range of component `v` is `[1, 4194304]`.
|
||||
fn process_top_key(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(v as u64))
|
||||
// Minimum execution time: 5_575 nanoseconds.
|
||||
Weight::from_ref_time(5_719_000 as u64)
|
||||
// Standard Error: 3
|
||||
.saturating_add(Weight::from_ref_time(1_404 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -16,12 +16,13 @@
|
||||
// limitations under the License.
|
||||
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-24 (Y/M/D)
|
||||
//! DATE: 2022-11-07 (Y/M/D)
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//!
|
||||
//! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development`
|
||||
//! WARMUPS: `10`, REPEAT: `100`
|
||||
//! WEIGHT-PATH: `./frame/support/src/weights/`
|
||||
//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1`, WEIGHT-ADD: `0`
|
||||
//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1.0`, WEIGHT-ADD: `0`
|
||||
|
||||
// Executed Command:
|
||||
// ./target/production/substrate
|
||||
@@ -31,6 +32,7 @@
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --weight-path=./frame/support/src/weights/
|
||||
// --header=./HEADER-APACHE2
|
||||
// --warmup=10
|
||||
// --repeat=100
|
||||
|
||||
@@ -39,19 +41,19 @@ use sp_weights::{constants::WEIGHT_PER_NANOS, Weight};
|
||||
|
||||
parameter_types! {
|
||||
/// Time to execute an empty block.
|
||||
/// Calculated by multiplying the *Average* with `1` and adding `0`.
|
||||
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
|
||||
///
|
||||
/// Stats nanoseconds:
|
||||
/// Min, Max: 5_303_128, 5_507_784
|
||||
/// Average: 5_346_284
|
||||
/// Median: 5_328_139
|
||||
/// Std-Dev: 41749.5
|
||||
/// Min, Max: 351_000, 392_617
|
||||
/// Average: 358_523
|
||||
/// Median: 359_836
|
||||
/// Std-Dev: 6698.67
|
||||
///
|
||||
/// Percentiles nanoseconds:
|
||||
/// 99th: 5_489_273
|
||||
/// 95th: 5_433_314
|
||||
/// 75th: 5_354_812
|
||||
pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(5_346_284);
|
||||
/// 99th: 390_723
|
||||
/// 95th: 365_799
|
||||
/// 75th: 361_582
|
||||
pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(358_523);
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -16,12 +16,13 @@
|
||||
// limitations under the License.
|
||||
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-24 (Y/M/D)
|
||||
//! DATE: 2022-11-07 (Y/M/D)
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//!
|
||||
//! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development`
|
||||
//! WARMUPS: `10`, REPEAT: `100`
|
||||
//! WEIGHT-PATH: `./frame/support/src/weights/`
|
||||
//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1`, WEIGHT-ADD: `0`
|
||||
//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1.0`, WEIGHT-ADD: `0`
|
||||
|
||||
// Executed Command:
|
||||
// ./target/production/substrate
|
||||
@@ -31,6 +32,7 @@
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --weight-path=./frame/support/src/weights/
|
||||
// --header=./HEADER-APACHE2
|
||||
// --warmup=10
|
||||
// --repeat=100
|
||||
|
||||
@@ -39,19 +41,19 @@ use sp_weights::{constants::WEIGHT_PER_NANOS, Weight};
|
||||
|
||||
parameter_types! {
|
||||
/// Time to execute a NO-OP extrinsic, for example `System::remark`.
|
||||
/// Calculated by multiplying the *Average* with `1` and adding `0`.
|
||||
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
|
||||
///
|
||||
/// Stats nanoseconds:
|
||||
/// Min, Max: 86_060, 86_999
|
||||
/// Average: 86_298
|
||||
/// Median: 86_248
|
||||
/// Std-Dev: 207.19
|
||||
/// Min, Max: 98_722, 101_420
|
||||
/// Average: 98_974
|
||||
/// Median: 98_951
|
||||
/// Std-Dev: 271.62
|
||||
///
|
||||
/// Percentiles nanoseconds:
|
||||
/// 99th: 86_924
|
||||
/// 95th: 86_828
|
||||
/// 75th: 86_347
|
||||
pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(86_298);
|
||||
/// 99th: 99_202
|
||||
/// 95th: 99_163
|
||||
/// 75th: 99_030
|
||||
pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(98_974);
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,12 +18,12 @@
|
||||
//! Autogenerated weights for frame_system
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-06-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `ci3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/production/substrate
|
||||
// ./target/production/substrate
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=dev
|
||||
@@ -35,6 +35,7 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/system/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
@@ -58,44 +59,52 @@ pub trait WeightInfo {
|
||||
pub struct SubstrateWeight<T>(PhantomData<T>);
|
||||
impl<T: crate::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark(_b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(1_000_000 as u64)
|
||||
fn remark(b: u32, ) -> Weight {
|
||||
// Minimum execution time: 3_951 nanoseconds.
|
||||
Weight::from_ref_time(1_307_232 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(363 as u64).saturating_mul(b as u64))
|
||||
}
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark_with_event(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Minimum execution time: 14_880 nanoseconds.
|
||||
Weight::from_ref_time(15_173_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(Weight::from_ref_time(1_424 as u64).saturating_mul(b as u64))
|
||||
}
|
||||
// Storage: System Digest (r:1 w:1)
|
||||
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
|
||||
fn set_heap_pages() -> Weight {
|
||||
Weight::from_ref_time(5_367_000 as u64)
|
||||
// Minimum execution time: 9_819 nanoseconds.
|
||||
Weight::from_ref_time(10_513_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[1, 1000]`.
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn set_storage(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(603_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 4_038 nanoseconds.
|
||||
Weight::from_ref_time(4_098_000 as u64)
|
||||
// Standard Error: 710
|
||||
.saturating_add(Weight::from_ref_time(620_813 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[1, 1000]`.
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn kill_storage(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(513_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 3_972 nanoseconds.
|
||||
Weight::from_ref_time(4_082_000 as u64)
|
||||
// Standard Error: 884
|
||||
.saturating_add(Weight::from_ref_time(536_923 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `p` is `[1, 1000]`.
|
||||
/// The range of component `p` is `[0, 1000]`.
|
||||
fn kill_prefix(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(1_026_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 5_703 nanoseconds.
|
||||
Weight::from_ref_time(5_763_000 as u64)
|
||||
// Standard Error: 1_248
|
||||
.saturating_add(Weight::from_ref_time(1_126_062 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||
}
|
||||
}
|
||||
@@ -103,44 +112,52 @@ impl<T: crate::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// For backwards compatibility and tests
|
||||
impl WeightInfo for () {
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark(_b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(1_000_000 as u64)
|
||||
fn remark(b: u32, ) -> Weight {
|
||||
// Minimum execution time: 3_951 nanoseconds.
|
||||
Weight::from_ref_time(1_307_232 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(363 as u64).saturating_mul(b as u64))
|
||||
}
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark_with_event(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Minimum execution time: 14_880 nanoseconds.
|
||||
Weight::from_ref_time(15_173_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(Weight::from_ref_time(1_424 as u64).saturating_mul(b as u64))
|
||||
}
|
||||
// Storage: System Digest (r:1 w:1)
|
||||
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
|
||||
fn set_heap_pages() -> Weight {
|
||||
Weight::from_ref_time(5_367_000 as u64)
|
||||
// Minimum execution time: 9_819 nanoseconds.
|
||||
Weight::from_ref_time(10_513_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[1, 1000]`.
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn set_storage(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(603_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 4_038 nanoseconds.
|
||||
Weight::from_ref_time(4_098_000 as u64)
|
||||
// Standard Error: 710
|
||||
.saturating_add(Weight::from_ref_time(620_813 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[1, 1000]`.
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn kill_storage(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(513_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 3_972 nanoseconds.
|
||||
Weight::from_ref_time(4_082_000 as u64)
|
||||
// Standard Error: 884
|
||||
.saturating_add(Weight::from_ref_time(536_923 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `p` is `[1, 1000]`.
|
||||
/// The range of component `p` is `[0, 1000]`.
|
||||
fn kill_prefix(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(1_026_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 5_703 nanoseconds.
|
||||
Weight::from_ref_time(5_763_000 as u64)
|
||||
// Standard Error: 1_248
|
||||
.saturating_add(Weight::from_ref_time(1_126_062 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,7 +18,8 @@
|
||||
//! Autogenerated weights for pallet_timestamp
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-24, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,8 +33,10 @@
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/timestamp/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -54,12 +57,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Timestamp Now (r:1 w:1)
|
||||
// Storage: Babe CurrentSlot (r:1 w:0)
|
||||
fn set() -> Weight {
|
||||
Weight::from_ref_time(8_080_000 as u64)
|
||||
// Minimum execution time: 11_331 nanoseconds.
|
||||
Weight::from_ref_time(11_584_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
fn on_finalize() -> Weight {
|
||||
Weight::from_ref_time(2_681_000 as u64)
|
||||
// Minimum execution time: 5_280 nanoseconds.
|
||||
Weight::from_ref_time(5_412_000 as u64)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,11 +73,13 @@ impl WeightInfo for () {
|
||||
// Storage: Timestamp Now (r:1 w:1)
|
||||
// Storage: Babe CurrentSlot (r:1 w:0)
|
||||
fn set() -> Weight {
|
||||
Weight::from_ref_time(8_080_000 as u64)
|
||||
// Minimum execution time: 11_331 nanoseconds.
|
||||
Weight::from_ref_time(11_584_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
fn on_finalize() -> Weight {
|
||||
Weight::from_ref_time(2_681_000 as u64)
|
||||
// Minimum execution time: 5_280 nanoseconds.
|
||||
Weight::from_ref_time(5_412_000 as u64)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,7 +18,8 @@
|
||||
//! Autogenerated weights for pallet_tips
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-24, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,8 +33,10 @@
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/tips/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -57,38 +60,46 @@ pub struct SubstrateWeight<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Tips Reasons (r:1 w:1)
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
/// The range of component `r` is `[0, 300]`.
|
||||
fn report_awesome(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(30_669_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(4_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 35_458 nanoseconds.
|
||||
Weight::from_ref_time(36_920_009 as u64)
|
||||
// Standard Error: 252
|
||||
.saturating_add(Weight::from_ref_time(1_835 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
// Storage: Tips Reasons (r:0 w:1)
|
||||
fn retract_tip() -> Weight {
|
||||
Weight::from_ref_time(28_768_000 as u64)
|
||||
// Minimum execution time: 34_322 nanoseconds.
|
||||
Weight::from_ref_time(35_292_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Elections Members (r:1 w:0)
|
||||
// Storage: Tips Reasons (r:1 w:1)
|
||||
// Storage: Tips Tips (r:0 w:1)
|
||||
/// The range of component `r` is `[0, 300]`.
|
||||
/// The range of component `t` is `[1, 13]`.
|
||||
fn tip_new(r: u32, t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_385_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(166_000 as u64).saturating_mul(t as u64))
|
||||
// Minimum execution time: 26_691 nanoseconds.
|
||||
Weight::from_ref_time(27_313_497 as u64)
|
||||
// Standard Error: 141
|
||||
.saturating_add(Weight::from_ref_time(818 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 3_352
|
||||
.saturating_add(Weight::from_ref_time(108_557 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Elections Members (r:1 w:0)
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
/// The range of component `t` is `[1, 13]`.
|
||||
fn tip(t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(12_287_000 as u64)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(363_000 as u64).saturating_mul(t as u64))
|
||||
// Minimum execution time: 17_464 nanoseconds.
|
||||
Weight::from_ref_time(17_621_090 as u64)
|
||||
// Standard Error: 3_702
|
||||
.saturating_add(Weight::from_ref_time(269_919 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -96,19 +107,23 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Elections Members (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Tips Reasons (r:0 w:1)
|
||||
/// The range of component `t` is `[1, 13]`.
|
||||
fn close_tip(t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(45_656_000 as u64)
|
||||
// Standard Error: 14_000
|
||||
.saturating_add(Weight::from_ref_time(276_000 as u64).saturating_mul(t as u64))
|
||||
// Minimum execution time: 52_221 nanoseconds.
|
||||
Weight::from_ref_time(53_168_303 as u64)
|
||||
// Standard Error: 6_591
|
||||
.saturating_add(Weight::from_ref_time(243_706 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
// Storage: Tips Reasons (r:0 w:1)
|
||||
/// The range of component `t` is `[1, 13]`.
|
||||
fn slash_tip(t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_525_000 as u64)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(37_000 as u64).saturating_mul(t as u64))
|
||||
// Minimum execution time: 22_911 nanoseconds.
|
||||
Weight::from_ref_time(23_750_488 as u64)
|
||||
// Standard Error: 2_561
|
||||
.saturating_add(Weight::from_ref_time(12_282 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -118,38 +133,46 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
impl WeightInfo for () {
|
||||
// Storage: Tips Reasons (r:1 w:1)
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
/// The range of component `r` is `[0, 300]`.
|
||||
fn report_awesome(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(30_669_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(4_000 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 35_458 nanoseconds.
|
||||
Weight::from_ref_time(36_920_009 as u64)
|
||||
// Standard Error: 252
|
||||
.saturating_add(Weight::from_ref_time(1_835 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
// Storage: Tips Reasons (r:0 w:1)
|
||||
fn retract_tip() -> Weight {
|
||||
Weight::from_ref_time(28_768_000 as u64)
|
||||
// Minimum execution time: 34_322 nanoseconds.
|
||||
Weight::from_ref_time(35_292_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Elections Members (r:1 w:0)
|
||||
// Storage: Tips Reasons (r:1 w:1)
|
||||
// Storage: Tips Tips (r:0 w:1)
|
||||
/// The range of component `r` is `[0, 300]`.
|
||||
/// The range of component `t` is `[1, 13]`.
|
||||
fn tip_new(r: u32, t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_385_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(166_000 as u64).saturating_mul(t as u64))
|
||||
// Minimum execution time: 26_691 nanoseconds.
|
||||
Weight::from_ref_time(27_313_497 as u64)
|
||||
// Standard Error: 141
|
||||
.saturating_add(Weight::from_ref_time(818 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 3_352
|
||||
.saturating_add(Weight::from_ref_time(108_557 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Elections Members (r:1 w:0)
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
/// The range of component `t` is `[1, 13]`.
|
||||
fn tip(t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(12_287_000 as u64)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add(Weight::from_ref_time(363_000 as u64).saturating_mul(t as u64))
|
||||
// Minimum execution time: 17_464 nanoseconds.
|
||||
Weight::from_ref_time(17_621_090 as u64)
|
||||
// Standard Error: 3_702
|
||||
.saturating_add(Weight::from_ref_time(269_919 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -157,19 +180,23 @@ impl WeightInfo for () {
|
||||
// Storage: Elections Members (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Tips Reasons (r:0 w:1)
|
||||
/// The range of component `t` is `[1, 13]`.
|
||||
fn close_tip(t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(45_656_000 as u64)
|
||||
// Standard Error: 14_000
|
||||
.saturating_add(Weight::from_ref_time(276_000 as u64).saturating_mul(t as u64))
|
||||
// Minimum execution time: 52_221 nanoseconds.
|
||||
Weight::from_ref_time(53_168_303 as u64)
|
||||
// Standard Error: 6_591
|
||||
.saturating_add(Weight::from_ref_time(243_706 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Tips Tips (r:1 w:1)
|
||||
// Storage: Tips Reasons (r:0 w:1)
|
||||
/// The range of component `t` is `[1, 13]`.
|
||||
fn slash_tip(t: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_525_000 as u64)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(37_000 as u64).saturating_mul(t as u64))
|
||||
// Minimum execution time: 22_911 nanoseconds.
|
||||
Weight::from_ref_time(23_750_488 as u64)
|
||||
// Standard Error: 2_561
|
||||
.saturating_add(Weight::from_ref_time(12_282 as u64).saturating_mul(t as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,7 +18,8 @@
|
||||
//! Autogenerated weights for pallet_transaction_storage
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-24, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,8 +33,10 @@
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/transaction-storage/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -52,28 +55,28 @@ pub trait WeightInfo {
|
||||
/// Weights for pallet_transaction_storage using the Substrate node and recommended hardware.
|
||||
pub struct SubstrateWeight<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: TransactionStorage MaxTransactionSize (r:1 w:0)
|
||||
// Storage: TransactionStorage ByteFee (r:1 w:0)
|
||||
// Storage: TransactionStorage EntryFee (r:1 w:0)
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
// Storage: TransactionStorage BlockTransactions (r:1 w:1)
|
||||
// Storage: TransactionStorage MaxBlockTransactions (r:1 w:0)
|
||||
/// The range of component `l` is `[1, 8388608]`.
|
||||
fn store(l: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(5_000 as u64).saturating_mul(l as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
// Minimum execution time: 46_730 nanoseconds.
|
||||
Weight::from_ref_time(46_922_000 as u64)
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(5_601 as u64).saturating_mul(l as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: TransactionStorage Transactions (r:1 w:0)
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
// Storage: TransactionStorage ByteFee (r:1 w:0)
|
||||
// Storage: TransactionStorage EntryFee (r:1 w:0)
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
// Storage: TransactionStorage BlockTransactions (r:1 w:1)
|
||||
// Storage: TransactionStorage MaxBlockTransactions (r:1 w:0)
|
||||
fn renew() -> Weight {
|
||||
Weight::from_ref_time(50_978_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
// Minimum execution time: 56_802 nanoseconds.
|
||||
Weight::from_ref_time(58_670_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: TransactionStorage ProofChecked (r:1 w:1)
|
||||
@@ -82,7 +85,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: System ParentHash (r:1 w:0)
|
||||
// Storage: TransactionStorage Transactions (r:1 w:0)
|
||||
fn check_proof_max() -> Weight {
|
||||
Weight::from_ref_time(106_990_000 as u64)
|
||||
// Minimum execution time: 74_016 nanoseconds.
|
||||
Weight::from_ref_time(94_111_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -90,28 +94,28 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
|
||||
// For backwards compatibility and tests
|
||||
impl WeightInfo for () {
|
||||
// Storage: TransactionStorage MaxTransactionSize (r:1 w:0)
|
||||
// Storage: TransactionStorage ByteFee (r:1 w:0)
|
||||
// Storage: TransactionStorage EntryFee (r:1 w:0)
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
// Storage: TransactionStorage BlockTransactions (r:1 w:1)
|
||||
// Storage: TransactionStorage MaxBlockTransactions (r:1 w:0)
|
||||
/// The range of component `l` is `[1, 8388608]`.
|
||||
fn store(l: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(5_000 as u64).saturating_mul(l as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(6 as u64))
|
||||
// Minimum execution time: 46_730 nanoseconds.
|
||||
Weight::from_ref_time(46_922_000 as u64)
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(5_601 as u64).saturating_mul(l as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: TransactionStorage Transactions (r:1 w:0)
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
// Storage: TransactionStorage ByteFee (r:1 w:0)
|
||||
// Storage: TransactionStorage EntryFee (r:1 w:0)
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
// Storage: TransactionStorage BlockTransactions (r:1 w:1)
|
||||
// Storage: TransactionStorage MaxBlockTransactions (r:1 w:0)
|
||||
fn renew() -> Weight {
|
||||
Weight::from_ref_time(50_978_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(6 as u64))
|
||||
// Minimum execution time: 56_802 nanoseconds.
|
||||
Weight::from_ref_time(58_670_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: TransactionStorage ProofChecked (r:1 w:1)
|
||||
@@ -120,7 +124,8 @@ impl WeightInfo for () {
|
||||
// Storage: System ParentHash (r:1 w:0)
|
||||
// Storage: TransactionStorage Transactions (r:1 w:0)
|
||||
fn check_proof_max() -> Weight {
|
||||
Weight::from_ref_time(106_990_000 as u64)
|
||||
// Minimum execution time: 74_016 nanoseconds.
|
||||
Weight::from_ref_time(94_111_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,7 +18,8 @@
|
||||
//! Autogenerated weights for pallet_treasury
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-24, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,8 +33,10 @@
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/treasury/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -55,39 +58,41 @@ pub trait WeightInfo {
|
||||
/// Weights for pallet_treasury using the Substrate node and recommended hardware.
|
||||
pub struct SubstrateWeight<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Treasury ProposalCount (r:1 w:1)
|
||||
// Storage: Treasury Proposals (r:0 w:1)
|
||||
fn spend() -> Weight {
|
||||
Weight::from_ref_time(22_063_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
// Minimum execution time: 137 nanoseconds.
|
||||
Weight::from_ref_time(153_000 as u64)
|
||||
}
|
||||
// Storage: Treasury ProposalCount (r:1 w:1)
|
||||
// Storage: Treasury Proposals (r:0 w:1)
|
||||
fn propose_spend() -> Weight {
|
||||
Weight::from_ref_time(26_473_000 as u64)
|
||||
// Minimum execution time: 31_437 nanoseconds.
|
||||
Weight::from_ref_time(32_241_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Treasury Proposals (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn reject_proposal() -> Weight {
|
||||
Weight::from_ref_time(29_955_000 as u64)
|
||||
// Minimum execution time: 38_351 nanoseconds.
|
||||
Weight::from_ref_time(38_828_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Treasury Proposals (r:1 w:0)
|
||||
// Storage: Treasury Approvals (r:1 w:1)
|
||||
/// The range of component `p` is `[0, 99]`.
|
||||
fn approve_proposal(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(10_786_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(110_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 11_937 nanoseconds.
|
||||
Weight::from_ref_time(15_541_763 as u64)
|
||||
// Standard Error: 1_036
|
||||
.saturating_add(Weight::from_ref_time(128_326 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Treasury Approvals (r:1 w:1)
|
||||
fn remove_approval() -> Weight {
|
||||
Weight::from_ref_time(6_647_000 as u64)
|
||||
// Minimum execution time: 9_611 nanoseconds.
|
||||
Weight::from_ref_time(10_012_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -95,10 +100,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
// Storage: Treasury Proposals (r:2 w:2)
|
||||
// Storage: System Account (r:4 w:4)
|
||||
/// The range of component `p` is `[0, 100]`.
|
||||
fn on_initialize_proposals(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(25_805_000 as u64)
|
||||
// Standard Error: 18_000
|
||||
.saturating_add(Weight::from_ref_time(28_473_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 43_016 nanoseconds.
|
||||
Weight::from_ref_time(56_538_751 as u64)
|
||||
// Standard Error: 14_890
|
||||
.saturating_add(Weight::from_ref_time(26_789_120 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(p as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
@@ -108,39 +115,41 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
|
||||
// For backwards compatibility and tests
|
||||
impl WeightInfo for () {
|
||||
// Storage: Treasury ProposalCount (r:1 w:1)
|
||||
// Storage: Treasury Proposals (r:0 w:1)
|
||||
fn spend() -> Weight {
|
||||
Weight::from_ref_time(22_063_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
// Minimum execution time: 137 nanoseconds.
|
||||
Weight::from_ref_time(153_000 as u64)
|
||||
}
|
||||
// Storage: Treasury ProposalCount (r:1 w:1)
|
||||
// Storage: Treasury Proposals (r:0 w:1)
|
||||
fn propose_spend() -> Weight {
|
||||
Weight::from_ref_time(26_473_000 as u64)
|
||||
// Minimum execution time: 31_437 nanoseconds.
|
||||
Weight::from_ref_time(32_241_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Treasury Proposals (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn reject_proposal() -> Weight {
|
||||
Weight::from_ref_time(29_955_000 as u64)
|
||||
// Minimum execution time: 38_351 nanoseconds.
|
||||
Weight::from_ref_time(38_828_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Treasury Proposals (r:1 w:0)
|
||||
// Storage: Treasury Approvals (r:1 w:1)
|
||||
/// The range of component `p` is `[0, 99]`.
|
||||
fn approve_proposal(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(10_786_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(110_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 11_937 nanoseconds.
|
||||
Weight::from_ref_time(15_541_763 as u64)
|
||||
// Standard Error: 1_036
|
||||
.saturating_add(Weight::from_ref_time(128_326 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Treasury Approvals (r:1 w:1)
|
||||
fn remove_approval() -> Weight {
|
||||
Weight::from_ref_time(6_647_000 as u64)
|
||||
// Minimum execution time: 9_611 nanoseconds.
|
||||
Weight::from_ref_time(10_012_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -148,10 +157,12 @@ impl WeightInfo for () {
|
||||
// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
// Storage: Treasury Proposals (r:2 w:2)
|
||||
// Storage: System Account (r:4 w:4)
|
||||
/// The range of component `p` is `[0, 100]`.
|
||||
fn on_initialize_proposals(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(25_805_000 as u64)
|
||||
// Standard Error: 18_000
|
||||
.saturating_add(Weight::from_ref_time(28_473_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 43_016 nanoseconds.
|
||||
Weight::from_ref_time(56_538_751 as u64)
|
||||
// Standard Error: 14_890
|
||||
.saturating_add(Weight::from_ref_time(26_789_120 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((3 as u64).saturating_mul(p as u64)))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,24 +18,24 @@
|
||||
//! Autogenerated weights for pallet_uniques
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// /home/benchbot/cargo_target_dir/production/substrate
|
||||
// ./target/production/substrate
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_uniques
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/substrate/.git/.artifacts/bench.json
|
||||
// --pallet=pallet_uniques
|
||||
// --chain=dev
|
||||
// --output=./frame/uniques/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
@@ -81,16 +81,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||
fn create() -> Weight {
|
||||
// Minimum execution time: 32_901 nanoseconds.
|
||||
Weight::from_ref_time(33_628_000 as u64)
|
||||
// Minimum execution time: 35_358 nanoseconds.
|
||||
Weight::from_ref_time(35_935_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||
fn force_create() -> Weight {
|
||||
// Minimum execution time: 21_633 nanoseconds.
|
||||
Weight::from_ref_time(22_380_000 as u64)
|
||||
// Minimum execution time: 22_767 nanoseconds.
|
||||
Weight::from_ref_time(23_235_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -106,14 +106,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `m` is `[0, 1000]`.
|
||||
/// The range of component `a` is `[0, 1000]`.
|
||||
fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
|
||||
// Minimum execution time: 2_429_508 nanoseconds.
|
||||
Weight::from_ref_time(2_446_263_000 as u64)
|
||||
// Standard Error: 28_236
|
||||
.saturating_add(Weight::from_ref_time(8_477_090 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 28_236
|
||||
.saturating_add(Weight::from_ref_time(314_268 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 28_236
|
||||
.saturating_add(Weight::from_ref_time(249_624 as u64).saturating_mul(a as u64))
|
||||
// Minimum execution time: 2_453_194 nanoseconds.
|
||||
Weight::from_ref_time(2_469_109_000 as u64)
|
||||
// Standard Error: 27_900
|
||||
.saturating_add(Weight::from_ref_time(8_974_176 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 27_900
|
||||
.saturating_add(Weight::from_ref_time(344_842 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 27_900
|
||||
.saturating_add(Weight::from_ref_time(185_438 as u64).saturating_mul(a as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
@@ -126,8 +126,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Uniques CollectionMaxSupply (r:1 w:0)
|
||||
// Storage: Uniques Account (r:0 w:1)
|
||||
fn mint() -> Weight {
|
||||
// Minimum execution time: 41_938 nanoseconds.
|
||||
Weight::from_ref_time(42_814_000 as u64)
|
||||
// Minimum execution time: 45_115 nanoseconds.
|
||||
Weight::from_ref_time(45_746_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -136,8 +136,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Uniques Account (r:0 w:1)
|
||||
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
||||
fn burn() -> Weight {
|
||||
// Minimum execution time: 43_593 nanoseconds.
|
||||
Weight::from_ref_time(44_420_000 as u64)
|
||||
// Minimum execution time: 46_447 nanoseconds.
|
||||
Weight::from_ref_time(46_994_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -146,8 +146,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Uniques Account (r:0 w:2)
|
||||
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
||||
fn transfer() -> Weight {
|
||||
// Minimum execution time: 34_037 nanoseconds.
|
||||
Weight::from_ref_time(34_848_000 as u64)
|
||||
// Minimum execution time: 35_953 nanoseconds.
|
||||
Weight::from_ref_time(36_375_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -155,10 +155,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Uniques Asset (r:102 w:102)
|
||||
/// The range of component `i` is `[0, 5000]`.
|
||||
fn redeposit(i: u32, ) -> Weight {
|
||||
// Minimum execution time: 23_295 nanoseconds.
|
||||
Weight::from_ref_time(23_482_000 as u64)
|
||||
// Standard Error: 9_490
|
||||
.saturating_add(Weight::from_ref_time(10_899_320 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 24_238 nanoseconds.
|
||||
Weight::from_ref_time(24_788_000 as u64)
|
||||
// Standard Error: 9_232
|
||||
.saturating_add(Weight::from_ref_time(11_322_011 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(i as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
@@ -167,30 +167,30 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Uniques Asset (r:1 w:1)
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
fn freeze() -> Weight {
|
||||
// Minimum execution time: 27_005 nanoseconds.
|
||||
Weight::from_ref_time(27_344_000 as u64)
|
||||
// Minimum execution time: 28_595 nanoseconds.
|
||||
Weight::from_ref_time(29_280_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Asset (r:1 w:1)
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
fn thaw() -> Weight {
|
||||
// Minimum execution time: 26_815 nanoseconds.
|
||||
Weight::from_ref_time(27_400_000 as u64)
|
||||
// Minimum execution time: 28_581 nanoseconds.
|
||||
Weight::from_ref_time(29_038_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
fn freeze_collection() -> Weight {
|
||||
// Minimum execution time: 21_988 nanoseconds.
|
||||
Weight::from_ref_time(22_596_000 as u64)
|
||||
// Minimum execution time: 24_298 nanoseconds.
|
||||
Weight::from_ref_time(24_742_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
fn thaw_collection() -> Weight {
|
||||
// Minimum execution time: 21_886 nanoseconds.
|
||||
Weight::from_ref_time(22_617_000 as u64)
|
||||
// Minimum execution time: 24_004 nanoseconds.
|
||||
Weight::from_ref_time(24_536_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -198,23 +198,23 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques ClassAccount (r:0 w:2)
|
||||
fn transfer_ownership() -> Weight {
|
||||
// Minimum execution time: 30_241 nanoseconds.
|
||||
Weight::from_ref_time(30_677_000 as u64)
|
||||
// Minimum execution time: 32_599 nanoseconds.
|
||||
Weight::from_ref_time(33_201_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
fn set_team() -> Weight {
|
||||
// Minimum execution time: 23_011 nanoseconds.
|
||||
Weight::from_ref_time(23_796_000 as u64)
|
||||
// Minimum execution time: 25_137 nanoseconds.
|
||||
Weight::from_ref_time(25_877_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||
fn force_item_status() -> Weight {
|
||||
// Minimum execution time: 25_739 nanoseconds.
|
||||
Weight::from_ref_time(26_572_000 as u64)
|
||||
// Minimum execution time: 27_736 nanoseconds.
|
||||
Weight::from_ref_time(28_279_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -222,8 +222,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
||||
// Storage: Uniques Attribute (r:1 w:1)
|
||||
fn set_attribute() -> Weight {
|
||||
// Minimum execution time: 48_486 nanoseconds.
|
||||
Weight::from_ref_time(49_029_000 as u64)
|
||||
// Minimum execution time: 51_195 nanoseconds.
|
||||
Weight::from_ref_time(51_674_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -231,79 +231,79 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
||||
// Storage: Uniques Attribute (r:1 w:1)
|
||||
fn clear_attribute() -> Weight {
|
||||
// Minimum execution time: 47_408 nanoseconds.
|
||||
Weight::from_ref_time(48_753_000 as u64)
|
||||
// Minimum execution time: 50_159 nanoseconds.
|
||||
Weight::from_ref_time(51_412_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
||||
fn set_metadata() -> Weight {
|
||||
// Minimum execution time: 40_085 nanoseconds.
|
||||
Weight::from_ref_time(40_625_000 as u64)
|
||||
// Minimum execution time: 42_608 nanoseconds.
|
||||
Weight::from_ref_time(42_880_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
||||
fn clear_metadata() -> Weight {
|
||||
// Minimum execution time: 40_546 nanoseconds.
|
||||
Weight::from_ref_time(41_113_000 as u64)
|
||||
// Minimum execution time: 43_239 nanoseconds.
|
||||
Weight::from_ref_time(43_752_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
||||
fn set_collection_metadata() -> Weight {
|
||||
// Minimum execution time: 39_902 nanoseconds.
|
||||
Weight::from_ref_time(40_599_000 as u64)
|
||||
// Minimum execution time: 41_224 nanoseconds.
|
||||
Weight::from_ref_time(41_974_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
||||
fn clear_collection_metadata() -> Weight {
|
||||
// Minimum execution time: 37_597 nanoseconds.
|
||||
Weight::from_ref_time(37_964_000 as u64)
|
||||
// Minimum execution time: 40_836 nanoseconds.
|
||||
Weight::from_ref_time(41_864_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
// Storage: Uniques Asset (r:1 w:1)
|
||||
fn approve_transfer() -> Weight {
|
||||
// Minimum execution time: 28_719 nanoseconds.
|
||||
Weight::from_ref_time(29_213_000 as u64)
|
||||
// Minimum execution time: 29_558 nanoseconds.
|
||||
Weight::from_ref_time(29_948_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
// Storage: Uniques Asset (r:1 w:1)
|
||||
fn cancel_approval() -> Weight {
|
||||
// Minimum execution time: 27_608 nanoseconds.
|
||||
Weight::from_ref_time(28_096_000 as u64)
|
||||
// Minimum execution time: 29_694 nanoseconds.
|
||||
Weight::from_ref_time(30_156_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
|
||||
fn set_accept_ownership() -> Weight {
|
||||
// Minimum execution time: 25_568 nanoseconds.
|
||||
Weight::from_ref_time(26_098_000 as u64)
|
||||
// Minimum execution time: 27_819 nanoseconds.
|
||||
Weight::from_ref_time(28_245_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques CollectionMaxSupply (r:1 w:1)
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
fn set_collection_max_supply() -> Weight {
|
||||
// Minimum execution time: 24_521 nanoseconds.
|
||||
Weight::from_ref_time(25_062_000 as u64)
|
||||
// Minimum execution time: 26_317 nanoseconds.
|
||||
Weight::from_ref_time(26_893_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Asset (r:1 w:0)
|
||||
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
||||
fn set_price() -> Weight {
|
||||
// Minimum execution time: 25_337 nanoseconds.
|
||||
Weight::from_ref_time(25_902_000 as u64)
|
||||
// Minimum execution time: 26_546 nanoseconds.
|
||||
Weight::from_ref_time(27_142_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -312,8 +312,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
// Storage: Uniques Account (r:0 w:2)
|
||||
fn buy_item() -> Weight {
|
||||
// Minimum execution time: 46_736 nanoseconds.
|
||||
Weight::from_ref_time(47_264_000 as u64)
|
||||
// Minimum execution time: 49_238 nanoseconds.
|
||||
Weight::from_ref_time(50_444_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -324,16 +324,16 @@ impl WeightInfo for () {
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||
fn create() -> Weight {
|
||||
// Minimum execution time: 32_901 nanoseconds.
|
||||
Weight::from_ref_time(33_628_000 as u64)
|
||||
// Minimum execution time: 35_358 nanoseconds.
|
||||
Weight::from_ref_time(35_935_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||
fn force_create() -> Weight {
|
||||
// Minimum execution time: 21_633 nanoseconds.
|
||||
Weight::from_ref_time(22_380_000 as u64)
|
||||
// Minimum execution time: 22_767 nanoseconds.
|
||||
Weight::from_ref_time(23_235_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -349,14 +349,14 @@ impl WeightInfo for () {
|
||||
/// The range of component `m` is `[0, 1000]`.
|
||||
/// The range of component `a` is `[0, 1000]`.
|
||||
fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
|
||||
// Minimum execution time: 2_429_508 nanoseconds.
|
||||
Weight::from_ref_time(2_446_263_000 as u64)
|
||||
// Standard Error: 28_236
|
||||
.saturating_add(Weight::from_ref_time(8_477_090 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 28_236
|
||||
.saturating_add(Weight::from_ref_time(314_268 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 28_236
|
||||
.saturating_add(Weight::from_ref_time(249_624 as u64).saturating_mul(a as u64))
|
||||
// Minimum execution time: 2_453_194 nanoseconds.
|
||||
Weight::from_ref_time(2_469_109_000 as u64)
|
||||
// Standard Error: 27_900
|
||||
.saturating_add(Weight::from_ref_time(8_974_176 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 27_900
|
||||
.saturating_add(Weight::from_ref_time(344_842 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 27_900
|
||||
.saturating_add(Weight::from_ref_time(185_438 as u64).saturating_mul(a as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
@@ -369,8 +369,8 @@ impl WeightInfo for () {
|
||||
// Storage: Uniques CollectionMaxSupply (r:1 w:0)
|
||||
// Storage: Uniques Account (r:0 w:1)
|
||||
fn mint() -> Weight {
|
||||
// Minimum execution time: 41_938 nanoseconds.
|
||||
Weight::from_ref_time(42_814_000 as u64)
|
||||
// Minimum execution time: 45_115 nanoseconds.
|
||||
Weight::from_ref_time(45_746_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -379,8 +379,8 @@ impl WeightInfo for () {
|
||||
// Storage: Uniques Account (r:0 w:1)
|
||||
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
||||
fn burn() -> Weight {
|
||||
// Minimum execution time: 43_593 nanoseconds.
|
||||
Weight::from_ref_time(44_420_000 as u64)
|
||||
// Minimum execution time: 46_447 nanoseconds.
|
||||
Weight::from_ref_time(46_994_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -389,8 +389,8 @@ impl WeightInfo for () {
|
||||
// Storage: Uniques Account (r:0 w:2)
|
||||
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
||||
fn transfer() -> Weight {
|
||||
// Minimum execution time: 34_037 nanoseconds.
|
||||
Weight::from_ref_time(34_848_000 as u64)
|
||||
// Minimum execution time: 35_953 nanoseconds.
|
||||
Weight::from_ref_time(36_375_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -398,10 +398,10 @@ impl WeightInfo for () {
|
||||
// Storage: Uniques Asset (r:102 w:102)
|
||||
/// The range of component `i` is `[0, 5000]`.
|
||||
fn redeposit(i: u32, ) -> Weight {
|
||||
// Minimum execution time: 23_295 nanoseconds.
|
||||
Weight::from_ref_time(23_482_000 as u64)
|
||||
// Standard Error: 9_490
|
||||
.saturating_add(Weight::from_ref_time(10_899_320 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 24_238 nanoseconds.
|
||||
Weight::from_ref_time(24_788_000 as u64)
|
||||
// Standard Error: 9_232
|
||||
.saturating_add(Weight::from_ref_time(11_322_011 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(i as u64)))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
@@ -410,30 +410,30 @@ impl WeightInfo for () {
|
||||
// Storage: Uniques Asset (r:1 w:1)
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
fn freeze() -> Weight {
|
||||
// Minimum execution time: 27_005 nanoseconds.
|
||||
Weight::from_ref_time(27_344_000 as u64)
|
||||
// Minimum execution time: 28_595 nanoseconds.
|
||||
Weight::from_ref_time(29_280_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Asset (r:1 w:1)
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
fn thaw() -> Weight {
|
||||
// Minimum execution time: 26_815 nanoseconds.
|
||||
Weight::from_ref_time(27_400_000 as u64)
|
||||
// Minimum execution time: 28_581 nanoseconds.
|
||||
Weight::from_ref_time(29_038_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
fn freeze_collection() -> Weight {
|
||||
// Minimum execution time: 21_988 nanoseconds.
|
||||
Weight::from_ref_time(22_596_000 as u64)
|
||||
// Minimum execution time: 24_298 nanoseconds.
|
||||
Weight::from_ref_time(24_742_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
fn thaw_collection() -> Weight {
|
||||
// Minimum execution time: 21_886 nanoseconds.
|
||||
Weight::from_ref_time(22_617_000 as u64)
|
||||
// Minimum execution time: 24_004 nanoseconds.
|
||||
Weight::from_ref_time(24_536_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -441,23 +441,23 @@ impl WeightInfo for () {
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques ClassAccount (r:0 w:2)
|
||||
fn transfer_ownership() -> Weight {
|
||||
// Minimum execution time: 30_241 nanoseconds.
|
||||
Weight::from_ref_time(30_677_000 as u64)
|
||||
// Minimum execution time: 32_599 nanoseconds.
|
||||
Weight::from_ref_time(33_201_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
fn set_team() -> Weight {
|
||||
// Minimum execution time: 23_011 nanoseconds.
|
||||
Weight::from_ref_time(23_796_000 as u64)
|
||||
// Minimum execution time: 25_137 nanoseconds.
|
||||
Weight::from_ref_time(25_877_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||
fn force_item_status() -> Weight {
|
||||
// Minimum execution time: 25_739 nanoseconds.
|
||||
Weight::from_ref_time(26_572_000 as u64)
|
||||
// Minimum execution time: 27_736 nanoseconds.
|
||||
Weight::from_ref_time(28_279_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -465,8 +465,8 @@ impl WeightInfo for () {
|
||||
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
||||
// Storage: Uniques Attribute (r:1 w:1)
|
||||
fn set_attribute() -> Weight {
|
||||
// Minimum execution time: 48_486 nanoseconds.
|
||||
Weight::from_ref_time(49_029_000 as u64)
|
||||
// Minimum execution time: 51_195 nanoseconds.
|
||||
Weight::from_ref_time(51_674_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -474,79 +474,79 @@ impl WeightInfo for () {
|
||||
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
||||
// Storage: Uniques Attribute (r:1 w:1)
|
||||
fn clear_attribute() -> Weight {
|
||||
// Minimum execution time: 47_408 nanoseconds.
|
||||
Weight::from_ref_time(48_753_000 as u64)
|
||||
// Minimum execution time: 50_159 nanoseconds.
|
||||
Weight::from_ref_time(51_412_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
||||
fn set_metadata() -> Weight {
|
||||
// Minimum execution time: 40_085 nanoseconds.
|
||||
Weight::from_ref_time(40_625_000 as u64)
|
||||
// Minimum execution time: 42_608 nanoseconds.
|
||||
Weight::from_ref_time(42_880_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
||||
fn clear_metadata() -> Weight {
|
||||
// Minimum execution time: 40_546 nanoseconds.
|
||||
Weight::from_ref_time(41_113_000 as u64)
|
||||
// Minimum execution time: 43_239 nanoseconds.
|
||||
Weight::from_ref_time(43_752_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
||||
fn set_collection_metadata() -> Weight {
|
||||
// Minimum execution time: 39_902 nanoseconds.
|
||||
Weight::from_ref_time(40_599_000 as u64)
|
||||
// Minimum execution time: 41_224 nanoseconds.
|
||||
Weight::from_ref_time(41_974_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
||||
fn clear_collection_metadata() -> Weight {
|
||||
// Minimum execution time: 37_597 nanoseconds.
|
||||
Weight::from_ref_time(37_964_000 as u64)
|
||||
// Minimum execution time: 40_836 nanoseconds.
|
||||
Weight::from_ref_time(41_864_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
// Storage: Uniques Asset (r:1 w:1)
|
||||
fn approve_transfer() -> Weight {
|
||||
// Minimum execution time: 28_719 nanoseconds.
|
||||
Weight::from_ref_time(29_213_000 as u64)
|
||||
// Minimum execution time: 29_558 nanoseconds.
|
||||
Weight::from_ref_time(29_948_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
// Storage: Uniques Asset (r:1 w:1)
|
||||
fn cancel_approval() -> Weight {
|
||||
// Minimum execution time: 27_608 nanoseconds.
|
||||
Weight::from_ref_time(28_096_000 as u64)
|
||||
// Minimum execution time: 29_694 nanoseconds.
|
||||
Weight::from_ref_time(30_156_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
|
||||
fn set_accept_ownership() -> Weight {
|
||||
// Minimum execution time: 25_568 nanoseconds.
|
||||
Weight::from_ref_time(26_098_000 as u64)
|
||||
// Minimum execution time: 27_819 nanoseconds.
|
||||
Weight::from_ref_time(28_245_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques CollectionMaxSupply (r:1 w:1)
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
fn set_collection_max_supply() -> Weight {
|
||||
// Minimum execution time: 24_521 nanoseconds.
|
||||
Weight::from_ref_time(25_062_000 as u64)
|
||||
// Minimum execution time: 26_317 nanoseconds.
|
||||
Weight::from_ref_time(26_893_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Asset (r:1 w:0)
|
||||
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
||||
fn set_price() -> Weight {
|
||||
// Minimum execution time: 25_337 nanoseconds.
|
||||
Weight::from_ref_time(25_902_000 as u64)
|
||||
// Minimum execution time: 26_546 nanoseconds.
|
||||
Weight::from_ref_time(27_142_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -555,8 +555,8 @@ impl WeightInfo for () {
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
// Storage: Uniques Account (r:0 w:2)
|
||||
fn buy_item() -> Weight {
|
||||
// Minimum execution time: 46_736 nanoseconds.
|
||||
Weight::from_ref_time(47_264_000 as u64)
|
||||
// Minimum execution time: 49_238 nanoseconds.
|
||||
Weight::from_ref_time(50_444_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,12 +18,12 @@
|
||||
//! Autogenerated weights for pallet_utility
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-06-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/production/substrate
|
||||
// ./target/production/substrate
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=dev
|
||||
@@ -35,6 +35,7 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/utility/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
@@ -58,27 +59,32 @@ pub struct SubstrateWeight<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn batch(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(23_113_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(2_701_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 14_470 nanoseconds.
|
||||
Weight::from_ref_time(17_443_346 as u64)
|
||||
// Standard Error: 2_037
|
||||
.saturating_add(Weight::from_ref_time(3_510_555 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
fn as_derivative() -> Weight {
|
||||
Weight::from_ref_time(4_182_000 as u64)
|
||||
// Minimum execution time: 6_799 nanoseconds.
|
||||
Weight::from_ref_time(6_976_000 as u64)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn batch_all(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_682_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(2_794_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 14_630 nanoseconds.
|
||||
Weight::from_ref_time(24_580_656 as u64)
|
||||
// Standard Error: 2_202
|
||||
.saturating_add(Weight::from_ref_time(3_584_516 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
Weight::from_ref_time(12_049_000 as u64)
|
||||
// Minimum execution time: 16_597 nanoseconds.
|
||||
Weight::from_ref_time(16_950_000 as u64)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn force_batch(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(19_136_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(2_697_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 13_885 nanoseconds.
|
||||
Weight::from_ref_time(20_147_978 as u64)
|
||||
// Standard Error: 2_232
|
||||
.saturating_add(Weight::from_ref_time(3_516_969 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,26 +92,31 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
impl WeightInfo for () {
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn batch(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(23_113_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(2_701_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 14_470 nanoseconds.
|
||||
Weight::from_ref_time(17_443_346 as u64)
|
||||
// Standard Error: 2_037
|
||||
.saturating_add(Weight::from_ref_time(3_510_555 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
fn as_derivative() -> Weight {
|
||||
Weight::from_ref_time(4_182_000 as u64)
|
||||
// Minimum execution time: 6_799 nanoseconds.
|
||||
Weight::from_ref_time(6_976_000 as u64)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn batch_all(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_682_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(2_794_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 14_630 nanoseconds.
|
||||
Weight::from_ref_time(24_580_656 as u64)
|
||||
// Standard Error: 2_202
|
||||
.saturating_add(Weight::from_ref_time(3_584_516 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
Weight::from_ref_time(12_049_000 as u64)
|
||||
// Minimum execution time: 16_597 nanoseconds.
|
||||
Weight::from_ref_time(16_950_000 as u64)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn force_batch(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(19_136_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(2_697_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 13_885 nanoseconds.
|
||||
Weight::from_ref_time(20_147_978 as u64)
|
||||
// Standard Error: 2_232
|
||||
.saturating_add(Weight::from_ref_time(3_516_969 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,7 +18,8 @@
|
||||
//! Autogenerated weights for pallet_vesting
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-24, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,8 +33,10 @@
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/vesting/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -59,95 +62,119 @@ pub struct SubstrateWeight<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[1, 28]`.
|
||||
fn vest_locked(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(32_978_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(82_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(88_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 45_113 nanoseconds.
|
||||
Weight::from_ref_time(44_114_539 as u64)
|
||||
// Standard Error: 958
|
||||
.saturating_add(Weight::from_ref_time(56_239 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_704
|
||||
.saturating_add(Weight::from_ref_time(64_926 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[1, 28]`.
|
||||
fn vest_unlocked(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(32_856_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(79_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(56_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 43_918 nanoseconds.
|
||||
Weight::from_ref_time(43_452_573 as u64)
|
||||
// Standard Error: 984
|
||||
.saturating_add(Weight::from_ref_time(50_162 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_752
|
||||
.saturating_add(Weight::from_ref_time(42_080 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[1, 28]`.
|
||||
fn vest_other_locked(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(33_522_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(74_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(72_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 43_603 nanoseconds.
|
||||
Weight::from_ref_time(42_696_097 as u64)
|
||||
// Standard Error: 996
|
||||
.saturating_add(Weight::from_ref_time(65_316 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_772
|
||||
.saturating_add(Weight::from_ref_time(65_862 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[1, 28]`.
|
||||
fn vest_other_unlocked(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(32_558_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(78_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(61_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 43_099 nanoseconds.
|
||||
Weight::from_ref_time(42_937_914 as u64)
|
||||
// Standard Error: 884
|
||||
.saturating_add(Weight::from_ref_time(52_079 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_573
|
||||
.saturating_add(Weight::from_ref_time(36_274 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[0, 27]`.
|
||||
fn vested_transfer(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(49_260_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(80_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(55_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 59_023 nanoseconds.
|
||||
Weight::from_ref_time(59_606_862 as u64)
|
||||
// Standard Error: 2_078
|
||||
.saturating_add(Weight::from_ref_time(55_335 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 3_698
|
||||
.saturating_add(Weight::from_ref_time(26_743 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[0, 27]`.
|
||||
fn force_vested_transfer(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(49_166_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(77_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(43_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 58_249 nanoseconds.
|
||||
Weight::from_ref_time(59_025_976 as u64)
|
||||
// Standard Error: 2_078
|
||||
.saturating_add(Weight::from_ref_time(55_736 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 3_697
|
||||
.saturating_add(Weight::from_ref_time(24_903 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[2, 28]`.
|
||||
fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(34_042_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(83_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(80_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 45_279 nanoseconds.
|
||||
Weight::from_ref_time(44_197_440 as u64)
|
||||
// Standard Error: 946
|
||||
.saturating_add(Weight::from_ref_time(62_308 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_747
|
||||
.saturating_add(Weight::from_ref_time(64_473 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[2, 28]`.
|
||||
fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(33_937_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(78_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(73_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 44_925 nanoseconds.
|
||||
Weight::from_ref_time(44_219_676 as u64)
|
||||
// Standard Error: 889
|
||||
.saturating_add(Weight::from_ref_time(60_311 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_641
|
||||
.saturating_add(Weight::from_ref_time(63_095 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -157,95 +184,119 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
impl WeightInfo for () {
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[1, 28]`.
|
||||
fn vest_locked(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(32_978_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(82_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(88_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 45_113 nanoseconds.
|
||||
Weight::from_ref_time(44_114_539 as u64)
|
||||
// Standard Error: 958
|
||||
.saturating_add(Weight::from_ref_time(56_239 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_704
|
||||
.saturating_add(Weight::from_ref_time(64_926 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[1, 28]`.
|
||||
fn vest_unlocked(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(32_856_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(79_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(56_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 43_918 nanoseconds.
|
||||
Weight::from_ref_time(43_452_573 as u64)
|
||||
// Standard Error: 984
|
||||
.saturating_add(Weight::from_ref_time(50_162 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_752
|
||||
.saturating_add(Weight::from_ref_time(42_080 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[1, 28]`.
|
||||
fn vest_other_locked(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(33_522_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(74_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(72_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 43_603 nanoseconds.
|
||||
Weight::from_ref_time(42_696_097 as u64)
|
||||
// Standard Error: 996
|
||||
.saturating_add(Weight::from_ref_time(65_316 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_772
|
||||
.saturating_add(Weight::from_ref_time(65_862 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[1, 28]`.
|
||||
fn vest_other_unlocked(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(32_558_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(78_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(61_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 43_099 nanoseconds.
|
||||
Weight::from_ref_time(42_937_914 as u64)
|
||||
// Standard Error: 884
|
||||
.saturating_add(Weight::from_ref_time(52_079 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_573
|
||||
.saturating_add(Weight::from_ref_time(36_274 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[0, 27]`.
|
||||
fn vested_transfer(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(49_260_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(80_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(55_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 59_023 nanoseconds.
|
||||
Weight::from_ref_time(59_606_862 as u64)
|
||||
// Standard Error: 2_078
|
||||
.saturating_add(Weight::from_ref_time(55_335 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 3_698
|
||||
.saturating_add(Weight::from_ref_time(26_743 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[0, 27]`.
|
||||
fn force_vested_transfer(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(49_166_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(77_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(43_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 58_249 nanoseconds.
|
||||
Weight::from_ref_time(59_025_976 as u64)
|
||||
// Standard Error: 2_078
|
||||
.saturating_add(Weight::from_ref_time(55_736 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 3_697
|
||||
.saturating_add(Weight::from_ref_time(24_903 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[2, 28]`.
|
||||
fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(34_042_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(83_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(80_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 45_279 nanoseconds.
|
||||
Weight::from_ref_time(44_197_440 as u64)
|
||||
// Standard Error: 946
|
||||
.saturating_add(Weight::from_ref_time(62_308 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_747
|
||||
.saturating_add(Weight::from_ref_time(64_473 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[2, 28]`.
|
||||
fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
|
||||
Weight::from_ref_time(33_937_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(78_000 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(73_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 44_925 nanoseconds.
|
||||
Weight::from_ref_time(44_219_676 as u64)
|
||||
// Standard Error: 889
|
||||
.saturating_add(Weight::from_ref_time(60_311 as u64).saturating_mul(l as u64))
|
||||
// Standard Error: 1_641
|
||||
.saturating_add(Weight::from_ref_time(63_095 as u64).saturating_mul(s as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,7 +18,8 @@
|
||||
//! Autogenerated weights for pallet_whitelist
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-24, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,8 +33,10 @@
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/whitelist/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -56,35 +59,38 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Whitelist WhitelistedCall (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn whitelist_call() -> Weight {
|
||||
Weight::from_ref_time(20_938_000 as u64)
|
||||
// Minimum execution time: 26_352 nanoseconds.
|
||||
Weight::from_ref_time(26_727_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Whitelist WhitelistedCall (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
fn remove_whitelisted_call() -> Weight {
|
||||
Weight::from_ref_time(22_332_000 as u64)
|
||||
// Minimum execution time: 25_536 nanoseconds.
|
||||
Weight::from_ref_time(25_969_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Whitelist WhitelistedCall (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:1 w:1)
|
||||
fn dispatch_whitelisted_call() -> Weight {
|
||||
Weight::from_ref_time(5_989_917_000 as u64)
|
||||
// Minimum execution time: 4_802_466 nanoseconds.
|
||||
Weight::from_ref_time(4_820_197_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Whitelist WhitelistedCall (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
/// The range of component `n` is `[1, 10000]`.
|
||||
fn dispatch_whitelisted_call_with_preimage(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(25_325_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 29_184 nanoseconds.
|
||||
Weight::from_ref_time(30_530_970 as u64)
|
||||
// Standard Error: 7
|
||||
.saturating_add(Weight::from_ref_time(1_496 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -93,34 +99,37 @@ impl WeightInfo for () {
|
||||
// Storage: Whitelist WhitelistedCall (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn whitelist_call() -> Weight {
|
||||
Weight::from_ref_time(20_938_000 as u64)
|
||||
// Minimum execution time: 26_352 nanoseconds.
|
||||
Weight::from_ref_time(26_727_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Whitelist WhitelistedCall (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
fn remove_whitelisted_call() -> Weight {
|
||||
Weight::from_ref_time(22_332_000 as u64)
|
||||
// Minimum execution time: 25_536 nanoseconds.
|
||||
Weight::from_ref_time(25_969_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Whitelist WhitelistedCall (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:1 w:1)
|
||||
fn dispatch_whitelisted_call() -> Weight {
|
||||
Weight::from_ref_time(5_989_917_000 as u64)
|
||||
// Minimum execution time: 4_802_466 nanoseconds.
|
||||
Weight::from_ref_time(4_820_197_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Whitelist WhitelistedCall (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:0 w:1)
|
||||
/// The range of component `n` is `[1, 10000]`.
|
||||
fn dispatch_whitelisted_call_with_preimage(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(25_325_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 29_184 nanoseconds.
|
||||
Weight::from_ref_time(30_530_970 as u64)
|
||||
// Standard Error: 7
|
||||
.saturating_add(Weight::from_ref_time(1_496 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user