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.rstoold_weights.rs. Just to keep it for referrence - examine the tests in
benchmarks.rsfiles. They will produce measurements for the newweights.rsfile - compile node with --features runtime-benchmarks
- since rmrk node is missing production profile, use
--profile=releasein cargo build. Therefore instead of:
cd bin/node/cli