referrerpolicy=no-referrer-when-downgrade

Module 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§

BenchContext
Benchmarking/test context holding instantiated client and backend references.
BenchDb
Pre-initialized benchmarking database.
BenchKeyring
Keyring full of accounts for benching.
BlockContent
Content of the generated block.
BlockContentIterator
Iterator for block content.
TaskExecutor
Benchmarking task executor.

Enums§

BlockType
Type of block for generation
DatabaseType
Type of backend database.
KeyTypes
Key types to be used in benching keyring

Functions§

drop_system_cache
Drop system cache.