-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* benchmark pallet_assets * add benchmark to parallel * add to heiko * fix * bench * fix * add benchmark * bench * bench2 * apply weight to parallel * apply weight to heiko * fix error * bench3
- Loading branch information
Showing
61 changed files
with
4,009 additions
and
989 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
|
||
//! Autogenerated weights for `cumulus_pallet_xcmp_queue` | ||
//! | ||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev | ||
//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` | ||
//! HOSTNAME: `ip-172-88-3-164`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` | ||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("heiko-dev"), DB CACHE: 1024 | ||
// Executed Command: | ||
// ./target/release/parallel | ||
// benchmark | ||
// pallet | ||
// --chain=heiko-dev | ||
// --execution=wasm | ||
// --wasm-execution=compiled | ||
// --pallet=cumulus_pallet_xcmp_queue | ||
// --extrinsic=* | ||
// --steps=50 | ||
// --repeat=20 | ||
// --output=./runtime/heiko/src/weights/cumulus_pallet_xcmp_queue.rs | ||
|
||
#![cfg_attr(rustfmt, rustfmt_skip)] | ||
#![allow(unused_parens)] | ||
#![allow(unused_imports)] | ||
|
||
use frame_support::{traits::Get, weights::Weight}; | ||
use sp_std::marker::PhantomData; | ||
|
||
/// Weight functions for `cumulus_pallet_xcmp_queue`. | ||
pub struct WeightInfo<T>(PhantomData<T>); | ||
impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo<T> { | ||
// Storage: XcmpQueue QueueConfig (r:1 w:1) | ||
fn set_config_with_u32() -> Weight { | ||
(10_012_000 as Weight) | ||
.saturating_add(T::DbWeight::get().reads(1 as Weight)) | ||
.saturating_add(T::DbWeight::get().writes(1 as Weight)) | ||
} | ||
// Storage: XcmpQueue QueueConfig (r:1 w:1) | ||
fn set_config_with_weight() -> Weight { | ||
(10_079_000 as Weight) | ||
.saturating_add(T::DbWeight::get().reads(1 as Weight)) | ||
.saturating_add(T::DbWeight::get().writes(1 as Weight)) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
// This file is part of Parallel. | ||
|
||
// Copyright (C) 2020-2022 Parallel Foundation. | ||
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0 | ||
|
||
// This program is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
|
||
// This program is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU General Public License for more details. | ||
|
||
// You should have received a copy of the GNU General Public License | ||
// along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
|
||
//! Autogenerated weights for orml_oracle | ||
//! | ||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev | ||
//! DATE: 2022-10-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` | ||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("parallel-dev"), DB CACHE: 1024 | ||
// Executed Command: | ||
// ./target/release/parallel | ||
// benchmark | ||
// pallet | ||
// --chain=parallel-dev | ||
// --steps=50 | ||
// --repeat=20 | ||
// --pallet=* | ||
// --extrinsic=* | ||
// --execution=wasm | ||
// --wasm-execution=compiled | ||
// --heap-pages=4096 | ||
// --template=./templates/runtime-weight-template.hbs | ||
// --output=./runtime/parallel/src/weights/ | ||
|
||
#![cfg_attr(rustfmt, rustfmt_skip)] | ||
#![allow(unused_parens)] | ||
#![allow(unused_imports)] | ||
|
||
use frame_support::{traits::Get, weights::Weight}; | ||
use sp_std::marker::PhantomData; | ||
|
||
/// Weight functions for orml_oracle. | ||
pub struct WeightInfo<T>(PhantomData<T>); | ||
impl<T: frame_system::Config> orml_oracle::WeightInfo for WeightInfo<T> { | ||
// Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) | ||
// Storage: ParallelOracle HasDispatched (r:1 w:1) | ||
// Storage: Timestamp Now (r:1 w:0) | ||
// Storage: OperatorMembershipParallel Members (r:1 w:0) | ||
// Storage: ParallelOracle Values (r:1 w:0) | ||
// Storage: ParallelOracle RawValues (r:0 w:1) | ||
fn feed_values(c: u32, ) -> Weight { | ||
(18_441_000 as Weight) | ||
// Standard Error: 88_000 | ||
.saturating_add((6_603_000 as Weight).saturating_mul(c as Weight)) | ||
.saturating_add(T::DbWeight::get().reads(3 as Weight)) | ||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(c as Weight))) | ||
.saturating_add(T::DbWeight::get().writes(2 as Weight)) | ||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(c as Weight))) | ||
} | ||
// Storage: ParallelOracle HasDispatched (r:0 w:1) | ||
fn on_finalize() -> Weight { | ||
(3_578_000 as Weight) | ||
.saturating_add(T::DbWeight::get().writes(1 as Weight)) | ||
} | ||
} |
Oops, something went wrong.