Module output

Module output 

Source
Expand description

Contains various benchmark output formats, either for logging or for serialization to / from files.

Structsยง

CombinedResult ๐Ÿ”’
This represents the combined results of a newPayload call and a forkchoiceUpdated call in the benchmark, containing the gas used, the newPayload latency, and the forkchoiceUpdated latency.
GasRampPayloadFile ๐Ÿ”’
Serialized format for gas ramp payloads on disk.
NewPayloadResult ๐Ÿ”’
This represents the results of a single newPayload call in the benchmark, containing the gas used and the newPayload latency.
TotalGasOutput ๐Ÿ”’
This represents the aggregated output, meant to show gas per second metrics, of a benchmark run.
TotalGasRow ๐Ÿ”’
This represents a row of total gas data in the benchmark.

Constantsยง

COMBINED_OUTPUT_SUFFIX ๐Ÿ”’
This is the suffix for combined output csv files.
GAS_OUTPUT_SUFFIX ๐Ÿ”’
This is the suffix for gas output csv files.
NEW_PAYLOAD_OUTPUT_SUFFIX ๐Ÿ”’
This is the suffix for new payload output csv files.

Functionsยง

write_benchmark_results ๐Ÿ”’
Write benchmark results to CSV files.