mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-16 20:11:03 +00:00
Update benchmarking macros (#3934)
Current benchmarking macro returns a closure with the captured
benchmarked code.
This can cause issues when the benchmarked code has complex lifetime
requirements.
This PR updates the existing macro by injecting the recording parameter
and invoking the start / stop method around the benchmarked block
instead of returning a closure
One other added benefit is that you can write this kind of code now as
well:
```rust
let v;
#[block]
{ v = func.call(); }
dbg!(v); // or assert something on v
```
[Weights compare
link](https://weights.tasty.limo/compare?unit=weight&ignore_errors=true&threshold=10&method=asymptotic&repo=polkadot-sdk&old=pg/fix-weights&new=pg/bench_update&path_pattern=substrate/frame/**/src/weights.rs,polkadot/runtime/*/src/weights/**/*.rs,polkadot/bridges/modules/*/src/weights.rs,cumulus/**/weights/*.rs,cumulus/**/weights/xcm/*.rs,cumulus/**/src/weights.rs)
---------
Co-authored-by: command-bot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Alexander Theißen <alex.theissen@me.com>
This commit is contained in:
Generated
+118
-116
@@ -17,26 +17,28 @@
|
||||
|
||||
//! Autogenerated weights for `pallet_vesting`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-10-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
|
||||
//! DATE: 2024-04-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `runner-vmdtonbz-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! HOSTNAME: `runner-anb7yjbi-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024`
|
||||
|
||||
// Executed Command:
|
||||
// target/production/substrate-node
|
||||
// ./target/production/substrate-node
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_vesting
|
||||
// --no-storage-info
|
||||
// --no-median-slopes
|
||||
// --no-min-squares
|
||||
// --extrinsic=*
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --json-file=/builds/parity/mirrors/polkadot-sdk/.git/.artifacts/bench.json
|
||||
// --pallet=pallet_vesting
|
||||
// --chain=dev
|
||||
// --header=./substrate/HEADER-APACHE2
|
||||
// --output=./substrate/frame/vesting/src/weights.rs
|
||||
// --header=./substrate/HEADER-APACHE2
|
||||
// --template=./substrate/.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
@@ -75,12 +77,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `381 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 32_846_000 picoseconds.
|
||||
Weight::from_parts(30_974_459, 4764)
|
||||
// Standard Error: 1_755
|
||||
.saturating_add(Weight::from_parts(73_138, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_123
|
||||
.saturating_add(Weight::from_parts(82_417, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 32_202_000 picoseconds.
|
||||
Weight::from_parts(31_586_520, 4764)
|
||||
// Standard Error: 1_513
|
||||
.saturating_add(Weight::from_parts(67_257, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 2_693
|
||||
.saturating_add(Weight::from_parts(69_725, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -96,12 +98,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `381 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 34_360_000 picoseconds.
|
||||
Weight::from_parts(34_964_080, 4764)
|
||||
// Standard Error: 1_996
|
||||
.saturating_add(Weight::from_parts(48_024, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_552
|
||||
.saturating_add(Weight::from_parts(34_411, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 34_847_000 picoseconds.
|
||||
Weight::from_parts(34_690_456, 4764)
|
||||
// Standard Error: 1_681
|
||||
.saturating_add(Weight::from_parts(51_103, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 2_991
|
||||
.saturating_add(Weight::from_parts(55_094, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -119,12 +121,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `484 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 33_859_000 picoseconds.
|
||||
Weight::from_parts(32_950_681, 4764)
|
||||
// Standard Error: 1_745
|
||||
.saturating_add(Weight::from_parts(69_323, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_105
|
||||
.saturating_add(Weight::from_parts(86_370, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 34_027_000 picoseconds.
|
||||
Weight::from_parts(33_353_168, 4764)
|
||||
// Standard Error: 1_477
|
||||
.saturating_add(Weight::from_parts(72_605, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 2_629
|
||||
.saturating_add(Weight::from_parts(64_115, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -142,12 +144,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `484 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 36_239_000 picoseconds.
|
||||
Weight::from_parts(36_459_756, 4764)
|
||||
// Standard Error: 2_051
|
||||
.saturating_add(Weight::from_parts(56_670, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_650
|
||||
.saturating_add(Weight::from_parts(49_663, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 36_816_000 picoseconds.
|
||||
Weight::from_parts(36_467_447, 4764)
|
||||
// Standard Error: 1_689
|
||||
.saturating_add(Weight::from_parts(51_855, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_006
|
||||
.saturating_add(Weight::from_parts(58_233, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -165,12 +167,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `555 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 70_330_000 picoseconds.
|
||||
Weight::from_parts(71_196_328, 4764)
|
||||
// Standard Error: 2_923
|
||||
.saturating_add(Weight::from_parts(67_238, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 5_201
|
||||
.saturating_add(Weight::from_parts(89_102, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 70_906_000 picoseconds.
|
||||
Weight::from_parts(72_663_428, 4764)
|
||||
// Standard Error: 2_877
|
||||
.saturating_add(Weight::from_parts(81_242, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 5_118
|
||||
.saturating_add(Weight::from_parts(103_344, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -188,12 +190,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `658 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `6196`
|
||||
// Minimum execution time: 70_235_000 picoseconds.
|
||||
Weight::from_parts(71_960_020, 6196)
|
||||
// Standard Error: 2_493
|
||||
.saturating_add(Weight::from_parts(64_835, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 4_436
|
||||
.saturating_add(Weight::from_parts(102_159, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 72_730_000 picoseconds.
|
||||
Weight::from_parts(75_050_411, 6196)
|
||||
// Standard Error: 2_748
|
||||
.saturating_add(Weight::from_parts(73_218, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 4_889
|
||||
.saturating_add(Weight::from_parts(112_868, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -211,12 +213,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `482 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 34_352_000 picoseconds.
|
||||
Weight::from_parts(33_697_027, 4764)
|
||||
// Standard Error: 2_008
|
||||
.saturating_add(Weight::from_parts(79_270, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_710
|
||||
.saturating_add(Weight::from_parts(60_691, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 34_698_000 picoseconds.
|
||||
Weight::from_parts(34_504_324, 4764)
|
||||
// Standard Error: 1_703
|
||||
.saturating_add(Weight::from_parts(56_321, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_145
|
||||
.saturating_add(Weight::from_parts(55_503, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -234,12 +236,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `482 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 37_467_000 picoseconds.
|
||||
Weight::from_parts(36_866_847, 4764)
|
||||
// Standard Error: 1_692
|
||||
.saturating_add(Weight::from_parts(57_882, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_124
|
||||
.saturating_add(Weight::from_parts(80_266, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 36_951_000 picoseconds.
|
||||
Weight::from_parts(37_020_649, 4764)
|
||||
// Standard Error: 1_791
|
||||
.saturating_add(Weight::from_parts(65_437, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_308
|
||||
.saturating_add(Weight::from_parts(54_146, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -257,12 +259,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `555 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 41_497_000 picoseconds.
|
||||
Weight::from_parts(38_763_834, 4764)
|
||||
// Standard Error: 2_030
|
||||
.saturating_add(Weight::from_parts(99_580, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_750
|
||||
.saturating_add(Weight::from_parts(132_188, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 38_849_000 picoseconds.
|
||||
Weight::from_parts(38_488_577, 4764)
|
||||
// Standard Error: 1_911
|
||||
.saturating_add(Weight::from_parts(72_338, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_529
|
||||
.saturating_add(Weight::from_parts(62_206, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -282,12 +284,12 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `381 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 32_846_000 picoseconds.
|
||||
Weight::from_parts(30_974_459, 4764)
|
||||
// Standard Error: 1_755
|
||||
.saturating_add(Weight::from_parts(73_138, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_123
|
||||
.saturating_add(Weight::from_parts(82_417, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 32_202_000 picoseconds.
|
||||
Weight::from_parts(31_586_520, 4764)
|
||||
// Standard Error: 1_513
|
||||
.saturating_add(Weight::from_parts(67_257, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 2_693
|
||||
.saturating_add(Weight::from_parts(69_725, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -303,12 +305,12 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `381 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 34_360_000 picoseconds.
|
||||
Weight::from_parts(34_964_080, 4764)
|
||||
// Standard Error: 1_996
|
||||
.saturating_add(Weight::from_parts(48_024, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_552
|
||||
.saturating_add(Weight::from_parts(34_411, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 34_847_000 picoseconds.
|
||||
Weight::from_parts(34_690_456, 4764)
|
||||
// Standard Error: 1_681
|
||||
.saturating_add(Weight::from_parts(51_103, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 2_991
|
||||
.saturating_add(Weight::from_parts(55_094, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -326,12 +328,12 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `484 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 33_859_000 picoseconds.
|
||||
Weight::from_parts(32_950_681, 4764)
|
||||
// Standard Error: 1_745
|
||||
.saturating_add(Weight::from_parts(69_323, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_105
|
||||
.saturating_add(Weight::from_parts(86_370, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 34_027_000 picoseconds.
|
||||
Weight::from_parts(33_353_168, 4764)
|
||||
// Standard Error: 1_477
|
||||
.saturating_add(Weight::from_parts(72_605, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 2_629
|
||||
.saturating_add(Weight::from_parts(64_115, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -349,12 +351,12 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `484 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 36_239_000 picoseconds.
|
||||
Weight::from_parts(36_459_756, 4764)
|
||||
// Standard Error: 2_051
|
||||
.saturating_add(Weight::from_parts(56_670, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_650
|
||||
.saturating_add(Weight::from_parts(49_663, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 36_816_000 picoseconds.
|
||||
Weight::from_parts(36_467_447, 4764)
|
||||
// Standard Error: 1_689
|
||||
.saturating_add(Weight::from_parts(51_855, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_006
|
||||
.saturating_add(Weight::from_parts(58_233, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -372,12 +374,12 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `555 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 70_330_000 picoseconds.
|
||||
Weight::from_parts(71_196_328, 4764)
|
||||
// Standard Error: 2_923
|
||||
.saturating_add(Weight::from_parts(67_238, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 5_201
|
||||
.saturating_add(Weight::from_parts(89_102, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 70_906_000 picoseconds.
|
||||
Weight::from_parts(72_663_428, 4764)
|
||||
// Standard Error: 2_877
|
||||
.saturating_add(Weight::from_parts(81_242, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 5_118
|
||||
.saturating_add(Weight::from_parts(103_344, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -395,12 +397,12 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `658 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `6196`
|
||||
// Minimum execution time: 70_235_000 picoseconds.
|
||||
Weight::from_parts(71_960_020, 6196)
|
||||
// Standard Error: 2_493
|
||||
.saturating_add(Weight::from_parts(64_835, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 4_436
|
||||
.saturating_add(Weight::from_parts(102_159, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 72_730_000 picoseconds.
|
||||
Weight::from_parts(75_050_411, 6196)
|
||||
// Standard Error: 2_748
|
||||
.saturating_add(Weight::from_parts(73_218, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 4_889
|
||||
.saturating_add(Weight::from_parts(112_868, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(5_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -418,12 +420,12 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `482 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 34_352_000 picoseconds.
|
||||
Weight::from_parts(33_697_027, 4764)
|
||||
// Standard Error: 2_008
|
||||
.saturating_add(Weight::from_parts(79_270, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_710
|
||||
.saturating_add(Weight::from_parts(60_691, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 34_698_000 picoseconds.
|
||||
Weight::from_parts(34_504_324, 4764)
|
||||
// Standard Error: 1_703
|
||||
.saturating_add(Weight::from_parts(56_321, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_145
|
||||
.saturating_add(Weight::from_parts(55_503, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -441,12 +443,12 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `482 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 37_467_000 picoseconds.
|
||||
Weight::from_parts(36_866_847, 4764)
|
||||
// Standard Error: 1_692
|
||||
.saturating_add(Weight::from_parts(57_882, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_124
|
||||
.saturating_add(Weight::from_parts(80_266, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 36_951_000 picoseconds.
|
||||
Weight::from_parts(37_020_649, 4764)
|
||||
// Standard Error: 1_791
|
||||
.saturating_add(Weight::from_parts(65_437, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_308
|
||||
.saturating_add(Weight::from_parts(54_146, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -464,12 +466,12 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `555 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 41_497_000 picoseconds.
|
||||
Weight::from_parts(38_763_834, 4764)
|
||||
// Standard Error: 2_030
|
||||
.saturating_add(Weight::from_parts(99_580, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_750
|
||||
.saturating_add(Weight::from_parts(132_188, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 38_849_000 picoseconds.
|
||||
Weight::from_parts(38_488_577, 4764)
|
||||
// Standard Error: 1_911
|
||||
.saturating_add(Weight::from_parts(72_338, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_529
|
||||
.saturating_add(Weight::from_parts(62_206, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user