From dfedc41b5939d54c7837c21e8474d3dde33ecf79 Mon Sep 17 00:00:00 2001
From: librelois <c@elo.tf>
Date: Sat, 27 Aug 2022 21:38:38 +0200
Subject: [PATCH] cargo config: add sub-command to run benchmarks on a pallet

---
 .cargo/config | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.cargo/config b/.cargo/config
index f5990d7a2..150b66ebd 100644
--- a/.cargo/config
+++ b/.cargo/config
@@ -3,5 +3,6 @@ cucumber = "test -p duniter-end2end-tests --test cucumber_tests --"
 sanity-gdev = "test -p duniter-live-tests --test sanity_gdev -- --nocapture"
 tu = "test --workspace --exclude duniter-end2end-tests --exclude duniter-live-tests"
 tb = "test --features runtime-benchmarks -p"
+rbp = "run --release --features runtime-benchmarks -- benchmark pallet --chain=dev --steps=50 --repeat=20 --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=. --pallet"
 xtask = "run --package xtask --"
 
-- 
GitLab