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:
Squirrel
2022-05-27 11:49:55 +01:00
committed by GitHub
parent c326bf329a
commit 1fe20e9022
33 changed files with 630 additions and 619 deletions
@@ -17,12 +17,13 @@
//! Autogenerated weights for `pallet_timestamp`
//!
//! 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("westmint-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/polkadot-collator
// ./target/production/polkadot-parachain
// benchmark
// pallet
// --chain=westmint-dev
// --execution=wasm
// --wasm-execution=compiled
@@ -32,7 +33,7 @@
// --repeat=20
// --json-file=./bench-westmint.json
// --header=./file_header.txt
// --output=./polkadot-parachains/westmint/src/weights
// --output=./parachains/runtimes/assets/westmint/src/weights
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -46,11 +47,11 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
// Storage: Timestamp Now (r:1 w:1)
fn set() -> Weight {
(3_578_000 as Weight)
(3_849_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn on_finalize() -> Weight {
(2_260_000 as Weight)
(2_393_000 as Weight)
}
}