referrerpolicy=no-referrer-when-downgrade

Module benchmarking

Source
Expand description

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, as u128 le-bytes.
get_read_and_written_keys
get_whitelist
Get the DB whitelist.
proof_size
Get current estimated proof size.
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.