mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 18:37:59 +00:00
New Weights for All Pallets (#9148)
* Create run_benchmarks.sh * Update run_benchmarks.sh * new weights * Delete run_benchmarks.sh * wrong folder * remove grandpa weight * Update weights.rs
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
//! Autogenerated weights for pallet_utility
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-06-03, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2021-06-19, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 128
|
||||
|
||||
// Executed Command:
|
||||
@@ -53,33 +53,33 @@ pub trait WeightInfo {
|
||||
pub struct SubstrateWeight<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn batch(c: u32, ) -> Weight {
|
||||
(19_099_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((640_000 as Weight).saturating_mul(c as Weight))
|
||||
(14_618_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((610_000 as Weight).saturating_mul(c as Weight))
|
||||
}
|
||||
fn as_derivative() -> Weight {
|
||||
(3_701_000 as Weight)
|
||||
(3_175_000 as Weight)
|
||||
}
|
||||
fn batch_all(c: u32, ) -> Weight {
|
||||
(19_199_000 as Weight)
|
||||
(14_561_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((1_061_000 as Weight).saturating_mul(c as Weight))
|
||||
.saturating_add((1_013_000 as Weight).saturating_mul(c as Weight))
|
||||
}
|
||||
}
|
||||
|
||||
// For backwards compatibility and tests
|
||||
impl WeightInfo for () {
|
||||
fn batch(c: u32, ) -> Weight {
|
||||
(19_099_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((640_000 as Weight).saturating_mul(c as Weight))
|
||||
(14_618_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((610_000 as Weight).saturating_mul(c as Weight))
|
||||
}
|
||||
fn as_derivative() -> Weight {
|
||||
(3_701_000 as Weight)
|
||||
(3_175_000 as Weight)
|
||||
}
|
||||
fn batch_all(c: u32, ) -> Weight {
|
||||
(19_199_000 as Weight)
|
||||
(14_561_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((1_061_000 as Weight).saturating_mul(c as Weight))
|
||||
.saturating_add((1_013_000 as Weight).saturating_mul(c as Weight))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user