Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Is it possible to enable runtime-benchmarks in node-template #6644

@mmyyrroonn

Description

@mmyyrroonn

We built our work based on node-template months ago. Now, we plan to enable benchmark for our runtime and calculate accurate weight for each extrinsics.

However, the doc for benchmark is quite insufficient. I followed substrate's code and added related code into our repo. However, I met several issues, such as #5587, panic at this line

self.overlay.exit_runtime()
or Error: Input("Error executing runtime benchmark: Other(\"Instantiation: Export ext_benchmarking_commit_db_version_1 not found\")"). The PR's commit history for benchmark is quite complex and not easy to follow.

Is there any doc introducing how to enable benchmark in runtime and cli? Is it possilbe to enable runtime-bencharks in node-template?

Metadata

Metadata

Assignees

No one assigned

    Labels

    J2-unconfirmedIssue might be valid, but it’s not yet known.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions