[FRAME] Omni bencher run each benchmark at least 10 secs#10794
[FRAME] Omni bencher run each benchmark at least 10 secs#10794
Conversation
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
| &mut Default::default(), | ||
| &executor, | ||
| "Benchmark_dispatch_benchmark", | ||
| ¶ms(false, 1), |
There was a problem hiding this comment.
I reduced this to 1 since DB tracking should not need repetition.
|
/cmd bench --pallet pallet_staking_async --runtime asset-hub-westend |
|
Command "bench --pallet pallet_staking_async --runtime asset-hub-westend" has started 🚀 See logs here |
|
All GitHub workflows were cancelled due to failure one of the required jobs. |
|
/cmd bench --pallet pallet_staking_async --runtime asset-hub-westend |
|
Command "bench --pallet pallet_staking_async --runtime asset-hub-westend" has started 🚀 See logs here |
…t_staking_async --runtime asset-hub-westend'
|
Command "bench --pallet pallet_staking_async --runtime asset-hub-westend" has finished ✅ See logs here DetailsSubweight results:
Command output:✅ Successful benchmarks of runtimes/pallets: |
bkchr
left a comment
There was a problem hiding this comment.
What do you want to achieve with this PR? Why are you not calling the actual benchmark in a tight loop?
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
|
/cmd bench --pallet pallet_staking_async --runtime asset-hub-westend |
|
Command "bench --pallet pallet_staking_async --runtime asset-hub-westend" has started 🚀 See logs here |
We select the values for the components outside of the Runtime, here. The runtime then gets these component values via |
…t_staking_async --runtime asset-hub-westend'
|
Command "bench --pallet pallet_staking_async --runtime asset-hub-westend" has finished ✅ See logs here DetailsSubweight results:
Command output:✅ Successful benchmarks of runtimes/pallets: |
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
|
Created backport PR for
Please cherry-pick the changes locally and resolve any conflicts. git fetch origin backport-10794-to-stable2512
git worktree add --checkout .worktree/backport-10794-to-stable2512 backport-10794-to-stable2512
cd .worktree/backport-10794-to-stable2512
git reset --hard HEAD^
git cherry-pick -x 822c6f6f574e5d35e005d24757241300b458ed81
git push --force-with-lease |
Changes:
--min-duration <s>Example of the System benchmark with the
set_heap_pagesbenchmark that took less than 10 ms before:Now takes 10 seconds: