Use this documentation on benchmarking. It is very good and will give all info you need.
To start existing benchmark tests I propose following steps:
- rename
pallets/rmrk-core/src/weights.rs
toold_weights.rs
. Just to keep it for referrence - examine the tests in
benchmarks.rs
files. They will produce measurements for the newweights.rs
file - compile node with --features runtime-benchmarks
- since rmrk node is missing production profile, use
--profile=release
in cargo build. Therefore instead of:
cd bin/node/cli