[][src]Module frame_support::weights::constants

These constants are specific to FRAME, and the current implementation of its various components. For example: FRAME System, FRAME Executive, our FRAME support libraries, etc...

Structs

BlockExecutionWeight

Importing a block with 0 txs takes ~5 ms

ExtrinsicBaseWeight

Executing 10,000 System remarks (no-op) txs takes ~1.26 seconds -> ~125 µs per tx

ParityDbWeight

ParityDB can be enabled with a feature flag, but is still experimental. These weights are available for brave runtime engineers who may want to try this out as default.

RocksDbWeight

By default, Substrate uses RocksDB, so this will be the weight used throughout the runtime.

Constants

WEIGHT_PER_MICROS
WEIGHT_PER_MILLIS
WEIGHT_PER_NANOS
WEIGHT_PER_SECOND