From 0fb33387946d80aeb868bf86b07538e114003e0f Mon Sep 17 00:00:00 2001 From: Zoltan Mosonyi Date: Tue, 5 Apr 2022 12:08:28 +0200 Subject: [PATCH] Benchmarking results --- .../src/weights/frame_system.rs | 28 +++-- .../src/weights/pallet_balances.rs | 19 ++- .../src/weights/pallet_claims.rs | 24 ++-- .../src/weights/pallet_multisig.rs | 98 ++++++++-------- .../src/weights/pallet_proxy.rs | 110 +++++++++--------- .../src/weights/pallet_teeracle.rs | 18 +-- .../src/weights/pallet_teerex.rs | 40 ++++--- .../src/weights/pallet_timestamp.rs | 12 +- .../src/weights/pallet_treasury.rs | 40 ++++--- .../src/weights/pallet_utility.rs | 41 ++++--- .../src/weights/pallet_vesting.rs | 85 +++++++------- 11 files changed, 269 insertions(+), 246 deletions(-) diff --git a/polkadot-parachains/integritee-runtime/src/weights/frame_system.rs b/polkadot-parachains/integritee-runtime/src/weights/frame_system.rs index 39bc4823..4f1ffeeb 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/frame_system.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/frame_system.rs @@ -2,8 +2,8 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2021-10-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 128 +//! DATE: 2022-04-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 // Executed Command: // ./target/release/integritee-collator @@ -18,7 +18,6 @@ // --heap-pages=4096 // --output=./polkadot-parachains/integritee-runtime/src/weights/frame_system.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -30,42 +29,41 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl frame_system::WeightInfo for WeightInfo { fn remark(b: u32, ) -> Weight { - (1_783_000 as Weight) + (0 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(b as Weight)) } fn remark_with_event(b: u32, ) -> Weight { - (11_849_000 as Weight) + (0 as Weight) // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) } // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { - (5_150_000 as Weight) + (13_591_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } - // Storage: Skipped Metadata (r:0 w:0) fn set_storage(i: u32, ) -> Weight { (0 as Weight) - // Standard Error: 0 - .saturating_add((889_000 as Weight).saturating_mul(i as Weight)) + // Standard Error: 26_000 + .saturating_add((1_634_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } // Storage: Skipped Metadata (r:0 w:0) fn kill_storage(i: u32, ) -> Weight { (0 as Weight) - // Standard Error: 1_000 - .saturating_add((607_000 as Weight).saturating_mul(i as Weight)) + // Standard Error: 15_000 + .saturating_add((1_038_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } // Storage: Skipped Metadata (r:0 w:0) fn kill_prefix(p: u32, ) -> Weight { - (5_555_000 as Weight) - // Standard Error: 0 - .saturating_add((760_000 as Weight).saturating_mul(p as Weight)) + (0 as Weight) + // Standard Error: 28_000 + .saturating_add((4_094_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_balances.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_balances.rs index fe354ede..59675790 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_balances.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_balances.rs @@ -2,8 +2,8 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2021-10-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 128 +//! DATE: 2022-04-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 // Executed Command: // ./target/release/integritee-collator @@ -18,7 +18,6 @@ // --heap-pages=4096 // --output=./polkadot-parachains/integritee-runtime/src/weights/pallet_balances.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -31,43 +30,43 @@ pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (75_056_000 as Weight) + (138_870_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - (55_645_000 as Weight) + (109_749_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { - (28_525_000 as Weight) + (83_223_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { - (35_609_000 as Weight) + (98_074_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:2 w:2) fn force_transfer() -> Weight { - (74_017_000 as Weight) + (170_731_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - (68_361_000 as Weight) + (126_497_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn force_unreserve() -> Weight { - (26_369_000 as Weight) + (68_935_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_claims.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_claims.rs index 0371be86..879a296f 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_claims.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_claims.rs @@ -1,13 +1,14 @@ + //! Autogenerated weights for `pallet_claims` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2021-11-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-solo-fresh"), DB CACHE: 128 +//! DATE: 2022-04-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 // Executed Command: -// ./integritee-node +// ./target/release/integritee-collator // benchmark -// --chain=integritee-solo-fresh +// --chain=integritee-rococo-local-dev // --steps=50 // --repeat=20 // --pallet=pallet_claims @@ -15,15 +16,16 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=runtime/src/weights/pallet_claims.rs +// --output=./polkadot-parachains/integritee-runtime/src/weights/pallet_claims.rs +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weight functions for pallet_claims. +/// Weight functions for `pallet_claims`. pub struct WeightInfo(PhantomData); impl pallet_claims::WeightInfo for WeightInfo { // Storage: Claims Claims (r:1 w:1) @@ -34,7 +36,7 @@ impl pallet_claims::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:0) // Storage: Balances Locks (r:1 w:1) fn claim() -> Weight { - (761_780_000 as Weight) + (1_124_251_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -43,7 +45,7 @@ impl pallet_claims::WeightInfo for WeightInfo { // Storage: Claims Claims (r:0 w:1) // Storage: Claims Signing (r:0 w:1) fn mint_claim() -> Weight { - (27_006_000 as Weight) + (28_897_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -55,7 +57,7 @@ impl pallet_claims::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:0) // Storage: Balances Locks (r:1 w:1) fn claim_attest() -> Weight { - (775_524_000 as Weight) + (895_011_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -68,7 +70,7 @@ impl pallet_claims::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:0) // Storage: Balances Locks (r:1 w:1) fn attest() -> Weight { - (310_377_000 as Weight) + (307_898_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } @@ -77,7 +79,7 @@ impl pallet_claims::WeightInfo for WeightInfo { // Storage: Claims Signing (r:1 w:2) // Storage: Claims Preclaims (r:1 w:1) fn move_claim() -> Weight { - (64_975_000 as Weight) + (86_753_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_multisig.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_multisig.rs index 7bdb4cfe..24ee31fd 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_multisig.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_multisig.rs @@ -1,13 +1,14 @@ + //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2021-11-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-solo-fresh"), DB CACHE: 128 +//! DATE: 2022-04-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 // Executed Command: -// ./integritee-node +// ./target/release/integritee-collator // benchmark -// --chain=integritee-solo-fresh +// --chain=integritee-rococo-local-dev // --steps=50 // --repeat=20 // --pallet=pallet_multisig @@ -15,106 +16,109 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=runtime/src/weights/pallet_multisig.rs +// --output=./polkadot-parachains/integritee-runtime/src/weights/pallet_multisig.rs +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weight functions for pallet_multisig. +/// Weight functions for `pallet_multisig`. pub struct WeightInfo(PhantomData); impl pallet_multisig::WeightInfo for WeightInfo { - fn as_multi_threshold_1(z: u32) -> Weight { - (9_050_000 as Weight) - // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) + // Storage: Migration Status (r:1 w:0) + fn as_multi_threshold_1(_z: u32, ) -> Weight { + (26_559_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) - fn as_multi_create(s: u32, z: u32) -> Weight { - (99_228_000 as Weight) - // Standard Error: 87_000 - .saturating_add((793_000 as Weight).saturating_mul(s as Weight)) + fn as_multi_create(s: u32, z: u32, ) -> Weight { + (39_005_000 as Weight) + // Standard Error: 579_000 + .saturating_add((8_311_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((6_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) - fn as_multi_create_store(s: u32, z: u32) -> Weight { - (111_754_000 as Weight) - // Standard Error: 282_000 - .saturating_add((956_000 as Weight).saturating_mul(s as Weight)) + fn as_multi_create_store(s: u32, z: u32, ) -> Weight { + (149_254_000 as Weight) + // Standard Error: 608_000 + .saturating_add((306_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((6_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Multisig Multisigs (r:1 w:1) - fn as_multi_approve(_s: u32, z: u32) -> Weight { - (70_439_000 as Weight) + fn as_multi_approve(_s: u32, z: u32, ) -> Weight { + (86_476_000 as Weight) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((4_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:1) - fn as_multi_approve_store(s: u32, z: u32) -> Weight { - (87_141_000 as Weight) - // Standard Error: 329_000 - .saturating_add((2_115_000 as Weight).saturating_mul(s as Weight)) + fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { + (91_141_000 as Weight) + // Standard Error: 677_000 + .saturating_add((6_821_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((7_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((5_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:1) // Storage: System Account (r:1 w:1) - fn as_multi_complete(s: u32, z: u32) -> Weight { - (139_018_000 as Weight) - // Standard Error: 317_000 - .saturating_add((629_000 as Weight).saturating_mul(s as Weight)) + // Storage: Migration Status (r:1 w:0) + fn as_multi_complete(s: u32, z: u32, ) -> Weight { + (159_982_000 as Weight) + // Standard Error: 882_000 + .saturating_add((4_322_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((9_000 as Weight).saturating_mul(z as Weight)) - .saturating_add(T::DbWeight::get().reads(3 as Weight)) + .saturating_add((6_000 as Weight).saturating_mul(z as Weight)) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) - fn approve_as_multi_create(s: u32) -> Weight { - (93_678_000 as Weight) - // Standard Error: 75_000 - .saturating_add((1_063_000 as Weight).saturating_mul(s as Weight)) + fn approve_as_multi_create(s: u32, ) -> Weight { + (99_826_000 as Weight) + // Standard Error: 477_000 + .saturating_add((802_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:0) - fn approve_as_multi_approve(_s: u32) -> Weight { - (81_581_000 as Weight) + fn approve_as_multi_approve(s: u32, ) -> Weight { + (65_356_000 as Weight) + // Standard Error: 242_000 + .saturating_add((136_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:1) // Storage: System Account (r:1 w:1) - fn approve_as_multi_complete(s: u32) -> Weight { - (235_769_000 as Weight) - // Standard Error: 197_000 - .saturating_add((1_684_000 as Weight).saturating_mul(s as Weight)) - .saturating_add(T::DbWeight::get().reads(3 as Weight)) + // Storage: Migration Status (r:1 w:0) + fn approve_as_multi_complete(_s: u32, ) -> Weight { + (252_161_000 as Weight) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:1) - fn cancel_as_multi(_s: u32) -> Weight { - (194_725_000 as Weight) + fn cancel_as_multi(_s: u32, ) -> Weight { + (151_312_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_proxy.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_proxy.rs index c5308545..246e97fd 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_proxy.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_proxy.rs @@ -1,13 +1,14 @@ + //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2021-11-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-solo-fresh"), DB CACHE: 128 +//! DATE: 2022-04-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 // Executed Command: -// ./integritee-node +// ./target/release/integritee-collator // benchmark -// --chain=integritee-solo-fresh +// --chain=integritee-rococo-local-dev // --steps=50 // --repeat=20 // --pallet=pallet_proxy @@ -15,106 +16,107 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=runtime/src/weights/pallet_proxy.rs +// --output=./polkadot-parachains/integritee-runtime/src/weights/pallet_proxy.rs +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weight functions for pallet_proxy. +/// Weight functions for `pallet_proxy`. pub struct WeightInfo(PhantomData); impl pallet_proxy::WeightInfo for WeightInfo { // Storage: Proxy Proxies (r:1 w:0) - fn proxy(p: u32) -> Weight { - (49_346_000 as Weight) - // Standard Error: 15_000 - .saturating_add((423_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(1 as Weight)) + // Storage: Migration Status (r:1 w:0) + fn proxy(p: u32, ) -> Weight { + (67_591_000 as Weight) + // Standard Error: 65_000 + .saturating_add((782_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) } // Storage: Proxy Proxies (r:1 w:0) // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) - fn proxy_announced(a: u32, p: u32) -> Weight { - (108_778_000 as Weight) - // Standard Error: 78_000 - .saturating_add((985_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 81_000 - .saturating_add((472_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(3 as Weight)) + // Storage: Migration Status (r:1 w:0) + fn proxy_announced(a: u32, p: u32, ) -> Weight { + (138_736_000 as Weight) + // Standard Error: 123_000 + .saturating_add((1_383_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 128_000 + .saturating_add((109_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) - fn remove_announcement(a: u32, _p: u32) -> Weight { - (80_354_000 as Weight) - // Standard Error: 21_000 - .saturating_add((1_101_000 as Weight).saturating_mul(a as Weight)) + fn remove_announcement(a: u32, p: u32, ) -> Weight { + (89_386_000 as Weight) + // Standard Error: 88_000 + .saturating_add((1_083_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 92_000 + .saturating_add((853_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) - fn reject_announcement(a: u32, p: u32) -> Weight { - (73_831_000 as Weight) - // Standard Error: 53_000 - .saturating_add((1_185_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 55_000 - .saturating_add((162_000 as Weight).saturating_mul(p as Weight)) + fn reject_announcement(a: u32, p: u32, ) -> Weight { + (90_566_000 as Weight) + // Standard Error: 81_000 + .saturating_add((1_050_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 84_000 + .saturating_add((106_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Proxy Proxies (r:1 w:0) // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) - fn announce(a: u32, p: u32) -> Weight { - (97_013_000 as Weight) - // Standard Error: 61_000 - .saturating_add((1_224_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 64_000 - .saturating_add((500_000 as Weight).saturating_mul(p as Weight)) + fn announce(a: u32, _p: u32, ) -> Weight { + (138_006_000 as Weight) + // Standard Error: 100_000 + .saturating_add((672_000 as Weight).saturating_mul(a as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) - fn add_proxy(p: u32) -> Weight { - (84_020_000 as Weight) - // Standard Error: 55_000 - .saturating_add((591_000 as Weight).saturating_mul(p as Weight)) + fn add_proxy(p: u32, ) -> Weight { + (104_796_000 as Weight) + // Standard Error: 103_000 + .saturating_add((528_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) - fn remove_proxy(p: u32) -> Weight { - (78_733_000 as Weight) - // Standard Error: 49_000 - .saturating_add((234_000 as Weight).saturating_mul(p as Weight)) + fn remove_proxy(p: u32, ) -> Weight { + (82_585_000 as Weight) + // Standard Error: 76_000 + .saturating_add((698_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) - fn remove_proxies(p: u32) -> Weight { - (70_957_000 as Weight) - // Standard Error: 15_000 - .saturating_add((451_000 as Weight).saturating_mul(p as Weight)) + fn remove_proxies(_p: u32, ) -> Weight { + (112_343_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) // Storage: Proxy Proxies (r:1 w:1) - fn anonymous(p: u32) -> Weight { - (96_967_000 as Weight) - // Standard Error: 55_000 - .saturating_add((109_000 as Weight).saturating_mul(p as Weight)) + fn anonymous(p: u32, ) -> Weight { + (114_928_000 as Weight) + // Standard Error: 100_000 + .saturating_add((121_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) - fn kill_anonymous(p: u32) -> Weight { - (74_013_000 as Weight) - // Standard Error: 8_000 - .saturating_add((439_000 as Weight).saturating_mul(p as Weight)) + fn kill_anonymous(p: u32, ) -> Weight { + (85_251_000 as Weight) + // Standard Error: 74_000 + .saturating_add((708_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_teeracle.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_teeracle.rs index 2af821a7..3e7b8724 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_teeracle.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_teeracle.rs @@ -1,13 +1,14 @@ + //! Autogenerated weights for `pallet_teeracle` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2021-12-22, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-solo-fresh"), DB CACHE: 128 +//! DATE: 2022-04-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 // Executed Command: -// /home/ubuntu/bin/integritee-node +// ./target/release/integritee-collator // benchmark -// --chain=integritee-solo-fresh +// --chain=integritee-rococo-local-dev // --steps=50 // --repeat=20 // --pallet=pallet_teeracle @@ -15,8 +16,9 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=runtime/src/weights/pallet_teeracle.rs +// --output=./polkadot-parachains/integritee-runtime/src/weights/pallet_teeracle.rs +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -31,19 +33,19 @@ impl pallet_teeracle::WeightInfo for WeightInfo { // Storage: Teeracle Whitelists (r:1 w:0) // Storage: Teeracle ExchangeRates (r:1 w:1) fn update_exchange_rate() -> Weight { - (77_556_000 as Weight) + (123_051_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Teeracle Whitelists (r:1 w:1) fn add_to_whitelist() -> Weight { - (35_065_000 as Weight) + (69_892_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Teeracle Whitelists (r:1 w:1) fn remove_from_whitelist() -> Weight { - (37_631_000 as Weight) + (79_260_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_teerex.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_teerex.rs index 763973c0..f2b17d55 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_teerex.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_teerex.rs @@ -1,8 +1,9 @@ -//! Autogenerated weights for pallet_teerex + +//! Autogenerated weights for `pallet_teerex` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-07-09, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 128 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2022-04-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 // Executed Command: // ./target/release/integritee-collator @@ -17,36 +18,47 @@ // --heap-pages=4096 // --output=./polkadot-parachains/integritee-runtime/src/weights/pallet_teerex.rs +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weight functions for pallet_teerex. +/// Weight functions for `pallet_teerex`. pub struct WeightInfo(PhantomData); impl pallet_teerex::WeightInfo for WeightInfo { + // Storage: Timestamp Now (r:1 w:0) + // Storage: Teerex AllowSGXDebugMode (r:1 w:0) + // Storage: Teerex EnclaveIndex (r:1 w:0) + // Storage: Teerex EnclaveRegistry (r:0 w:1) fn register_enclave() -> Weight { - (1_969_500_000 as Weight) - .saturating_add(T::DbWeight::get().reads(2 as Weight)) + (2_943_573_000 as Weight) + .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Teerex EnclaveIndex (r:1 w:2) + // Storage: Teerex EnclaveCount (r:1 w:1) + // Storage: Teerex EnclaveRegistry (r:1 w:2) fn unregister_enclave() -> Weight { - (53_300_000 as Weight) + (112_614_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } fn call_worker() -> Weight { - (57_200_000 as Weight) + (49_431_000 as Weight) } + // Storage: Teerex EnclaveIndex (r:1 w:0) fn confirm_processed_parentchain_block() -> Weight { - (46_900_000 as Weight) + (53_473_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) - .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Teerex EnclaveIndex (r:1 w:0) + // Storage: Teerex EnclaveRegistry (r:1 w:0) + // Storage: Teerex WorkerForShard (r:0 w:1) fn confirm_proposed_sidechain_block() -> Weight { - (46_200_000 as Weight) - .saturating_add(T::DbWeight::get().reads(1 as Weight)) - .saturating_add(T::DbWeight::get().writes(2 as Weight)) + (93_363_000 as Weight) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) } } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_timestamp.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_timestamp.rs index b989696b..3257de3d 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_timestamp.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_timestamp.rs @@ -2,8 +2,8 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2021-10-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 128 +//! DATE: 2022-04-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 // Executed Command: // ./target/release/integritee-collator @@ -18,7 +18,6 @@ // --heap-pages=4096 // --output=./polkadot-parachains/integritee-runtime/src/weights/pallet_timestamp.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -30,12 +29,13 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { // Storage: Timestamp Now (r:1 w:1) + // Storage: Teerex EnclaveRegistry (r:1 w:0) fn set() -> Weight { - (7_509_000 as Weight) - .saturating_add(T::DbWeight::get().reads(1 as Weight)) + (38_692_000 as Weight) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn on_finalize() -> Weight { - (4_379_000 as Weight) + (14_527_000 as Weight) } } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_treasury.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_treasury.rs index 2d47c7d5..a835ff80 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_treasury.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_treasury.rs @@ -1,13 +1,14 @@ + //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2021-11-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-solo-fresh"), DB CACHE: 128 +//! DATE: 2022-04-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 // Executed Command: -// ./integritee-node +// ./target/release/integritee-collator // benchmark -// --chain=integritee-solo-fresh +// --chain=integritee-rococo-local-dev // --steps=50 // --repeat=20 // --pallet=pallet_treasury @@ -15,50 +16,51 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=runtime/src/weights/pallet_treasury.rs +// --output=./polkadot-parachains/integritee-runtime/src/weights/pallet_treasury.rs +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weight functions for pallet_treasury. +/// Weight functions for `pallet_treasury`. pub struct WeightInfo(PhantomData); impl pallet_treasury::WeightInfo for WeightInfo { // Storage: Treasury ProposalCount (r:1 w:1) // Storage: Treasury Proposals (r:0 w:1) fn propose_spend() -> Weight { - (76_542_000 as Weight) + (86_799_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Treasury Proposals (r:1 w:1) // Storage: System Account (r:1 w:1) fn reject_proposal() -> Weight { - (77_597_000 as Weight) + (107_492_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Treasury Proposals (r:1 w:0) // Storage: Treasury Approvals (r:1 w:1) - fn approve_proposal(p: u32) -> Weight { - (22_285_000 as Weight) - // Standard Error: 47_000 - .saturating_add((502_000 as Weight).saturating_mul(p as Weight)) + fn approve_proposal(p: u32, ) -> Weight { + (26_816_000 as Weight) + // Standard Error: 141_000 + .saturating_add((1_151_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: System Account (r:1 w:0) // Storage: Treasury Approvals (r:1 w:1) // Storage: Treasury Proposals (r:1 w:1) - // Storage: System Account (r:2 w:2) - fn on_initialize_proposals(p: u32) -> Weight { - (82_560_000 as Weight) - // Standard Error: 648_000 - .saturating_add((103_284_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(1 as Weight)) + fn on_initialize_proposals(p: u32, ) -> Weight { + (71_028_000 as Weight) + // Standard Error: 1_609_000 + .saturating_add((138_371_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(p as Weight))) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(p as Weight))) } } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_utility.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_utility.rs index 6214f9b2..887d4fb5 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_utility.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_utility.rs @@ -1,13 +1,14 @@ + //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2021-11-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-solo-fresh"), DB CACHE: 128 +//! DATE: 2022-04-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 // Executed Command: -// ./integritee-node +// ./target/release/integritee-collator // benchmark -// --chain=integritee-solo-fresh +// --chain=integritee-rococo-local-dev // --steps=50 // --repeat=20 // --pallet=pallet_utility @@ -15,32 +16,38 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=runtime/src/weights/pallet_utility.rs +// --output=./polkadot-parachains/integritee-runtime/src/weights/pallet_utility.rs +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weight functions for pallet_utility. +/// Weight functions for `pallet_utility`. pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { - fn batch(c: u32) -> Weight { - (63_793_000 as Weight) - // Standard Error: 36_000 - .saturating_add((9_370_000 as Weight).saturating_mul(c as Weight)) + // Storage: Migration Status (r:1 w:0) + fn batch(c: u32, ) -> Weight { + (245_817_000 as Weight) + // Standard Error: 132_000 + .saturating_add((10_683_000 as Weight).saturating_mul(c as Weight)) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) } + // Storage: Migration Status (r:1 w:0) fn as_derivative() -> Weight { - (4_912_000 as Weight) + (17_472_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) } - fn batch_all(c: u32) -> Weight { - (58_530_000 as Weight) - // Standard Error: 20_000 - .saturating_add((10_017_000 as Weight).saturating_mul(c as Weight)) + // Storage: Migration Status (r:1 w:0) + fn batch_all(c: u32, ) -> Weight { + (0 as Weight) + // Standard Error: 150_000 + .saturating_add((11_944_000 as Weight).saturating_mul(c as Weight)) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) } - //TODO: update weight value fn dispatch_as() -> Weight { - (14_340_000 as Weight) + (59_832_000 as Weight) } } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_vesting.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_vesting.rs index 10e7f733..77113cba 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_vesting.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_vesting.rs @@ -2,8 +2,8 @@ //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2021-10-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 128 +//! DATE: 2022-04-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 // Executed Command: // ./target/release/integritee-collator @@ -18,7 +18,6 @@ // --heap-pages=4096 // --output=./polkadot-parachains/integritee-runtime/src/weights/pallet_vesting.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -32,22 +31,22 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Storage: Vesting Vesting (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vest_locked(l: u32, s: u32, ) -> Weight { - (47_570_000 as Weight) - // Standard Error: 1_000 - .saturating_add((189_000 as Weight).saturating_mul(l as Weight)) - // Standard Error: 2_000 - .saturating_add((272_000 as Weight).saturating_mul(s as Weight)) + (106_197_000 as Weight) + // Standard Error: 46_000 + .saturating_add((544_000 as Weight).saturating_mul(l as Weight)) + // Standard Error: 95_000 + .saturating_add((705_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Vesting Vesting (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vest_unlocked(l: u32, s: u32, ) -> Weight { - (47_666_000 as Weight) - // Standard Error: 1_000 - .saturating_add((170_000 as Weight).saturating_mul(l as Weight)) - // Standard Error: 3_000 - .saturating_add((187_000 as Weight).saturating_mul(s as Weight)) + (101_309_000 as Weight) + // Standard Error: 51_000 + .saturating_add((821_000 as Weight).saturating_mul(l as Weight)) + // Standard Error: 105_000 + .saturating_add((1_124_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -55,35 +54,31 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn vest_other_locked(l: u32, s: u32, ) -> Weight { - (48_038_000 as Weight) - // Standard Error: 1_000 - .saturating_add((185_000 as Weight).saturating_mul(l as Weight)) - // Standard Error: 3_000 - .saturating_add((261_000 as Weight).saturating_mul(s as Weight)) + (111_156_000 as Weight) + // Standard Error: 51_000 + .saturating_add((318_000 as Weight).saturating_mul(l as Weight)) + // Standard Error: 105_000 + .saturating_add((1_156_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Vesting Vesting (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) - fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { - (47_082_000 as Weight) - // Standard Error: 1_000 - .saturating_add((181_000 as Weight).saturating_mul(l as Weight)) - // Standard Error: 3_000 - .saturating_add((207_000 as Weight).saturating_mul(s as Weight)) + fn vest_other_unlocked(l: u32, _s: u32, ) -> Weight { + (147_469_000 as Weight) + // Standard Error: 52_000 + .saturating_add((207_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Vesting Vesting (r:1 w:1) // Storage: System Account (r:1 w:1) // Storage: Balances Locks (r:1 w:1) - fn vested_transfer(l: u32, s: u32, ) -> Weight { - (83_482_000 as Weight) - // Standard Error: 5_000 - .saturating_add((184_000 as Weight).saturating_mul(l as Weight)) - // Standard Error: 10_000 - .saturating_add((181_000 as Weight).saturating_mul(s as Weight)) + fn vested_transfer(l: u32, _s: u32, ) -> Weight { + (181_754_000 as Weight) + // Standard Error: 89_000 + .saturating_add((888_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -91,11 +86,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) // Storage: Balances Locks (r:1 w:1) fn force_vested_transfer(l: u32, s: u32, ) -> Weight { - (82_889_000 as Weight) - // Standard Error: 4_000 - .saturating_add((165_000 as Weight).saturating_mul(l as Weight)) - // Standard Error: 9_000 - .saturating_add((174_000 as Weight).saturating_mul(s as Weight)) + (164_733_000 as Weight) + // Standard Error: 78_000 + .saturating_add((367_000 as Weight).saturating_mul(l as Weight)) + // Standard Error: 160_000 + .saturating_add((536_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -103,11 +98,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { - (50_188_000 as Weight) - // Standard Error: 1_000 - .saturating_add((183_000 as Weight).saturating_mul(l as Weight)) - // Standard Error: 3_000 - .saturating_add((274_000 as Weight).saturating_mul(s as Weight)) + (103_096_000 as Weight) + // Standard Error: 51_000 + .saturating_add((256_000 as Weight).saturating_mul(l as Weight)) + // Standard Error: 109_000 + .saturating_add((1_090_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -115,11 +110,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { - (50_247_000 as Weight) - // Standard Error: 1_000 - .saturating_add((192_000 as Weight).saturating_mul(l as Weight)) - // Standard Error: 3_000 - .saturating_add((256_000 as Weight).saturating_mul(s as Weight)) + (125_159_000 as Weight) + // Standard Error: 54_000 + .saturating_add((398_000 as Weight).saturating_mul(l as Weight)) + // Standard Error: 116_000 + .saturating_add((90_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) }