This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
add weights that need to be generated for rococo #5052
Merged
Merged
Changes from all commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
99ad878
add weights that need to be generated for rococo
brunopgalvao f3966d0
remove frame_system
brunopgalvao 3086a9f
touch balances weight file
brunopgalvao f5b73eb
add empty im-online weight file
brunopgalvao e6e6a0b
add empty pallet indices weight file
brunopgalvao a79546b
add empty pallet multisig weight file
brunopgalvao 7d87439
add empty pallet proxy weight file
brunopgalvao 87554cf
add empty pallet session weight file
brunopgalvao 3183510
add empty pallet timestamp weight file
brunopgalvao a6e431a
add empty pallet utility weight file
brunopgalvao d9daff8
add empty para pallets weight files
brunopgalvao 5259233
remove utility for now
brunopgalvao e92fa94
Merge branch 'master' of https://github.com/paritytech/polkadot into …
d79a223
cargo run --quiet --profile=production --features=runtime-benchmarks…
eac4c95
cargo run --quiet --profile=production --features=runtime-benchmarks…
6adbf04
Merge branch 'master' of https://github.com/paritytech/polkadot into …
d0531f8
cargo run --quiet --profile=production --features=runtime-benchmarks…
fefaa65
Merge branch 'master' of https://github.com/paritytech/polkadot into …
9886887
cargo run --quiet --profile=production --features=runtime-benchmarks…
38214e0
cargo run --quiet --profile=production --features=runtime-benchmarks…
0488b49
Merge branch 'master' of https://github.com/paritytech/polkadot into …
f0e919a
cargo run --quiet --profile=production --features=runtime-benchmarks…
70a75ad
Merge branch 'master' of https://github.com/paritytech/polkadot into …
0af49c1
cargo run --quiet --profile=production --features=runtime-benchmarks…
9d23a6b
Merge branch 'master' of https://github.com/paritytech/polkadot into …
7924a15
cargo run --quiet --profile=production --features=runtime-benchmarks…
6b115ce
cargo run --quiet --profile=production --features=runtime-benchmarks…
8bae26c
cargo run --quiet --profile=production --features=runtime-benchmarks…
426baee
cargo run --quiet --profile=production --features=runtime-benchmarks…
696546b
Merge branch 'master' of https://github.com/paritytech/polkadot into …
84d500f
cargo run --quiet --profile=production --features=runtime-benchmarks…
1dd3d43
Merge branch 'master' of https://github.com/paritytech/polkadot into …
7c89d28
cargo run --quiet --profile=production --features=runtime-benchmarks…
098aec7
cargo run --quiet --profile=production --features=runtime-benchmarks…
698edca
update ump for weights sink_process_upward_message -> process_upward_…
nuke-web3 3cd6b49
Merge branch 'master' of https://github.com/paritytech/polkadot into …
cd3b046
cargo run --quiet --profile=production --features=runtime-benchmarks…
ca04dc5
cargo run --quiet --profile=production --features=runtime-benchmarks…
8f2ad0a
add frame_system weights for Rococo
brunopgalvao 6282974
Merge branch 'rococo-weights' of https://github.com/paritytech/polkad…
brunopgalvao b01c3f8
Merge branch 'master' of https://github.com/paritytech/polkadot into …
a0f8c8a
cargo run --quiet --profile=production --features=runtime-benchmarks…
c0ace0b
add pallet-utility runtime benchmarks
brunopgalvao 1c51ef5
Merge branch 'rococo-weights' of https://github.com/paritytech/polkad…
brunopgalvao 8c4ad25
add utility benchmark
brunopgalvao fd2e837
add utility pallet
brunopgalvao 416a123
Merge branch 'master' of https://github.com/paritytech/polkadot into …
bc2c493
cargo run --quiet --profile=production --features=runtime-benchmarks…
9c7b9ff
Merge branch 'master' into rococo-weights
brunopgalvao fe96f36
fix cargo format issues
brunopgalvao 0d1d3c4
Merge branch 'rococo-weights' of https://github.com/paritytech/polkad…
brunopgalvao 1af0a64
Merge remote-tracking branch 'origin/master' into rococo-weights
brunopgalvao dd92016
add pallet_session weights
brunopgalvao 8878f28
remove newline
brunopgalvao 4992520
use some of the new weights
shawntabrizi 04ea6dd
add pallet-utility/std
brunopgalvao 7b36b50
Merge branch 'rococo-weights' of https://github.com/paritytech/polkad…
brunopgalvao b9b811a
add collective and membership benchmarks
brunopgalvao 8a02fac
add WeightInfo
brunopgalvao 0d26529
copy weights from Polkadot for now, needs to be updated with relevant…
brunopgalvao 08fa45d
add weights
brunopgalvao 5a3095f
copy weights from Polkadot pallet session
brunopgalvao b9bfe9b
remove newline
brunopgalvao File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,82 @@ | ||
| // Copyright 2017-2022 Parity Technologies (UK) Ltd. | ||
| // This file is part of Polkadot. | ||
|
|
||
| // Polkadot 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. | ||
|
|
||
| // Polkadot 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 Polkadot. If not, see <http://www.gnu.org/licenses/>. | ||
| //! Autogenerated weights for `frame_system` | ||
| //! | ||
| //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev | ||
| //! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` | ||
| //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 | ||
|
|
||
| // Executed Command: | ||
| // target/production/polkadot | ||
| // benchmark | ||
| // --chain=rococo-dev | ||
| // --steps=50 | ||
| // --repeat=20 | ||
| // --pallet=frame_system | ||
| // --extrinsic=* | ||
| // --execution=wasm | ||
| // --wasm-execution=compiled | ||
| // --heap-pages=4096 | ||
| // --header=./file_header.txt | ||
| // --output=./runtime/rococo/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 `frame_system`. | ||
| pub struct WeightInfo<T>(PhantomData<T>); | ||
| impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> { | ||
| fn remark(_b: u32, ) -> Weight { | ||
| (0 as Weight) | ||
| } | ||
| fn remark_with_event(b: u32, ) -> Weight { | ||
| (0 as Weight) | ||
| // Standard Error: 0 | ||
| .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) | ||
| } | ||
| // Storage: System Digest (r:1 w:1) | ||
| // Storage: unknown [0x3a686561707061676573] (r:0 w:1) | ||
| fn set_heap_pages() -> Weight { | ||
| (2_271_000 as Weight) | ||
| .saturating_add(T::DbWeight::get().reads(1 as Weight)) | ||
| .saturating_add(T::DbWeight::get().writes(2 as Weight)) | ||
| } | ||
| // Storage: Skipped Metadata (r:0 w:0) | ||
| fn set_storage(i: u32, ) -> Weight { | ||
| (0 as Weight) | ||
| // Standard Error: 0 | ||
| .saturating_add((320_000 as Weight).saturating_mul(i as Weight)) | ||
| .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) | ||
| } | ||
| // Storage: Skipped Metadata (r:0 w:0) | ||
| fn kill_storage(i: u32, ) -> Weight { | ||
| (0 as Weight) | ||
| // Standard Error: 0 | ||
| .saturating_add((232_000 as Weight).saturating_mul(i as Weight)) | ||
| .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) | ||
| } | ||
| // Storage: Skipped Metadata (r:0 w:0) | ||
| fn kill_prefix(p: u32, ) -> Weight { | ||
| (0 as Weight) | ||
| // Standard Error: 0 | ||
| .saturating_add((588_000 as Weight).saturating_mul(p as Weight)) | ||
| .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) | ||
| } | ||
| } |
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.