Module fabric_benchmarking::benchmarking[][src]

Interface that provides functions for benchmarking the runtime.

Structs

HostFunctions

Provides implementations for the extern host functions.

Functions

add_to_whitelist
commit_db

Commit pending storage changes to the trie database and clear the database cache.

current_time

Get the number of nanoseconds passed since the UNIX epoch

get_whitelist

Get the DB whitelist.

read_write_count

Get the read/write count.

remove_from_whitelist
reset_read_write_count

Reset the read/write count.

set_whitelist

Set the DB whitelist.

wipe_db

Reset the trie database to the genesis state.