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

Description
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?