mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 22:11:02 +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,16 +13,16 @@
|
||||
|
||||
// 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-30, 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("kusama-dev"), DB CACHE: 128
|
||||
|
||||
// Executed Command:
|
||||
// ./target/release/polkadot
|
||||
// target/release/polkadot
|
||||
// benchmark
|
||||
// --chain
|
||||
// kusama-dev
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_identity
|
||||
@@ -30,8 +30,7 @@
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header
|
||||
// ./file_header.txt
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
|
||||
|
||||
@@ -45,110 +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_618_000 as Weight)
|
||||
.saturating_add((318_000 as Weight).saturating_mul(r as Weight))
|
||||
(28_419_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((289_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 {
|
||||
(71_033_000 as Weight)
|
||||
.saturating_add((297_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((1_751_000 as Weight).saturating_mul(x as Weight))
|
||||
(73_891_000 as Weight)
|
||||
// Standard Error: 19_000
|
||||
.saturating_add((279_000 as Weight).saturating_mul(r as Weight))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((1_819_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 {
|
||||
(51_338_000 as Weight)
|
||||
.saturating_add((9_514_000 as Weight).saturating_mul(s as Weight))
|
||||
(52_415_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((9_876_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 {
|
||||
(47_288_000 as Weight)
|
||||
.saturating_add((3_313_000 as Weight).saturating_mul(p as Weight))
|
||||
(48_406_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((3_392_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 {
|
||||
(60_350_000 as Weight)
|
||||
.saturating_add((187_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((3_328_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((1_009_000 as Weight).saturating_mul(x as Weight))
|
||||
(61_817_000 as Weight)
|
||||
// Standard Error: 8_000
|
||||
.saturating_add((202_000 as Weight).saturating_mul(r as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((3_417_000 as Weight).saturating_mul(s as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((1_075_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 {
|
||||
(72_162_000 as Weight)
|
||||
.saturating_add((338_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((2_007_000 as Weight).saturating_mul(x as Weight))
|
||||
(73_843_000 as Weight)
|
||||
// Standard Error: 9_000
|
||||
.saturating_add((348_000 as Weight).saturating_mul(r as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((2_085_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 {
|
||||
(62_007_000 as Weight)
|
||||
.saturating_add((199_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((1_985_000 as Weight).saturating_mul(x as Weight))
|
||||
(63_423_000 as Weight)
|
||||
// Standard Error: 11_000
|
||||
.saturating_add((237_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(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn set_fee(r: u32, ) -> Weight {
|
||||
(10_371_000 as Weight)
|
||||
.saturating_add((261_000 as Weight).saturating_mul(r as Weight))
|
||||
(10_954_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((255_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_728_000 as Weight)
|
||||
.saturating_add((262_000 as Weight).saturating_mul(r as Weight))
|
||||
(12_327_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((263_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_565_000 as Weight)
|
||||
.saturating_add((246_000 as Weight).saturating_mul(r as Weight))
|
||||
(11_006_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((255_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 {
|
||||
(48_013_000 as Weight)
|
||||
.saturating_add((281_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((1_996_000 as Weight).saturating_mul(x as Weight))
|
||||
(49_635_000 as Weight)
|
||||
// Standard Error: 9_000
|
||||
.saturating_add((296_000 as Weight).saturating_mul(r as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((2_075_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 {
|
||||
(101_578_000 as Weight)
|
||||
.saturating_add((98_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((3_347_000 as Weight).saturating_mul(s as Weight))
|
||||
fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {
|
||||
(101_563_000 as Weight)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add((207_000 as Weight).saturating_mul(r as Weight))
|
||||
// Standard Error: 0
|
||||
.saturating_add((3_404_000 as Weight).saturating_mul(s as Weight))
|
||||
// Standard Error: 0
|
||||
.saturating_add((8_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 {
|
||||
(71_638_000 as Weight)
|
||||
.saturating_add((188_000 as Weight).saturating_mul(s as Weight))
|
||||
(73_298_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((183_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 {
|
||||
(23_054_000 as Weight)
|
||||
(23_667_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((25_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 {
|
||||
(67_962_000 as Weight)
|
||||
.saturating_add((163_000 as Weight).saturating_mul(s as Weight))
|
||||
(69_636_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 {
|
||||
(44_825_000 as Weight)
|
||||
.saturating_add((158_000 as Weight).saturating_mul(s as Weight))
|
||||
(45_890_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((156_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