Module bench

Source
Expand description

reth benchmark command. Collection of various benchmarking routines.

Modulesยง

context ๐Ÿ”’
This contains the BenchContext, which is information that all replay-based benchmarks need. The initialization code is also the same, so this can be shared across benchmark commands.
new_payload_fcu ๐Ÿ”’
Runs the reth bench command, calling first newPayload for each block, then calling forkchoiceUpdated.
new_payload_only ๐Ÿ”’
Runs the reth bench command, sending only newPayload, without a forkchoiceUpdated call.
output ๐Ÿ”’
Contains various benchmark output formats, either for logging or for serialization to / from files.

Structsยง

BenchmarkCommand
reth bench command

Enumsยง

Subcommands
reth benchmark subcommands