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 was archived by the owner on Nov 15, 2023. It is now read-only.
We should write some benchmark that is checking the difference between building a block, importing a block and validating a block (calling validate_block as the relay chain) for a parachain.
The benchmark can be relative simple. We push as many transactions as possible to a block until all weight of the block is used. We may want to change the "benchmarking runtime" to allow 100% weight for normal transactions. For creating the transactions we can follow: https://github.com/paritytech/polkadot-stps/blob/main/docs/introduction.md
Maybe we want to split the benchmark into two, one compute heavy and one io intensive benchmark. For that we would need to select the best transactions that are either compute/io intensive.
There should only be a difference for the IO intensive benchmark as we keep the PoV in memory and read the data from there. The compute intensive benchmark should show almost no difference between building/importing/validating.