Added benchmarking documentation into readme
@@ -65,6 +65,20 @@ cd circuit
cargo build --release
bash run-circuit.sh
```
+#### Running benchmarks
+
+1. Build the circuit node with ```runtime-benchmarks``` feature:
+```bash
+cd circuit
+cargo build --release --features runtime-benchmarks
+```
+2. Run the command to execute the benchmarks for desirable pallet:
+```bash
+./target/release/circuit benchmark --chain dev --execution wasm --wasm-execution compiled --pallet pallet_you_want --extrinsic '*' --steps 50 --repeat 20 --raw --template=./benchmarking/frame-weight-template.hbs --output .
+```
+3. After executing following commands a file called ```pallet_you_want.rs``` will be generated. The file contains weights for the desirable pallet, copy that file into the pallets src directory, and rename it to ```weights.rs```.
+
+This concludes the process of generating weights for the pallet.
## Development Roadmap
#### Phase 1: [Standalone Gateways & Contracts Compilation SDK](./roadmap/initial_development_phase.md)
