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 2.6k
Create benchmark for the system::set_code instrisic
#13373
Merged
paritytech-processbot
merged 33 commits into
paritytech:master
from
hirschenberger:issue_13192
May 11, 2023
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
1fe4c80
Still WIP
hirschenberger 9546674
Still WIP
hirschenberger fbe6aff
Add benchmark for system::set_code intrinsic
hirschenberger 053c682
Fix format
hirschenberger e413564
Add missing benchmark runtime
hirschenberger c069a65
Fix lint warning
hirschenberger 6406281
Consume the rest of the block and add test verification after the ben…
hirschenberger c480343
Rewrite set_code function
hirschenberger 3f8b72a
Try to fix benchmarks and tests
hirschenberger f21ccc0
Remove weight tags
hirschenberger 34f66a5
Update frame/system/src/tests.rs
hirschenberger a1f901d
Register ReadRuntimeVersionExt for benches
ggwpez 8617622
Merge remote-tracking branch 'origin/master' into issue_13192
hirschenberger 0317a8b
Fix tests
hirschenberger 5bfdb2d
Fix deprecations
hirschenberger ee261b5
Fix deprecations
hirschenberger e4ab3af
Merge branch 'master' of https://github.com/paritytech/substrate into…
6eb79f4
".git/.scripts/commands/bench/bench.sh" pallet dev frame_system
6c4cd80
Merge branch 'issue_13192' of https://github.com/hirschenberger/subst…
hirschenberger eca7ea7
Add update info and remove obsolete complexity comments.
hirschenberger f0806b0
".git/.scripts/commands/fmt/fmt.sh"
a4b0817
Update frame/system/src/lib.rs
hirschenberger 117434b
Update frame/system/src/lib.rs
hirschenberger 80c6fd2
Update frame/system/src/lib.rs
hirschenberger 400474f
Update frame/system/src/lib.rs
hirschenberger 058c8e6
Update frame/system/benchmarking/src/lib.rs
hirschenberger 134672f
".git/.scripts/commands/fmt/fmt.sh"
ec6a01f
Merge branch 'master' of https://github.com/paritytech/substrate into…
hirschenberger 9db0abd
Merge remote-tracking branch 'origin/master' into issue_13192
hirschenberger 5a3d6f9
Merge branch 'issue_13192' of https://github.com/hirschenberger/subst…
hirschenberger 96f08f9
Update README.md
hirschenberger 03fef0b
Update README.md
hirschenberger 719d26a
Merge remote-tracking branch 'origin/master' into issue_13192
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| These runtimes are used for benchmarking the `set_code` intrinsic. | ||
|
|
||
| **Don't use them in production environments!** | ||
|
|
||
| To update the just copy the new runtime from `target/release/wbuild/kitchensink-runtime/kitchensink_runtime.compact.compressed.wasm` to here. | ||
Binary file added
BIN
+4.05 MB
frame/system/benchmarking/res/kitchensink_runtime.compact.compressed.wasm
Binary file not shown.
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
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.