mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 14:01:02 +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-19, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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 {
|
||||
(41_675_000 as Weight)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add((159_000 as Weight).saturating_mul(l as Weight))
|
||||
(42_136_000 as Weight)
|
||||
// Standard Error: 16_000
|
||||
.saturating_add((235_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_454_000 as Weight)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add((129_000 as Weight).saturating_mul(l as Weight))
|
||||
(45_276_000 as Weight)
|
||||
// Standard Error: 10_000
|
||||
.saturating_add((189_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 {
|
||||
(41_313_000 as Weight)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add((161_000 as Weight).saturating_mul(l as Weight))
|
||||
(42_030_000 as Weight)
|
||||
// Standard Error: 18_000
|
||||
.saturating_add((243_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 {
|
||||
(44_088_000 as Weight)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add((131_000 as Weight).saturating_mul(l as Weight))
|
||||
(45_211_000 as Weight)
|
||||
// Standard Error: 10_000
|
||||
.saturating_add((191_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 {
|
||||
(95_360_000 as Weight)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add((152_000 as Weight).saturating_mul(l as Weight))
|
||||
(100_375_000 as Weight)
|
||||
// Standard Error: 13_000
|
||||
.saturating_add((136_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 {
|
||||
(94_577_000 as Weight)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add((149_000 as Weight).saturating_mul(l as Weight))
|
||||
(100_907_000 as Weight)
|
||||
// Standard Error: 12_000
|
||||
.saturating_add((101_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