mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 07:01:03 +00:00
Update all weights, add run_all_benches.sh script (#3400)
* update all weights * add run_all_benches.sh
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
//! Autogenerated weights for pallet_vesting
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-06-18, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2021-07-02, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,44 +44,44 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
fn vest_locked(l: u32, ) -> Weight {
|
||||
(40_663_000 as Weight)
|
||||
// Standard Error: 20_000
|
||||
.saturating_add((232_000 as Weight).saturating_mul(l as Weight))
|
||||
(42_241_000 as Weight)
|
||||
// Standard Error: 13_000
|
||||
.saturating_add((220_000 as Weight).saturating_mul(l as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn vest_unlocked(l: u32, ) -> Weight {
|
||||
(44_310_000 as Weight)
|
||||
// Standard Error: 11_000
|
||||
.saturating_add((172_000 as Weight).saturating_mul(l as Weight))
|
||||
(45_263_000 as Weight)
|
||||
// Standard Error: 10_000
|
||||
.saturating_add((188_000 as Weight).saturating_mul(l as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn vest_other_locked(l: u32, ) -> Weight {
|
||||
(40_981_000 as Weight)
|
||||
// Standard Error: 19_000
|
||||
.saturating_add((218_000 as Weight).saturating_mul(l as Weight))
|
||||
(41_538_000 as Weight)
|
||||
// Standard Error: 17_000
|
||||
.saturating_add((239_000 as Weight).saturating_mul(l as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn vest_other_unlocked(l: u32, ) -> Weight {
|
||||
(43_731_000 as Weight)
|
||||
// Standard Error: 16_000
|
||||
.saturating_add((194_000 as Weight).saturating_mul(l as Weight))
|
||||
(44_715_000 as Weight)
|
||||
// Standard Error: 13_000
|
||||
.saturating_add((207_000 as Weight).saturating_mul(l as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn vested_transfer(l: u32, ) -> Weight {
|
||||
(96_952_000 as Weight)
|
||||
// Standard Error: 15_000
|
||||
.saturating_add((206_000 as Weight).saturating_mul(l as Weight))
|
||||
(100_413_000 as Weight)
|
||||
// Standard Error: 13_000
|
||||
.saturating_add((103_000 as Weight).saturating_mul(l as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn force_vested_transfer(l: u32, ) -> Weight {
|
||||
(96_519_000 as Weight)
|
||||
// Standard Error: 15_000
|
||||
.saturating_add((204_000 as Weight).saturating_mul(l as Weight))
|
||||
(99_525_000 as Weight)
|
||||
// Standard Error: 13_000
|
||||
.saturating_add((108_000 as Weight).saturating_mul(l as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user