Create Script to Run All Benchmarks (#11493)

* Create run_all_benchmarks.sh

* Update run_all_benchmarks.sh

* Update run_all_benchmarks.sh

* Review fixes

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Update scripts/run_all_benchmarks.sh

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* typo

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* add default for $1

* Typo

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Update run_all_benchmarks.sh

* new weights on benchmarking machine

* prefer `--chain=dev`

* fix compile

* fix command

* fmt

* dont use square brackets

* Extend doc

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Remove +nightly

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Add error file an run execute everything optimistically

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
Shawn Tabrizi
2022-05-23 12:56:42 -04:00
committed by GitHub
parent 8d3f692e0c
commit d9f33dc7e9
43 changed files with 2317 additions and 2169 deletions
+97 -99
View File
@@ -18,12 +18,13 @@
//! Autogenerated weights for pallet_identity
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-01-31, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-05-22, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/substrate
// benchmark
// pallet
// --chain=dev
// --steps=50
// --repeat=20
@@ -31,11 +32,8 @@
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --template=./.maintain/frame-weight-template.hbs
// --output=./frame/identity/src/weights.rs
// --template=.maintain/frame-weight-template.hbs
// --header=HEADER-APACHE2
// --raw
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -69,19 +67,19 @@ pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Identity Registrars (r:1 w:1)
fn add_registrar(r: u32, ) -> Weight {
(13_150_000 as Weight)
(13_318_000 as Weight)
// Standard Error: 3_000
.saturating_add((253_000 as Weight).saturating_mul(r as Weight))
.saturating_add((203_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Identity IdentityOf (r:1 w:1)
fn set_identity(r: u32, x: u32, ) -> Weight {
(27_745_000 as Weight)
// Standard Error: 7_000
.saturating_add((210_000 as Weight).saturating_mul(r as Weight))
(27_683_000 as Weight)
// Standard Error: 8_000
.saturating_add((242_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 1_000
.saturating_add((289_000 as Weight).saturating_mul(x as Weight))
.saturating_add((307_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -89,9 +87,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Identity SubsOf (r:1 w:1)
// Storage: Identity SuperOf (r:1 w:1)
fn set_subs_new(s: u32, ) -> Weight {
(25_184_000 as Weight)
(26_126_000 as Weight)
// Standard Error: 1_000
.saturating_add((2_722_000 as Weight).saturating_mul(s as Weight))
.saturating_add((2_826_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
@@ -101,9 +99,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Identity SubsOf (r:1 w:1)
// Storage: Identity SuperOf (r:0 w:1)
fn set_subs_old(p: u32, ) -> Weight {
(24_144_000 as Weight)
(24_645_000 as Weight)
// Standard Error: 0
.saturating_add((890_000 as Weight).saturating_mul(p as Weight))
.saturating_add((893_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight)))
@@ -112,13 +110,13 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Identity IdentityOf (r:1 w:1)
// Storage: Identity SuperOf (r:0 w:100)
fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {
(32_167_000 as Weight)
// Standard Error: 8_000
.saturating_add((46_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 0
.saturating_add((875_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0
.saturating_add((184_000 as Weight).saturating_mul(x as Weight))
(31_546_000 as Weight)
// Standard Error: 12_000
.saturating_add((110_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 1_000
.saturating_add((872_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 1_000
.saturating_add((182_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -126,56 +124,56 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Identity Registrars (r:1 w:0)
// Storage: Identity IdentityOf (r:1 w:1)
fn request_judgement(r: u32, x: u32, ) -> Weight {
(30_009_000 as Weight)
(31_117_000 as Weight)
// Standard Error: 3_000
.saturating_add((287_000 as Weight).saturating_mul(r as Weight))
.saturating_add((207_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 0
.saturating_add((331_000 as Weight).saturating_mul(x as Weight))
.saturating_add((347_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Identity IdentityOf (r:1 w:1)
fn cancel_request(r: u32, x: u32, ) -> Weight {
(28_195_000 as Weight)
(28_134_000 as Weight)
// Standard Error: 3_000
.saturating_add((137_000 as Weight).saturating_mul(r as Weight))
.saturating_add((154_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 0
.saturating_add((328_000 as Weight).saturating_mul(x as Weight))
.saturating_add((343_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Identity Registrars (r:1 w:1)
fn set_fee(r: u32, ) -> Weight {
(5_080_000 as Weight)
// Standard Error: 2_000
.saturating_add((202_000 as Weight).saturating_mul(r as Weight))
(4_884_000 as Weight)
// Standard Error: 3_000
.saturating_add((159_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Identity Registrars (r:1 w:1)
fn set_account_id(r: u32, ) -> Weight {
(5_298_000 as Weight)
(5_015_000 as Weight)
// Standard Error: 2_000
.saturating_add((195_000 as Weight).saturating_mul(r as Weight))
.saturating_add((143_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Identity Registrars (r:1 w:1)
fn set_fields(r: u32, ) -> Weight {
(5_263_000 as Weight)
// Standard Error: 2_000
.saturating_add((191_000 as Weight).saturating_mul(r as Weight))
(4_947_000 as Weight)
// Standard Error: 3_000
.saturating_add((152_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Identity Registrars (r:1 w:0)
// Storage: Identity IdentityOf (r:1 w:1)
fn provide_judgement(r: u32, x: u32, ) -> Weight {
(21_511_000 as Weight)
(20_570_000 as Weight)
// Standard Error: 3_000
.saturating_add((219_000 as Weight).saturating_mul(r as Weight))
.saturating_add((213_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 0
.saturating_add((327_000 as Weight).saturating_mul(x as Weight))
.saturating_add((345_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -184,11 +182,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: System Account (r:1 w:1)
// Storage: Identity SuperOf (r:0 w:100)
fn kill_identity(r: u32, s: u32, _x: u32, ) -> Weight {
(40_654_000 as Weight)
// Standard Error: 6_000
.saturating_add((179_000 as Weight).saturating_mul(r as Weight))
(41_448_000 as Weight)
// Standard Error: 7_000
.saturating_add((149_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 0
.saturating_add((908_000 as Weight).saturating_mul(s as Weight))
.saturating_add((882_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -197,18 +195,18 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Identity SuperOf (r:1 w:1)
// Storage: Identity SubsOf (r:1 w:1)
fn add_sub(s: u32, ) -> Weight {
(31_573_000 as Weight)
(32_346_000 as Weight)
// Standard Error: 1_000
.saturating_add((151_000 as Weight).saturating_mul(s as Weight))
.saturating_add((114_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SuperOf (r:1 w:1)
fn rename_sub(s: u32, ) -> Weight {
(10_452_000 as Weight)
(10_211_000 as Weight)
// Standard Error: 0
.saturating_add((45_000 as Weight).saturating_mul(s as Weight))
.saturating_add((51_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -216,18 +214,18 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Identity SuperOf (r:1 w:1)
// Storage: Identity SubsOf (r:1 w:1)
fn remove_sub(s: u32, ) -> Weight {
(32_711_000 as Weight)
(33_083_000 as Weight)
// Standard Error: 1_000
.saturating_add((150_000 as Weight).saturating_mul(s as Weight))
.saturating_add((112_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Identity SuperOf (r:1 w:1)
// Storage: Identity SubsOf (r:1 w:1)
fn quit_sub(s: u32, ) -> Weight {
(21_975_000 as Weight)
// Standard Error: 0
.saturating_add((149_000 as Weight).saturating_mul(s as Weight))
(22_517_000 as Weight)
// Standard Error: 1_000
.saturating_add((110_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
@@ -237,19 +235,19 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
impl WeightInfo for () {
// Storage: Identity Registrars (r:1 w:1)
fn add_registrar(r: u32, ) -> Weight {
(13_150_000 as Weight)
(13_318_000 as Weight)
// Standard Error: 3_000
.saturating_add((253_000 as Weight).saturating_mul(r as Weight))
.saturating_add((203_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Identity IdentityOf (r:1 w:1)
fn set_identity(r: u32, x: u32, ) -> Weight {
(27_745_000 as Weight)
// Standard Error: 7_000
.saturating_add((210_000 as Weight).saturating_mul(r as Weight))
(27_683_000 as Weight)
// Standard Error: 8_000
.saturating_add((242_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 1_000
.saturating_add((289_000 as Weight).saturating_mul(x as Weight))
.saturating_add((307_000 as Weight).saturating_mul(x as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -257,9 +255,9 @@ impl WeightInfo for () {
// Storage: Identity SubsOf (r:1 w:1)
// Storage: Identity SuperOf (r:1 w:1)
fn set_subs_new(s: u32, ) -> Weight {
(25_184_000 as Weight)
(26_126_000 as Weight)
// Standard Error: 1_000
.saturating_add((2_722_000 as Weight).saturating_mul(s as Weight))
.saturating_add((2_826_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
@@ -269,9 +267,9 @@ impl WeightInfo for () {
// Storage: Identity SubsOf (r:1 w:1)
// Storage: Identity SuperOf (r:0 w:1)
fn set_subs_old(p: u32, ) -> Weight {
(24_144_000 as Weight)
(24_645_000 as Weight)
// Standard Error: 0
.saturating_add((890_000 as Weight).saturating_mul(p as Weight))
.saturating_add((893_000 as Weight).saturating_mul(p as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(p as Weight)))
@@ -280,13 +278,13 @@ impl WeightInfo for () {
// Storage: Identity IdentityOf (r:1 w:1)
// Storage: Identity SuperOf (r:0 w:100)
fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {
(32_167_000 as Weight)
// Standard Error: 8_000
.saturating_add((46_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 0
.saturating_add((875_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0
.saturating_add((184_000 as Weight).saturating_mul(x as Weight))
(31_546_000 as Weight)
// Standard Error: 12_000
.saturating_add((110_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 1_000
.saturating_add((872_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 1_000
.saturating_add((182_000 as Weight).saturating_mul(x as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -294,56 +292,56 @@ impl WeightInfo for () {
// Storage: Identity Registrars (r:1 w:0)
// Storage: Identity IdentityOf (r:1 w:1)
fn request_judgement(r: u32, x: u32, ) -> Weight {
(30_009_000 as Weight)
(31_117_000 as Weight)
// Standard Error: 3_000
.saturating_add((287_000 as Weight).saturating_mul(r as Weight))
.saturating_add((207_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 0
.saturating_add((331_000 as Weight).saturating_mul(x as Weight))
.saturating_add((347_000 as Weight).saturating_mul(x as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Identity IdentityOf (r:1 w:1)
fn cancel_request(r: u32, x: u32, ) -> Weight {
(28_195_000 as Weight)
(28_134_000 as Weight)
// Standard Error: 3_000
.saturating_add((137_000 as Weight).saturating_mul(r as Weight))
.saturating_add((154_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 0
.saturating_add((328_000 as Weight).saturating_mul(x as Weight))
.saturating_add((343_000 as Weight).saturating_mul(x as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Identity Registrars (r:1 w:1)
fn set_fee(r: u32, ) -> Weight {
(5_080_000 as Weight)
// Standard Error: 2_000
.saturating_add((202_000 as Weight).saturating_mul(r as Weight))
(4_884_000 as Weight)
// Standard Error: 3_000
.saturating_add((159_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Identity Registrars (r:1 w:1)
fn set_account_id(r: u32, ) -> Weight {
(5_298_000 as Weight)
(5_015_000 as Weight)
// Standard Error: 2_000
.saturating_add((195_000 as Weight).saturating_mul(r as Weight))
.saturating_add((143_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Identity Registrars (r:1 w:1)
fn set_fields(r: u32, ) -> Weight {
(5_263_000 as Weight)
// Standard Error: 2_000
.saturating_add((191_000 as Weight).saturating_mul(r as Weight))
(4_947_000 as Weight)
// Standard Error: 3_000
.saturating_add((152_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Identity Registrars (r:1 w:0)
// Storage: Identity IdentityOf (r:1 w:1)
fn provide_judgement(r: u32, x: u32, ) -> Weight {
(21_511_000 as Weight)
(20_570_000 as Weight)
// Standard Error: 3_000
.saturating_add((219_000 as Weight).saturating_mul(r as Weight))
.saturating_add((213_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 0
.saturating_add((327_000 as Weight).saturating_mul(x as Weight))
.saturating_add((345_000 as Weight).saturating_mul(x as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -352,11 +350,11 @@ impl WeightInfo for () {
// Storage: System Account (r:1 w:1)
// Storage: Identity SuperOf (r:0 w:100)
fn kill_identity(r: u32, s: u32, _x: u32, ) -> Weight {
(40_654_000 as Weight)
// Standard Error: 6_000
.saturating_add((179_000 as Weight).saturating_mul(r as Weight))
(41_448_000 as Weight)
// Standard Error: 7_000
.saturating_add((149_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 0
.saturating_add((908_000 as Weight).saturating_mul(s as Weight))
.saturating_add((882_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -365,18 +363,18 @@ impl WeightInfo for () {
// Storage: Identity SuperOf (r:1 w:1)
// Storage: Identity SubsOf (r:1 w:1)
fn add_sub(s: u32, ) -> Weight {
(31_573_000 as Weight)
(32_346_000 as Weight)
// Standard Error: 1_000
.saturating_add((151_000 as Weight).saturating_mul(s as Weight))
.saturating_add((114_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SuperOf (r:1 w:1)
fn rename_sub(s: u32, ) -> Weight {
(10_452_000 as Weight)
(10_211_000 as Weight)
// Standard Error: 0
.saturating_add((45_000 as Weight).saturating_mul(s as Weight))
.saturating_add((51_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -384,18 +382,18 @@ impl WeightInfo for () {
// Storage: Identity SuperOf (r:1 w:1)
// Storage: Identity SubsOf (r:1 w:1)
fn remove_sub(s: u32, ) -> Weight {
(32_711_000 as Weight)
(33_083_000 as Weight)
// Standard Error: 1_000
.saturating_add((150_000 as Weight).saturating_mul(s as Weight))
.saturating_add((112_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
// Storage: Identity SuperOf (r:1 w:1)
// Storage: Identity SubsOf (r:1 w:1)
fn quit_sub(s: u32, ) -> Weight {
(21_975_000 as Weight)
// Standard Error: 0
.saturating_add((149_000 as Weight).saturating_mul(s as Weight))
(22_517_000 as Weight)
// Standard Error: 1_000
.saturating_add((110_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}