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. - gas_
limit_ ๐ramp - Benchmarks empty block processing by ramping the block gas limit.
- generate_
big_ ๐block - Command for generating large blocks by packing transactions from real blocks.
- helpers ๐
- Common helpers for reth-bench commands.
- new_
payload_ ๐fcu - Runs the
reth benchcommand, calling first newPayload for each block, then calling forkchoiceUpdated. - new_
payload_ ๐only - Runs the
reth benchcommand, sending only newPayload, without a forkchoiceUpdated call. - output ๐
- Contains various benchmark output formats, either for logging or for serialization to / from files.
- replay_
payloads ๐ - Command for replaying pre-generated payloads from disk.
- send_
invalid_ ๐payload - Command for sending invalid payloads to test Engine API rejection.
- send_
payload ๐
Structsยง
- Benchmark
Command reth benchcommand- RawTransaction
- A single transaction with its gas used and raw encoded bytes.
- RpcTransaction
Source - RPC-based transaction source that fetches from a remote node.
- Transaction
Collector - Collects transactions from a source up to a target gas usage.
Enumsยง
- Subcommands
reth benchmarksubcommands
Traitsยง
- Transaction
Source - Abstraction over sources of transactions for big block generation.