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

Introduce NIS functionality into Kusama/Rococo #6352

Merged
merged 14 commits into from
Dec 5, 2022
Prev Previous commit
Next Next commit
".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_nis
  • Loading branch information
command-bot committed Dec 5, 2022
commit 943f9a7cecd648d276d3c0f15c733a3773701068
52 changes: 27 additions & 25 deletions runtime/kusama/src/weights/pallet_nis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,23 @@
//! Autogenerated weights for `pallet_nis`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024

// Executed Command:
// target/production/polkadot
// /home/benchbot/cargo_target_dir/production/polkadot
// benchmark
// pallet
// --chain=kusama-dev
// --steps=50
// --repeat=20
// --pallet=pallet-nis
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json
// --pallet=pallet_nis
// --chain=kusama-dev
// --header=./file_header.txt
// --output=./runtime/kusama/src/weights/

Expand All @@ -48,37 +50,37 @@ impl<T: frame_system::Config> pallet_nis::WeightInfo for WeightInfo<T> {
// Storage: Nis QueueTotals (r:1 w:1)
/// The range of component `l` is `[0, 999]`.
fn place_bid(l: u32, ) -> Weight {
// Minimum execution time: 30_459 nanoseconds.
Weight::from_ref_time(32_349_906)
// Standard Error: 665
.saturating_add(Weight::from_ref_time(69_112).saturating_mul(l.into()))
// Minimum execution time: 31_836 nanoseconds.
Weight::from_ref_time(33_284_190)
// Standard Error: 663
.saturating_add(Weight::from_ref_time(70_316).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Nis Queues (r:1 w:1)
// Storage: Nis QueueTotals (r:1 w:1)
fn place_bid_max() -> Weight {
// Minimum execution time: 97_650 nanoseconds.
Weight::from_ref_time(98_686_000)
// Minimum execution time: 100_161 nanoseconds.
Weight::from_ref_time(102_736_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Nis Queues (r:1 w:1)
// Storage: Nis QueueTotals (r:1 w:1)
/// The range of component `l` is `[1, 1000]`.
fn retract_bid(l: u32, ) -> Weight {
// Minimum execution time: 35_900 nanoseconds.
Weight::from_ref_time(33_339_608)
// Standard Error: 622
.saturating_add(Weight::from_ref_time(56_155).saturating_mul(l.into()))
// Minimum execution time: 36_993 nanoseconds.
Weight::from_ref_time(34_181_184)
// Standard Error: 634
.saturating_add(Weight::from_ref_time(56_251).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Nis Summary (r:1 w:0)
// Storage: System Account (r:1 w:1)
fn fund_deficit() -> Weight {
// Minimum execution time: 38_649 nanoseconds.
Weight::from_ref_time(39_329_000)
// Minimum execution time: 40_822 nanoseconds.
Weight::from_ref_time(41_752_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand All @@ -88,32 +90,32 @@ impl<T: frame_system::Config> pallet_nis::WeightInfo for WeightInfo<T> {
// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn thaw() -> Weight {
// Minimum execution time: 58_772 nanoseconds.
Weight::from_ref_time(59_392_000)
// Minimum execution time: 61_305 nanoseconds.
Weight::from_ref_time(61_909_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Nis Summary (r:1 w:1)
// Storage: System Account (r:1 w:0)
// Storage: Nis QueueTotals (r:1 w:1)
fn process_queues() -> Weight {
// Minimum execution time: 30_798 nanoseconds.
Weight::from_ref_time(32_162_000)
// Minimum execution time: 32_369 nanoseconds.
Weight::from_ref_time(33_715_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Nis Queues (r:1 w:1)
fn process_queue() -> Weight {
// Minimum execution time: 3_624 nanoseconds.
Weight::from_ref_time(3_794_000)
// Minimum execution time: 4_065 nanoseconds.
Weight::from_ref_time(4_212_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:0)
// Storage: Nis Receipts (r:0 w:1)
fn process_bid() -> Weight {
// Minimum execution time: 12_102 nanoseconds.
Weight::from_ref_time(12_339_000)
// Minimum execution time: 12_606 nanoseconds.
Weight::from_ref_time(12_994_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand Down