[benchmarks] pr with weights master (#1522)

* [benchmarks] pr with weights

* fix weights to reflect the current master state

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
This commit is contained in:
Roman Useinov
2022-08-10 13:10:20 +02:00
committed by GitHub
parent 47bfa4f90f
commit fa9fabc9db
33 changed files with 799 additions and 614 deletions
@@ -17,11 +17,12 @@
//! Autogenerated weights for `pallet_utility`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-08-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/polkadot-parachain
// ./artifacts/polkadot-parachain
// benchmark
// pallet
// --chain=statemint-dev
@@ -31,7 +32,7 @@
// --extrinsic=*
// --steps=50
// --repeat=20
// --json-file=./bench-statemint.json
// --json
// --header=./file_header.txt
// --output=./parachains/runtimes/assets/statemint/src/weights
@@ -45,25 +46,28 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_utility`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
/// The range of component `c` is `[0, 1000]`.
fn batch(c: u32, ) -> Weight {
(12_413_000 as Weight)
// Standard Error: 1_000
.saturating_add((3_011_000 as Weight).saturating_mul(c as Weight))
(30_959_000 as Weight)
// Standard Error: 6_000
.saturating_add((3_220_000 as Weight).saturating_mul(c as Weight))
}
fn as_derivative() -> Weight {
(1_748_000 as Weight)
(4_732_000 as Weight)
}
/// The range of component `c` is `[0, 1000]`.
fn batch_all(c: u32, ) -> Weight {
(20_755_000 as Weight)
(16_465_000 as Weight)
// Standard Error: 2_000
.saturating_add((3_254_000 as Weight).saturating_mul(c as Weight))
.saturating_add((3_364_000 as Weight).saturating_mul(c as Weight))
}
fn dispatch_as() -> Weight {
(8_936_000 as Weight)
(11_903_000 as Weight)
}
/// The range of component `c` is `[0, 1000]`.
fn force_batch(c: u32, ) -> Weight {
(12_159_000 as Weight)
(22_621_000 as Weight)
// Standard Error: 1_000
.saturating_add((3_063_000 as Weight).saturating_mul(c as Weight))
.saturating_add((3_147_000 as Weight).saturating_mul(c as Weight))
}
}