Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Prev Previous commit
Next Next commit
cargo run --release --features=runtime-benchmarks --manifest-path=bin…
…/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_utility --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/utility/src/weights.rs --template=./.maintain/frame-weight-template.hbs
  • Loading branch information
Parity Bot committed Jul 13, 2021
commit ec935393244c8c17064650f1ae913d1cd43a6312
28 changes: 14 additions & 14 deletions frame/utility/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

//! Autogenerated weights for pallet_utility
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-06-19, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2021-07-13, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 128

// Executed Command:
Expand Down Expand Up @@ -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 {
(14_618_000 as Weight)
(17_673_000 as Weight)
// Standard Error: 0
.saturating_add((610_000 as Weight).saturating_mul(c as Weight))
.saturating_add((461_000 as Weight).saturating_mul(c as Weight))
}
fn as_derivative() -> Weight {
(3_175_000 as Weight)
(3_693_000 as Weight)
}
fn batch_all(c: u32, ) -> Weight {
(14_561_000 as Weight)
// Standard Error: 0
.saturating_add((1_013_000 as Weight).saturating_mul(c as Weight))
(21_008_000 as Weight)
// Standard Error: 1_000
.saturating_add((889_000 as Weight).saturating_mul(c as Weight))
}
}

// For backwards compatibility and tests
impl WeightInfo for () {
fn batch(c: u32, ) -> Weight {
(14_618_000 as Weight)
(17_673_000 as Weight)
// Standard Error: 0
.saturating_add((610_000 as Weight).saturating_mul(c as Weight))
.saturating_add((461_000 as Weight).saturating_mul(c as Weight))
}
fn as_derivative() -> Weight {
(3_175_000 as Weight)
(3_693_000 as Weight)
}
fn batch_all(c: u32, ) -> Weight {
(14_561_000 as Weight)
// Standard Error: 0
.saturating_add((1_013_000 as Weight).saturating_mul(c as Weight))
(21_008_000 as Weight)
// Standard Error: 1_000
.saturating_add((889_000 as Weight).saturating_mul(c as Weight))
}
}