Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add benchmark framework #700

Merged
merged 5 commits into from
Aug 17, 2021
Merged

Add benchmark framework #700

merged 5 commits into from
Aug 17, 2021

Conversation

boundless-forest
Copy link
Member

@boundless-forest boundless-forest commented Aug 4, 2021

Fix #697 , you can run the following command to benchmark xxx pallet.

./target/release/darwinia benchmark \
  --chain=crab-dev \
  --steps=50 \
  --repeat=20 \
  --pallet=xxx \
  --extrinsic=* \
  --execution=wasm \
  --wasm-execution=compiled \
  --heap-pages=4096 \
  --header=./file_header.txt \
  --output=./runtime/crab/src/weights/

@boundless-forest boundless-forest force-pushed the bear-add-benchmark branch 4 times, most recently from c007907 to 1032fb7 Compare August 6, 2021 01:42
@hackfisher hackfisher merged commit 767e9ab into master Aug 17, 2021
@hackfisher hackfisher deleted the bear-add-benchmark branch August 17, 2021 03:13
boundless-forest pushed a commit that referenced this pull request Aug 1, 2023
* Split base fee and tip handling

* Return `NegativeImbalance`

* clippy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add benchmark framework for Crab/darwinia node
2 participants