Skip to content

Commit

Permalink
partial rebenchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
Roznovjak committed Dec 6, 2023
1 parent 584feec commit c6abed4
Show file tree
Hide file tree
Showing 27 changed files with 792 additions and 570 deletions.
1 change: 0 additions & 1 deletion pallets/marketplace/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.


//! Autogenerated weights for `pallet_marketplace`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
Expand Down
1 change: 0 additions & 1 deletion pallets/xyk-liquidity-mining/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.


//! Autogenerated weights for `pallet_xyk_liquidity_mining`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
Expand Down
1 change: 0 additions & 1 deletion runtime/basilisk/src/weights/asset_registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.


//! Autogenerated weights for `pallet_asset_registry`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
Expand Down
3 changes: 1 addition & 2 deletions runtime/basilisk/src/weights/balances.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.


//! Autogenerated weights for `pallet_balances`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
Expand Down Expand Up @@ -133,7 +132,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
/// Storage: `System::Account` (r:1000 w:1000)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// The range of component `u` is `[1, 1000]`.
fn upgrade_accounts(u: u32, ) -> Weight {
fn upgrade_accounts(u: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `0 + u * (135 ±0)`
// Estimated: `990 + u * (2603 ±0)`
Expand Down
19 changes: 8 additions & 11 deletions runtime/basilisk/src/weights/collator_selection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.


//! Autogenerated weights for `pallet_collator_selection`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
Expand Down Expand Up @@ -58,7 +57,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
/// Storage: `CollatorSelection::Invulnerables` (r:0 w:1)
/// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`)
/// The range of component `b` is `[1, 50]`.
fn set_invulnerables(b: u32, ) -> Weight {
fn set_invulnerables(b: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `205 + b * (79 ±0)`
// Estimated: `1194 + b * (2554 ±0)`
Expand All @@ -80,7 +79,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// The range of component `b` is `[1, 49]`.
/// The range of component `c` is `[1, 19]`.
fn add_invulnerable(b: u32, c: u32, ) -> Weight {
fn add_invulnerable(b: u32, c: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `853 + b * (42 ±0) + c * (48 ±0)`
// Estimated: `4355 + b * (42 ±0) + c * (46 ±0)`
Expand All @@ -100,7 +99,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
/// Storage: `CollatorSelection::Invulnerables` (r:1 w:1)
/// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`)
/// The range of component `b` is `[5, 50]`.
fn remove_invulnerable(b: u32, ) -> Weight {
fn remove_invulnerable(b: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `186 + b * (32 ±0)`
// Estimated: `3086`
Expand All @@ -118,8 +117,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 11_074_000 picoseconds.
Weight::from_parts(11_287_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
Weight::from_parts(11_287_000, 0).saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `CollatorSelection::CandidacyBond` (r:0 w:1)
/// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
Expand All @@ -128,8 +126,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 11_109_000 picoseconds.
Weight::from_parts(11_327_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
Weight::from_parts(11_327_000, 0).saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `CollatorSelection::Candidates` (r:1 w:1)
/// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`)
Expand All @@ -144,7 +141,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
/// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1)
/// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
/// The range of component `c` is `[1, 19]`.
fn register_as_candidate(c: u32, ) -> Weight {
fn register_as_candidate(c: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `621 + c * (61 ±0)`
// Estimated: `4091 + c * (61 ±0)`
Expand All @@ -163,7 +160,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
/// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1)
/// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
/// The range of component `c` is `[3, 20]`.
fn leave_intent(c: u32, ) -> Weight {
fn leave_intent(c: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `448 + c * (47 ±0)`
// Estimated: `3086`
Expand Down Expand Up @@ -201,7 +198,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// The range of component `r` is `[1, 20]`.
/// The range of component `c` is `[1, 20]`.
fn new_session(r: u32, c: u32, ) -> Weight {
fn new_session(r: u32, c: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `312 + c * (98 ±0) + r * (117 ±0)`
// Estimated: `3086 + c * (2519 ±0) + r * (2603 ±0)`
Expand Down
21 changes: 10 additions & 11 deletions runtime/basilisk/src/weights/collective.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.


//! Autogenerated weights for `pallet_collective`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
Expand Down Expand Up @@ -64,7 +63,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
/// The range of component `m` is `[0, 10]`.
/// The range of component `n` is `[0, 10]`.
/// The range of component `p` is `[0, 20]`.
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
fn set_members(m: u32, _n: u32, p: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `0 + m * (672 ±0) + p * (310 ±0)`
// Estimated: `7085 + m * (396 ±7) + p * (2539 ±3)`
Expand All @@ -85,7 +84,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
/// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 10]`.
fn execute(b: u32, m: u32, ) -> Weight {
fn execute(b: u32, m: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `70 + m * (32 ±0)`
// Estimated: `1555 + m * (32 ±0)`
Expand All @@ -104,7 +103,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
/// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 10]`.
fn propose_execute(b: u32, m: u32, ) -> Weight {
fn propose_execute(b: u32, m: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `70 + m * (32 ±0)`
// Estimated: `3535 + m * (32 ±0)`
Expand All @@ -130,7 +129,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[2, 10]`.
/// The range of component `p` is `[1, 20]`.
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
fn propose_proposed(b: u32, m: u32, p: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `128 + m * (32 ±0) + p * (52 ±0)`
// Estimated: `3529 + m * (36 ±0) + p * (54 ±0)`
Expand All @@ -152,7 +151,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
/// Storage: `TechnicalCommittee::Voting` (r:1 w:1)
/// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `m` is `[5, 10]`.
fn vote(m: u32, ) -> Weight {
fn vote(m: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `610 + m * (64 ±0)`
// Estimated: `4075 + m * (64 ±0)`
Expand All @@ -174,7 +173,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
/// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `m` is `[4, 10]`.
/// The range of component `p` is `[1, 20]`.
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
fn close_early_disapproved(m: u32, p: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `164 + m * (64 ±0) + p * (55 ±0)`
// Estimated: `3623 + m * (66 ±0) + p * (55 ±0)`
Expand All @@ -200,7 +199,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 10]`.
/// The range of component `p` is `[1, 20]`.
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
fn close_early_approved(b: u32, m: u32, p: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `66 + b * (1 ±0) + m * (64 ±0) + p * (79 ±0)`
// Estimated: `3612 + b * (1 ±0) + m * (59 ±1) + p * (76 ±0)`
Expand Down Expand Up @@ -228,7 +227,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
/// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `m` is `[4, 10]`.
/// The range of component `p` is `[1, 20]`.
fn close_disapproved(m: u32, p: u32, ) -> Weight {
fn close_disapproved(m: u32, p: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `184 + m * (64 ±0) + p * (55 ±0)`
// Estimated: `3643 + m * (66 ±0) + p * (55 ±0)`
Expand Down Expand Up @@ -256,7 +255,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 10]`.
/// The range of component `p` is `[1, 20]`.
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
fn close_approved(b: u32, m: u32, p: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `86 + b * (1 ±0) + m * (64 ±0) + p * (79 ±0)`
// Estimated: `3632 + b * (1 ±0) + m * (59 ±1) + p * (76 ±0)`
Expand All @@ -279,7 +278,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
/// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1)
/// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `p` is `[1, 20]`.
fn disapprove_proposal(p: u32, ) -> Weight {
fn disapprove_proposal(p: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `226 + p * (32 ±0)`
// Estimated: `1711 + p * (32 ±0)`
Expand Down
1 change: 0 additions & 1 deletion runtime/basilisk/src/weights/currencies.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.


//! Autogenerated weights for `pallet_currencies`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
Expand Down
26 changes: 11 additions & 15 deletions runtime/basilisk/src/weights/democracy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.


//! Autogenerated weights for `pallet_democracy`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
Expand Down Expand Up @@ -173,8 +172,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_331_000 picoseconds.
Weight::from_parts(5_514_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
Weight::from_parts(5_514_000, 0).saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `Democracy::NextExternal` (r:0 w:1)
/// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`)
Expand All @@ -183,8 +181,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_374_000 picoseconds.
Weight::from_parts(5_579_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
Weight::from_parts(5_579_000, 0).saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `Democracy::NextExternal` (r:1 w:1)
/// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`)
Expand Down Expand Up @@ -255,7 +252,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
/// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0)
/// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`)
/// The range of component `r` is `[0, 99]`.
fn on_initialize_base(r: u32, ) -> Weight {
fn on_initialize_base(r: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `125 + r * (86 ±0)`
// Estimated: `1489 + r * (2676 ±0)`
Expand All @@ -281,7 +278,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
/// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0)
/// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`)
/// The range of component `r` is `[0, 99]`.
fn on_initialize_base_with_launch_period(r: u32, ) -> Weight {
fn on_initialize_base_with_launch_period(r: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `125 + r * (86 ±0)`
// Estimated: `18187 + r * (2676 ±0)`
Expand All @@ -303,7 +300,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
/// Storage: `Balances::Freezes` (r:1 w:0)
/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`)
/// The range of component `r` is `[0, 99]`.
fn delegate(r: u32, ) -> Weight {
fn delegate(r: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `748 + r * (108 ±0)`
// Estimated: `19800 + r * (2676 ±0)`
Expand All @@ -322,7 +319,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
/// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99)
/// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`)
/// The range of component `r` is `[0, 99]`.
fn undelegate(r: u32, ) -> Weight {
fn undelegate(r: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `373 + r * (108 ±0)`
// Estimated: `13530 + r * (2676 ±0)`
Expand All @@ -343,8 +340,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_548_000 picoseconds.
Weight::from_parts(5_679_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
Weight::from_parts(5_679_000, 0).saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `Democracy::VotingOf` (r:1 w:1)
/// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`)
Expand All @@ -355,7 +351,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// The range of component `r` is `[0, 99]`.
fn unlock_remove(r: u32, ) -> Weight {
fn unlock_remove(r: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `504`
// Estimated: `7260`
Expand All @@ -375,7 +371,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// The range of component `r` is `[0, 99]`.
fn unlock_set(r: u32, ) -> Weight {
fn unlock_set(r: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `504 + r * (22 ±0)`
// Estimated: `7260`
Expand All @@ -391,7 +387,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
/// Storage: `Democracy::VotingOf` (r:1 w:1)
/// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`)
/// The range of component `r` is `[1, 100]`.
fn remove_vote(r: u32, ) -> Weight {
fn remove_vote(r: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `644 + r * (25 ±0)`
// Estimated: `7260`
Expand All @@ -407,7 +403,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
/// Storage: `Democracy::VotingOf` (r:1 w:1)
/// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`)
/// The range of component `r` is `[1, 100]`.
fn remove_other_vote(r: u32, ) -> Weight {
fn remove_other_vote(r: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `644 + r * (25 ±0)`
// Estimated: `7260`
Expand Down
4 changes: 1 addition & 3 deletions runtime/basilisk/src/weights/duster.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.


//! Autogenerated weights for `pallet_duster`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
Expand Down Expand Up @@ -83,8 +82,7 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
// Measured: `966`
// Estimated: `0`
// Minimum execution time: 21_498_000 picoseconds.
Weight::from_parts(21_926_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
Weight::from_parts(21_926_000, 0).saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `Duster::AccountBlacklist` (r:1 w:1)
/// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
Expand Down
Loading

0 comments on commit c6abed4

Please sign in to comment.