[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,16 +13,16 @@
// 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_timestamp
//! Autogenerated weights for pallet_timestamp
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0
//! DATE: 2020-10-30, 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("kusama-dev"), DB CACHE: 128
// Executed Command:
// ./target/release/polkadot
// target/release/polkadot
// benchmark
// --chain
// kusama-dev
// --chain=kusama-dev
// --steps=50
// --repeat=20
// --pallet=pallet_timestamp
@@ -30,8 +30,7 @@
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --header
// ./file_header.txt
// --header=./file_header.txt
// --output=./runtime/kusama/src/weights/
@@ -45,11 +44,11 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
fn set() -> Weight {
(10_514_000 as Weight)
(11_338_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn on_finalize() -> Weight {
(5_950_000 as Weight)
(6_080_000 as Weight)
}
}