add force_batch weight entry to runtimes (#5452)

This commit is contained in:
Jun Jiang authored and GitHub committed 2022-05-05 14:39:30 +00:00
1 parent 3a01f0697f
commit 2e1a3441f9
5 files changed
+203 -175

No files matched your search

+175 -175
View File
File diff suppressed because it is too large. Load diff
@@ -63,4 +63,11 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
fn dispatch_as() -> Weight {
(9_330_000 as Weight)
}
fn force_batch(c: u32, ) -> Weight {
(13_470_000 as Weight)
// Standard Error: 1_000
.saturating_add((4_229_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
}
@@ -63,4 +63,11 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
fn dispatch_as() -> Weight {
(9_202_000 as Weight)
}
fn force_batch(c: u32, ) -> Weight {
(12_678_000 as Weight)
// Standard Error: 2_000
.saturating_add((4_413_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
}
@@ -63,4 +63,11 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
fn dispatch_as() -> Weight {
(9_357_000 as Weight)
}
fn force_batch(c: u32, ) -> Weight {
(12_912_000 as Weight)
// Standard Error: 2_000
.saturating_add((4_632_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
}
@@ -63,4 +63,11 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
fn dispatch_as() -> Weight {
(9_004_000 as Weight)
}
fn force_batch(c: u32, ) -> Weight {
(12_664_000 as Weight)
// Standard Error: 2_000
.saturating_add((4_247_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
}