mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
[WIP] Update weights in prep for v0.8.27 (#2097)
* Update weights for polkadot * add Kusama weights * add westend weights * remove claims weight files claims still uses in-line weights which is fine cause it is a polkadot specific pallet Co-authored-by: Parity Benchmarking Bot <admin@parity.io> Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
@@ -13,13 +13,14 @@
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Weights for pallet_identity
|
||||
//! Autogenerated weights for pallet_identity
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0
|
||||
//! DATE: 2020-10-31, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
|
||||
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128
|
||||
|
||||
// Executed Command:
|
||||
// ./target/release/polkadot
|
||||
// target/release/polkadot
|
||||
// benchmark
|
||||
// --chain=westend-dev
|
||||
// --steps=50
|
||||
@@ -43,111 +44,135 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
|
||||
fn add_registrar(r: u32, ) -> Weight {
|
||||
(26_425_000 as Weight)
|
||||
.saturating_add((296_000 as Weight).saturating_mul(r as Weight))
|
||||
(27_481_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((300_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn set_identity(r: u32, x: u32, ) -> Weight {
|
||||
(70_695_000 as Weight)
|
||||
.saturating_add((212_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((1_791_000 as Weight).saturating_mul(x as Weight))
|
||||
(71_220_000 as Weight)
|
||||
// Standard Error: 19_000
|
||||
.saturating_add((269_000 as Weight).saturating_mul(r as Weight))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((1_814_000 as Weight).saturating_mul(x as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn set_subs_new(s: u32, ) -> Weight {
|
||||
(49_871_000 as Weight)
|
||||
.saturating_add((9_385_000 as Weight).saturating_mul(s as Weight))
|
||||
(52_505_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((9_913_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
|
||||
}
|
||||
fn set_subs_old(p: u32, ) -> Weight {
|
||||
(46_330_000 as Weight)
|
||||
.saturating_add((3_280_000 as Weight).saturating_mul(p as Weight))
|
||||
(47_853_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((3_432_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))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight)))
|
||||
}
|
||||
fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {
|
||||
(59_768_000 as Weight)
|
||||
.saturating_add((153_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((3_301_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((1_020_000 as Weight).saturating_mul(x as Weight))
|
||||
(62_074_000 as Weight)
|
||||
// Standard Error: 8_000
|
||||
.saturating_add((169_000 as Weight).saturating_mul(r as Weight))
|
||||
// Standard Error: 0
|
||||
.saturating_add((3_436_000 as Weight).saturating_mul(s as Weight))
|
||||
// Standard Error: 0
|
||||
.saturating_add((1_058_000 as Weight).saturating_mul(x as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
|
||||
}
|
||||
fn request_judgement(r: u32, x: u32, ) -> Weight {
|
||||
(71_397_000 as Weight)
|
||||
.saturating_add((279_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((1_999_000 as Weight).saturating_mul(x as Weight))
|
||||
(72_697_000 as Weight)
|
||||
// Standard Error: 8_000
|
||||
.saturating_add((316_000 as Weight).saturating_mul(r as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((2_064_000 as Weight).saturating_mul(x as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn cancel_request(r: u32, x: u32, ) -> Weight {
|
||||
(60_690_000 as Weight)
|
||||
.saturating_add((212_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((2_000_000 as Weight).saturating_mul(x as Weight))
|
||||
(62_349_000 as Weight)
|
||||
// Standard Error: 11_000
|
||||
.saturating_add((203_000 as Weight).saturating_mul(r as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((2_048_000 as Weight).saturating_mul(x as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn set_fee(r: u32, ) -> Weight {
|
||||
(10_265_000 as Weight)
|
||||
.saturating_add((256_000 as Weight).saturating_mul(r as Weight))
|
||||
(10_602_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((265_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn set_account_id(r: u32, ) -> Weight {
|
||||
(11_662_000 as Weight)
|
||||
.saturating_add((263_000 as Weight).saturating_mul(r as Weight))
|
||||
(12_087_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((264_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn set_fields(r: u32, ) -> Weight {
|
||||
(10_270_000 as Weight)
|
||||
.saturating_add((256_000 as Weight).saturating_mul(r as Weight))
|
||||
(10_578_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((268_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn provide_judgement(r: u32, x: u32, ) -> Weight {
|
||||
(47_477_000 as Weight)
|
||||
.saturating_add((276_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((1_994_000 as Weight).saturating_mul(x as Weight))
|
||||
(48_552_000 as Weight)
|
||||
// Standard Error: 8_000
|
||||
.saturating_add((279_000 as Weight).saturating_mul(r as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((2_067_000 as Weight).saturating_mul(x as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {
|
||||
(57_410_000 as Weight)
|
||||
.saturating_add((138_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((3_291_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((6_000 as Weight).saturating_mul(x as Weight))
|
||||
(60_031_000 as Weight)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add((140_000 as Weight).saturating_mul(r as Weight))
|
||||
// Standard Error: 0
|
||||
.saturating_add((3_423_000 as Weight).saturating_mul(s as Weight))
|
||||
// Standard Error: 0
|
||||
.saturating_add((3_000 as Weight).saturating_mul(x as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
|
||||
}
|
||||
fn add_sub(s: u32, ) -> Weight {
|
||||
(69_549_000 as Weight)
|
||||
.saturating_add((188_000 as Weight).saturating_mul(s as Weight))
|
||||
(71_751_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((185_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn rename_sub(s: u32, ) -> Weight {
|
||||
(22_557_000 as Weight)
|
||||
.saturating_add((26_000 as Weight).saturating_mul(s as Weight))
|
||||
(23_607_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((23_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))
|
||||
}
|
||||
fn remove_sub(s: u32, ) -> Weight {
|
||||
(66_423_000 as Weight)
|
||||
.saturating_add((169_000 as Weight).saturating_mul(s as Weight))
|
||||
(68_696_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((160_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn quit_sub(s: u32, ) -> Weight {
|
||||
(43_572_000 as Weight)
|
||||
.saturating_add((159_000 as Weight).saturating_mul(s as Weight))
|
||||
(45_448_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((155_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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user