mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
[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:
@@ -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("statemine-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// ./target/production/polkadot-parachain
|
||||
// ./artifacts/polkadot-parachain
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=statemine-dev
|
||||
@@ -31,7 +32,7 @@
|
||||
// --extrinsic=*
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --json-file=./bench-statemine.json
|
||||
// --json
|
||||
// --header=./file_header.txt
|
||||
// --output=./parachains/runtimes/assets/statemine/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 {
|
||||
(13_031_000 as Weight)
|
||||
(22_923_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((2_829_000 as Weight).saturating_mul(c as Weight))
|
||||
.saturating_add((3_526_000 as Weight).saturating_mul(c as Weight))
|
||||
}
|
||||
fn as_derivative() -> Weight {
|
||||
(1_740_000 as Weight)
|
||||
(5_220_000 as Weight)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn batch_all(c: u32, ) -> Weight {
|
||||
(17_846_000 as Weight)
|
||||
(20_953_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((3_074_000 as Weight).saturating_mul(c as Weight))
|
||||
.saturating_add((3_698_000 as Weight).saturating_mul(c as Weight))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
(8_741_000 as Weight)
|
||||
(12_087_000 as Weight)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn force_batch(c: u32, ) -> Weight {
|
||||
(11_543_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((2_832_000 as Weight).saturating_mul(c as Weight))
|
||||
(10_076_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((3_546_000 as Weight).saturating_mul(c as Weight))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user