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

Description
By default, a Substrate node should not expose the benchmarking pipeline added by #4818
Instead, a user should have to compile their node using a specific flag like --features=runtime_benchmarks.
Without this feature flag, we should hide:
- The bechmark host functions (to prevent misuse within the runtime environment)
- The benchmark runtime api (they wont work)
- The benchmark runtime code (to keep wasm code size small)