[WIP] Update weights in prep for v0.8.27 (#2097)

* Update weights for polkadot

* add Kusama weights

* add westend weights

* remove claims weight files

claims still uses in-line weights which is fine cause it is a polkadot specific pallet

Co-authored-by: Parity Benchmarking Bot <admin@parity.io>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
Martin Pugh
2020-12-10 10:13:40 +01:00
committed by GitHub
parent 0e885a3a71
commit 418f38c335
44 changed files with 1293 additions and 931 deletions
@@ -13,13 +13,14 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Weights for pallet_vesting
//! Autogenerated weights for pallet_vesting
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0
//! DATE: 2020-10-31, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128
// Executed Command:
// ./target/release/polkadot
// target/release/polkadot
// benchmark
// --chain=westend-dev
// --steps=50
@@ -43,38 +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 {
(52_570_000 as Weight)
(55_027_000 as Weight)
// Standard Error: 0
.saturating_add((130_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 {
(56_501_000 as Weight)
.saturating_add((107_000 as Weight).saturating_mul(l as Weight))
(59_131_000 as Weight)
// Standard Error: 2_000
.saturating_add((110_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 {
(52_276_000 as Weight)
.saturating_add((130_000 as Weight).saturating_mul(l as Weight))
(54_746_000 as Weight)
// Standard Error: 0
.saturating_add((126_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 {
(56_159_000 as Weight)
.saturating_add((111_000 as Weight).saturating_mul(l as Weight))
(58_988_000 as Weight)
// Standard Error: 2_000
.saturating_add((106_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 {
(115_671_000 as Weight)
.saturating_add((171_000 as Weight).saturating_mul(l as Weight))
(120_685_000 as Weight)
// Standard Error: 8_000
.saturating_add((167_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 {
(115_068_000 as Weight)
.saturating_add((167_000 as Weight).saturating_mul(l as Weight))
(119_814_000 as Weight)
// Standard Error: 8_000
.saturating_add((172_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))
}