Module node_testing::bench
source · Expand description
Benchmarking module.
Utilities to do full-scale benchmarks involving database. With BenchDb
you
can pregenerate seed database and clone
it for every iteration of your benchmarks
or tests to get consistent, smooth benchmark experience!
Structs§
- Benchmarking/test context holding instantiated client and backend references.
- Pre-initialized benchmarking database.
- Keyring full of accounts for benching.
- Content of the generated block.
- Iterator for block content.
- Benchmarking task executor.
Enums§
- Type of block for generation
- Type of backend database.
- Key types to be used in benching keyring
Functions§
- Drop system cache.