mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 15:11:02 +00:00
transfer ownership of uniques looks cheaper. (#1302)
batch all now looking a bit expensive compared to batch. no big changes.
This commit is contained in:
@@ -17,12 +17,13 @@
|
||||
//! Autogenerated weights for `pallet_utility`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// ./target/production/polkadot-collator
|
||||
// ./target/production/polkadot-parachain
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=statemint-dev
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
@@ -32,7 +33,7 @@
|
||||
// --repeat=20
|
||||
// --json-file=./bench-statemint.json
|
||||
// --header=./file_header.txt
|
||||
// --output=./polkadot-parachains/statemint/src/weights
|
||||
// --output=./parachains/runtimes/assets/statemint/src/weights
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -45,26 +46,24 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
||||
fn batch(c: u32, ) -> Weight {
|
||||
(19_538_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((3_650_000 as Weight).saturating_mul(c as Weight))
|
||||
(12_413_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((3_011_000 as Weight).saturating_mul(c as Weight))
|
||||
}
|
||||
fn as_derivative() -> Weight {
|
||||
(2_477_000 as Weight)
|
||||
(1_748_000 as Weight)
|
||||
}
|
||||
fn batch_all(c: u32, ) -> Weight {
|
||||
(22_204_000 as Weight)
|
||||
(20_755_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((3_957_000 as Weight).saturating_mul(c as Weight))
|
||||
.saturating_add((3_254_000 as Weight).saturating_mul(c as Weight))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
(8_834_000 as Weight)
|
||||
(8_936_000 as Weight)
|
||||
}
|
||||
fn force_batch(c: u32, ) -> Weight {
|
||||
(13_470_000 as Weight)
|
||||
(12_159_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((4_229_000 as Weight).saturating_mul(c as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
.saturating_add((3_063_000 as Weight).saturating_mul(c as Weight))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user