Open 0xekez opened 1 year ago
Extremely useful, thanks Ekez
This orc things looks cool.
Is it ready for larger use? Can you link it here? https://github.com/CosmWasm/cw-plus/issues/507
We had been discussing some way to benchmark gas better, but in the end it needs a chain, not just a local vm, to do this proper.
This orc things looks cool.
Is it ready for larger use? Can you link it here? CosmWasm/cw-plus#507
We had been discussing some way to benchmark gas better, but in the end it needs a chain, not just a local vm, to do this proper.
Done. I think it's ready?
This adds @de-husk's amazing cosmwasm orc library to this repository which allows us to run contract tests against a real local chan and measure gas usage while we're at it. It currently tests a simple instantiate, mint, and transfer flow and captures gas usage in
ci/integration-tests/gas_reports
.Here is an example gas report showing the gas usage of each operation:
Merging this will cause the associated GitHub action to make a comment on new changes describing how gas usage changed for its tests: