Module node_bench::import
source · Expand description
Block import benchmark.
This benchmark is expected to measure block import operation of some more or less full block.
As we also want to protect against cold-cache attacks, this benchmark should not rely on any caching (except those that DO NOT depend on user input). Thus block generation should be based on randomized operation.
This is supposed to be very simple benchmark and is not subject to much configuring - just block full of randomized transactions. It is not supposed to measure runtime modules weight correctness