You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
We should write a benchmark for block production. It should use the substrate runtime in /bin/node/runtime. #9958 gives some insights on how to do this. However, for this benchmark we should directly use the BlockBuilder interface and push transactions until the runtime returns InvalidTransaction::ExhaustsResources. As transactions we could probably just use a balance transfer.
After the benchmark works, it would be nice to get some insight on where we spent the time. I assume that we get the InvalidTransaction::ExhaustsResources after more than 1.5 seconds (1.5 seconds is the maximum weight of the runtime, so we should be able to apply all transactions in this time, roughly).
The text was updated successfully, but these errors were encountered:
bkchr
added
I5-tests
Tests need fixing, improving or augmenting.
Z2-medium
Can be fixed by a coder with good Rust knowledge but little knowledge of the codebase.
labels
Oct 8, 2021
We should write a benchmark for block production. It should use the substrate runtime in
/bin/node/runtime
. #9958 gives some insights on how to do this. However, for this benchmark we should directly use theBlockBuilder
interface and push transactions until the runtime returnsInvalidTransaction::ExhaustsResources
. As transactions we could probably just use a balance transfer.After the benchmark works, it would be nice to get some insight on where we spent the time. I assume that we get the
InvalidTransaction::ExhaustsResources
after more than 1.5 seconds (1.5 seconds is the maximum weight of the runtime, so we should be able to apply all transactions in this time, roughly).The text was updated successfully, but these errors were encountered: