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.

Hide benchmarking pipeline behind a feature flag #4873

@shawntabrizi

Description

@shawntabrizi

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)

Metadata

Metadata

Labels

I8-footprintAn enhancement to provide a smaller (system load, memory, network or disk) footprint.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions