Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Enable wasm-opt optimizations in wasm-builder #13408

Closed
wants to merge 11 commits into from
346 changes: 173 additions & 173 deletions frame/alliance/src/weights.rs

Large diffs are not rendered by default.

250 changes: 127 additions & 123 deletions frame/assets/src/weights.rs

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions frame/bags-list/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
//! Autogenerated weights for pallet_bags_list
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-03-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
Expand Down Expand Up @@ -71,8 +71,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1724`
// Estimated: `23146`
// Minimum execution time: 63_526_000 picoseconds.
Weight::from_parts(64_125_000, 23146)
// Minimum execution time: 63_781_000 picoseconds.
Weight::from_parts(64_531_000, 23146)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
Expand All @@ -88,8 +88,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1618`
// Estimated: `23074`
// Minimum execution time: 62_404_000 picoseconds.
Weight::from_parts(63_178_000, 23074)
// Minimum execution time: 61_318_000 picoseconds.
Weight::from_parts(61_925_000, 23074)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
Expand All @@ -107,8 +107,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1930`
// Estimated: `30748`
// Minimum execution time: 69_938_000 picoseconds.
Weight::from_parts(70_723_000, 30748)
// Minimum execution time: 68_670_000 picoseconds.
Weight::from_parts(69_191_000, 30748)
.saturating_add(T::DbWeight::get().reads(10_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
Expand All @@ -128,8 +128,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1724`
// Estimated: `23146`
// Minimum execution time: 63_526_000 picoseconds.
Weight::from_parts(64_125_000, 23146)
// Minimum execution time: 63_781_000 picoseconds.
Weight::from_parts(64_531_000, 23146)
.saturating_add(RocksDbWeight::get().reads(7_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
Expand All @@ -145,8 +145,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1618`
// Estimated: `23074`
// Minimum execution time: 62_404_000 picoseconds.
Weight::from_parts(63_178_000, 23074)
// Minimum execution time: 61_318_000 picoseconds.
Weight::from_parts(61_925_000, 23074)
.saturating_add(RocksDbWeight::get().reads(7_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
Expand All @@ -164,8 +164,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1930`
// Estimated: `30748`
// Minimum execution time: 69_938_000 picoseconds.
Weight::from_parts(70_723_000, 30748)
// Minimum execution time: 68_670_000 picoseconds.
Weight::from_parts(69_191_000, 30748)
.saturating_add(RocksDbWeight::get().reads(10_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
Expand Down
58 changes: 29 additions & 29 deletions frame/balances/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
//! Autogenerated weights for pallet_balances
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-03-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
Expand Down Expand Up @@ -69,8 +69,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
// Minimum execution time: 37_266_000 picoseconds.
Weight::from_parts(37_757_000, 3593)
// Minimum execution time: 37_054_000 picoseconds.
Weight::from_parts(37_434_000, 3593)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -80,8 +80,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
// Minimum execution time: 28_782_000 picoseconds.
Weight::from_parts(29_185_000, 3593)
// Minimum execution time: 27_688_000 picoseconds.
Weight::from_parts(28_433_000, 3593)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -91,8 +91,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `3593`
// Minimum execution time: 17_406_000 picoseconds.
Weight::from_parts(17_781_000, 3593)
// Minimum execution time: 17_320_000 picoseconds.
Weight::from_parts(17_822_000, 3593)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -102,8 +102,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `3593`
// Minimum execution time: 20_942_000 picoseconds.
Weight::from_parts(21_270_000, 3593)
// Minimum execution time: 20_901_000 picoseconds.
Weight::from_parts(21_268_000, 3593)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -113,8 +113,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `103`
// Estimated: `6196`
// Minimum execution time: 41_706_000 picoseconds.
Weight::from_parts(42_176_000, 6196)
// Minimum execution time: 38_580_000 picoseconds.
Weight::from_parts(39_244_000, 6196)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
Expand All @@ -124,8 +124,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
// Minimum execution time: 35_622_000 picoseconds.
Weight::from_parts(35_943_000, 3593)
// Minimum execution time: 34_773_000 picoseconds.
Weight::from_parts(35_370_000, 3593)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -135,8 +135,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `3593`
// Minimum execution time: 16_586_000 picoseconds.
Weight::from_parts(17_352_000, 3593)
// Minimum execution time: 16_256_000 picoseconds.
Weight::from_parts(16_586_000, 3593)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -150,8 +150,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
// Minimum execution time: 37_266_000 picoseconds.
Weight::from_parts(37_757_000, 3593)
// Minimum execution time: 37_054_000 picoseconds.
Weight::from_parts(37_434_000, 3593)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
Expand All @@ -161,8 +161,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
// Minimum execution time: 28_782_000 picoseconds.
Weight::from_parts(29_185_000, 3593)
// Minimum execution time: 27_688_000 picoseconds.
Weight::from_parts(28_433_000, 3593)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
Expand All @@ -172,8 +172,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `3593`
// Minimum execution time: 17_406_000 picoseconds.
Weight::from_parts(17_781_000, 3593)
// Minimum execution time: 17_320_000 picoseconds.
Weight::from_parts(17_822_000, 3593)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
Expand All @@ -183,8 +183,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `3593`
// Minimum execution time: 20_942_000 picoseconds.
Weight::from_parts(21_270_000, 3593)
// Minimum execution time: 20_901_000 picoseconds.
Weight::from_parts(21_268_000, 3593)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
Expand All @@ -194,8 +194,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `103`
// Estimated: `6196`
// Minimum execution time: 41_706_000 picoseconds.
Weight::from_parts(42_176_000, 6196)
// Minimum execution time: 38_580_000 picoseconds.
Weight::from_parts(39_244_000, 6196)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
Expand All @@ -205,8 +205,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
// Minimum execution time: 35_622_000 picoseconds.
Weight::from_parts(35_943_000, 3593)
// Minimum execution time: 34_773_000 picoseconds.
Weight::from_parts(35_370_000, 3593)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
Expand All @@ -216,8 +216,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `3593`
// Minimum execution time: 16_586_000 picoseconds.
Weight::from_parts(17_352_000, 3593)
// Minimum execution time: 16_256_000 picoseconds.
Weight::from_parts(16_586_000, 3593)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
Expand Down
58 changes: 29 additions & 29 deletions frame/benchmarking/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
//! Autogenerated weights for frame_benchmarking
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-03-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
Expand Down Expand Up @@ -67,49 +67,49 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 205_000 picoseconds.
Weight::from_parts(263_483, 0)
// Minimum execution time: 159_000 picoseconds.
Weight::from_parts(218_524, 0)
}
/// The range of component `i` is `[0, 1000000]`.
fn subtraction(_i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 186_000 picoseconds.
Weight::from_parts(257_588, 0)
// Minimum execution time: 163_000 picoseconds.
Weight::from_parts(200_464, 0)
}
/// The range of component `i` is `[0, 1000000]`.
fn multiplication(_i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 192_000 picoseconds.
Weight::from_parts(264_271, 0)
// Minimum execution time: 163_000 picoseconds.
Weight::from_parts(197_323, 0)
}
/// The range of component `i` is `[0, 1000000]`.
fn division(_i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 191_000 picoseconds.
Weight::from_parts(250_785, 0)
// Minimum execution time: 171_000 picoseconds.
Weight::from_parts(215_113, 0)
}
fn hashing() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 21_405_207_000 picoseconds.
Weight::from_parts(21_534_243_000, 0)
// Minimum execution time: 21_308_694_000 picoseconds.
Weight::from_parts(21_455_067_000, 0)
}
/// The range of component `i` is `[0, 100]`.
fn sr25519_verification(i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 255_000 picoseconds.
Weight::from_parts(271_000, 0)
// Standard Error: 12_788
.saturating_add(Weight::from_parts(47_469_387, 0).saturating_mul(i.into()))
// Minimum execution time: 235_000 picoseconds.
Weight::from_parts(240_000, 0)
// Standard Error: 11_834
.saturating_add(Weight::from_parts(47_423_400, 0).saturating_mul(i.into()))
}
}

Expand All @@ -120,48 +120,48 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 205_000 picoseconds.
Weight::from_parts(263_483, 0)
// Minimum execution time: 159_000 picoseconds.
Weight::from_parts(218_524, 0)
}
/// The range of component `i` is `[0, 1000000]`.
fn subtraction(_i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 186_000 picoseconds.
Weight::from_parts(257_588, 0)
// Minimum execution time: 163_000 picoseconds.
Weight::from_parts(200_464, 0)
}
/// The range of component `i` is `[0, 1000000]`.
fn multiplication(_i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 192_000 picoseconds.
Weight::from_parts(264_271, 0)
// Minimum execution time: 163_000 picoseconds.
Weight::from_parts(197_323, 0)
}
/// The range of component `i` is `[0, 1000000]`.
fn division(_i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 191_000 picoseconds.
Weight::from_parts(250_785, 0)
// Minimum execution time: 171_000 picoseconds.
Weight::from_parts(215_113, 0)
}
fn hashing() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 21_405_207_000 picoseconds.
Weight::from_parts(21_534_243_000, 0)
// Minimum execution time: 21_308_694_000 picoseconds.
Weight::from_parts(21_455_067_000, 0)
}
/// The range of component `i` is `[0, 100]`.
fn sr25519_verification(i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 255_000 picoseconds.
Weight::from_parts(271_000, 0)
// Standard Error: 12_788
.saturating_add(Weight::from_parts(47_469_387, 0).saturating_mul(i.into()))
// Minimum execution time: 235_000 picoseconds.
Weight::from_parts(240_000, 0)
// Standard Error: 11_834
.saturating_add(Weight::from_parts(47_423_400, 0).saturating_mul(i.into()))
}
}
Loading