Adds ability to prepare/initialize before running set_code benchmark#14435
Adds ability to prepare/initialize before running set_code benchmark#14435paritytech-processbot[bot] merged 14 commits intomasterfrom
set_code benchmark#14435Conversation
|
bot bench $ pallet dev frame-system |
|
@bkontur https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3046481 was started for your command Comment |
|
@bkontur https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3046482 was started for your command Comment |
|
@bkontur Command |
|
@bkontur Command |
…nto bko-set_code-benchmark-helper
|
bot bench $ pallet dev frame-system |
|
@bkontur https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3049124 was started for your command Comment |
|
@bkontur Command |
| /// Adds ability to the Runtime to test against their sample code. | ||
| /// Default is `../res/kitchensink_runtime.compact.compressed.wasm`. | ||
| fn set_code_data() -> Vec<u8> { | ||
| include_bytes!("../res/kitchensink_runtime.compact.compressed.wasm").to_vec() | ||
| } |
There was a problem hiding this comment.
This is a very very good idea! :)
…onFunctionStored instead of CodeUpdated)
…nto bko-set_code-benchmark-helper
|
bot bench $ pallet dev frame-system |
|
@bkontur https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3050145 was started for your command Comment |
|
@bkontur Command |
|
bot bench-vm $ pallet dev frame-system |
|
@ggwpez https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3051678 was started for your command Comment |
ggwpez
left a comment
There was a problem hiding this comment.
Need to wait for the new bench cmd to finish, then its good to go 🚀
|
@ggwpez Command |
|
bot merge |
paritytech#14435) * Adds ability to prepare/initialize before running `set_code` benchmark * Fix * ".git/.scripts/commands/bench/bench.sh" pallet dev frame-system * Replaced BenchmarkHelper with function * Fix * Introduced `set_code_data` for benchmark with default value * ".git/.scripts/commands/bench/bench.sh" pallet dev frame-system * (Hope) Final adjustment (because system parachains generates ValidationFunctionStored instead of CodeUpdated) * ".git/.scripts/commands/bench/bench.sh" pallet dev frame-system * ".git/.scripts/commands/bench-vm/bench-vm.sh" pallet dev frame-system --------- Co-authored-by: command-bot <>
See detailed description here: paritytech/cumulus#2765
Closes: paritytech/cumulus#2765
Cumulus companion: paritytech/cumulus#2766