Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Add usage output, other clean up #3

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

notlesh
Copy link
Contributor

@notlesh notlesh commented Jun 2, 2022

Adds usage output (e.g. --help) and improves error handling. I also intend to support runtime-wide benchmarks in this PR.

Current usage:

Benchbot usage:

/bench --help
        print this help output
/bench <SUBCOMMAND>
        run the given subcommand

SUBCOMMAND:
    pallet <pallet>
            benchmark a specific pallet and update its weights.rs file
    runtime
            benchmark an entire runtime and update all pallet weights.rs files
            (currently only supports moonbase runtime)

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

Successfully merging this pull request may close these issues.

1 participant