update weights (#5097)

* westend: update weights

* kusama: update weights

* polkadot: update weights

* westend: update weights (production profile)

* kusama: update weights (production profile)

* polkadot: update weights (production profile)

* kusama: update weights (production profile pt 2)

* westend: update weights (production profile pt 2)

* fixup

* fixup

* cargo run --quiet --profile=production  --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/

* cargo run --quiet --profile=production  --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/

* cargo run --quiet --profile=production  --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/

Co-authored-by: Parity Bot <admin@parity.io>
This commit is contained in:
Mara Robin B
2022-03-16 16:47:22 +01:00
committed by GitHub
parent 1d695612c4
commit 8ba34ef1fe
87 changed files with 3156 additions and 2125 deletions
@@ -1,4 +1,4 @@
// Copyright 2017-2021 Parity Technologies (UK) Ltd.
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
// This file is part of Polkadot.
// Polkadot is free software: you can redistribute it and/or modify
@@ -16,11 +16,11 @@
//! Autogenerated weights for `frame_benchmarking::baseline`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-01-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
// target/production/polkadot
// ./target/production/polkadot
// benchmark
// --chain=kusama-dev
// --steps=50
@@ -44,39 +44,37 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for WeightInfo<T> {
fn addition(_i: u32, ) -> Weight {
(128_000 as Weight)
(114_000 as Weight)
}
fn subtraction(_i: u32, ) -> Weight {
(128_000 as Weight)
(108_000 as Weight)
}
fn multiplication(_i: u32, ) -> Weight {
(133_000 as Weight)
(113_000 as Weight)
}
fn division(_i: u32, ) -> Weight {
(147_000 as Weight)
(111_000 as Weight)
}
fn hashing(i: u32, ) -> Weight {
(19_711_716_000 as Weight)
// Standard Error: 116_000
.saturating_add((320_000 as Weight).saturating_mul(i as Weight))
fn hashing(_i: u32, ) -> Weight {
(19_085_634_000 as Weight)
}
fn sr25519_verification(i: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 14_000
.saturating_add((47_625_000 as Weight).saturating_mul(i as Weight))
.saturating_add((47_267_000 as Weight).saturating_mul(i as Weight))
}
// Storage: Skipped Metadata (r:0 w:0)
fn storage_read(i: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 3_000
.saturating_add((2_027_000 as Weight).saturating_mul(i as Weight))
// Standard Error: 4_000
.saturating_add((1_988_000 as Weight).saturating_mul(i as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(i as Weight)))
}
// Storage: Skipped Metadata (r:0 w:0)
fn storage_write(i: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 0
.saturating_add((329_000 as Weight).saturating_mul(i as Weight))
.saturating_add((320_000 as Weight).saturating_mul(i as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
}
}