-
Notifications
You must be signed in to change notification settings - Fork 839
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
run frame-omni-bencher overhead command in CI for all runtimes in the runtime matrix #7459
base: master
Are you sure you want to change the base?
run frame-omni-bencher overhead command in CI for all runtimes in the runtime matrix #7459
Conversation
dc7194d
to
9000c0c
Compare
Some tests failed because not all chains have development genesis presets. I shall add them in the same PR. |
may be this flag needs to be added? if so you can reuse bench_flags from the matrix |
Thanks a lot for the hint! I thought/hoped so too initially, however the flags are different, unfortunately. I can overwrite the |
I noticed that there is an open issue regarding the missing genesis presets. I extracted a separate PR for that: Edit: The PRs for adding genesis presets have now been merged. So this PR is unblocked. |
e74e2d7
to
6962792
Compare
@ggwpez everything works now except for glutton. The error says that it can't look up the transaction, but I can only find that the overhead command is executing Error logRunning short overhead benchmarking for PACKAGE_NAME=glutton-westend-runtime and RUNTIME_BLOB_PATH=./target/release/wbuild/glutton-westend-runtime/glutton_westend_runtime.compact.compressed.wasm
-rw-r--r-- 1 root root 4840334 Mar 4 10:03 ./target/release/wbuild/glutton-westend-runtime/glutton_westend_runtime.compact.compressed.wasm
Running command: ./target/release/frame-omni-bencher v1 benchmark overhead --runtime ./target/release/wbuild/glutton-westend-runtime/glutton_westend_runtime.compact.compressed.wasm
2025-03-04T10:08:11.598970Z INFO polkadot_sdk_frame::benchmark::overhead: Identified Chain type from metadata: Parachain(paraid = 100)
2025-03-04T10:08:12.362275Z INFO polkadot_sdk_frame::benchmark::overhead: Per-block execution overhead [ns]:
Total: 34427576
Min: 331742, Max: 410174
Average: 344275, Median: 342620, Stddev: 9655.69
Percentiles 99th, 95th, 75th: 373583, 353799, 346876
Error: Client(ApplyExtrinsicFailed(Validity(TransactionValidityError::Unknown(UnknownTransaction::CannotLookup)))) Edit: Ah ok, it seems that the error is misleading. This error is also thrown if the extrinsic is not signed by the sudo key for glutton, and the sudo key is missing in the presets; fixing it now. |
This comment was marked as outdated.
This comment was marked as outdated.
I think the PR is now ready to be review. 🚀 And maybe give it a silent tag? |
Wonderful, thanks for the approval. I think the PR is green enough for the merge queue. Can someone do that? |
As defined in #6347, we want to run the omni-benchers overhead command in the CI to be sure that it keeps working. This runs the CI for all runtimes except for glutton, as we can't send extrinsics to glutton currently. The check should be enabled after #7816 is merged.
Closes #6347