mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 07:01:03 +00:00
Take into account size as well in weight limiting. (#7369)
* Take into account size as well in weight limiting. * Fix logging. * More logs. * Remove randomized selection in provisioner No longer supported by runtime. * Fix and simplify weight calculation. Random filtering of remote disputes got dropped. * Make existing tests pass. * Tests for size limiting. * Fix provisioner. * Remove rand dependency. * Better default block length for tests. * ".git/.scripts/commands/bench/bench.sh" runtime kusama runtime_parachains::paras_inherent * ".git/.scripts/commands/bench/bench.sh" runtime polkadot runtime_parachains::paras_inherent * ".git/.scripts/commands/bench/bench.sh" runtime westend runtime_parachains::paras_inherent * Update runtime/parachains/src/paras_inherent/mod.rs Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io> * Update runtime/parachains/src/paras_inherent/mod.rs Co-authored-by: Chris Sosnin <48099298+slumber@users.noreply.github.com> * Add back missing line. * Fix test. * fmt fix. * Add missing test annotation --------- Co-authored-by: eskimor <eskimor@no-such-url.com> Co-authored-by: command-bot <> Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io> Co-authored-by: Chris Sosnin <48099298+slumber@users.noreply.github.com>
This commit is contained in:
@@ -17,27 +17,26 @@
|
||||
//! Autogenerated weights for `runtime_parachains::paras_inherent`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-06-14, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2023-06-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `runner--ss9ysm1-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! HOSTNAME: `runner-xerhrdyb-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// ./target/production/polkadot
|
||||
// target/production/polkadot
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=westend-dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --no-storage-info
|
||||
// --no-median-slopes
|
||||
// --no-min-squares
|
||||
// --pallet=runtime_parachains::paras_inherent
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --json-file=/builds/parity/mirrors/polkadot/.git/.artifacts/bench.json
|
||||
// --pallet=runtime_parachains::paras_inherent
|
||||
// --chain=westend-dev
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/westend/src/weights/runtime_parachains_paras_inherent.rs
|
||||
// --output=./runtime/westend/src/weights/
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -115,11 +114,11 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `50518`
|
||||
// Estimated: `56458 + v * (23 ±0)`
|
||||
// Minimum execution time: 992_257_000 picoseconds.
|
||||
Weight::from_parts(473_224_562, 0)
|
||||
// Minimum execution time: 998_338_000 picoseconds.
|
||||
Weight::from_parts(468_412_001, 0)
|
||||
.saturating_add(Weight::from_parts(0, 56458))
|
||||
// Standard Error: 50_055
|
||||
.saturating_add(Weight::from_parts(57_274_046, 0).saturating_mul(v.into()))
|
||||
// Standard Error: 20_559
|
||||
.saturating_add(Weight::from_parts(56_965_025, 0).saturating_mul(v.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(27))
|
||||
.saturating_add(T::DbWeight::get().writes(15))
|
||||
.saturating_add(Weight::from_parts(0, 23).saturating_mul(v.into()))
|
||||
@@ -186,8 +185,8 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `42352`
|
||||
// Estimated: `48292`
|
||||
// Minimum execution time: 445_965_000 picoseconds.
|
||||
Weight::from_parts(476_329_000, 0)
|
||||
// Minimum execution time: 457_404_000 picoseconds.
|
||||
Weight::from_parts(485_416_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 48292))
|
||||
.saturating_add(T::DbWeight::get().reads(25))
|
||||
.saturating_add(T::DbWeight::get().writes(16))
|
||||
@@ -259,11 +258,11 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `42387`
|
||||
// Estimated: `48327`
|
||||
// Minimum execution time: 6_877_099_000 picoseconds.
|
||||
Weight::from_parts(1_267_644_471, 0)
|
||||
// Minimum execution time: 6_864_029_000 picoseconds.
|
||||
Weight::from_parts(1_237_704_892, 0)
|
||||
.saturating_add(Weight::from_parts(0, 48327))
|
||||
// Standard Error: 96_443
|
||||
.saturating_add(Weight::from_parts(56_535_707, 0).saturating_mul(v.into()))
|
||||
// Standard Error: 33_413
|
||||
.saturating_add(Weight::from_parts(56_199_819, 0).saturating_mul(v.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(28))
|
||||
.saturating_add(T::DbWeight::get().writes(15))
|
||||
}
|
||||
@@ -337,8 +336,8 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `42414`
|
||||
// Estimated: `48354`
|
||||
// Minimum execution time: 40_882_969_000 picoseconds.
|
||||
Weight::from_parts(45_409_238_000, 0)
|
||||
// Minimum execution time: 43_320_529_000 picoseconds.
|
||||
Weight::from_parts(45_622_613_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 48354))
|
||||
.saturating_add(T::DbWeight::get().reads(30))
|
||||
.saturating_add(T::DbWeight::get().writes(15))
|
||||
|
||||
Reference in New Issue
Block a user