Module cli

Module cli 

Source
Expand description

CLI argument parsing and main command orchestration.

StructsΒ§

Args πŸ”’
Automated reth benchmark comparison between git references

EnumsΒ§

DisableStartupSyncStateIdle πŸ”’
Target for disabling the –debug.startup-sync-state-idle flag

FunctionsΒ§

find_consecutive_ports πŸ”’
Find two consecutive available ports starting from the given port
generate_comparison_charts πŸ”’
Generate comparison charts using the Python script
get_samply_path πŸ”’
Get the absolute path to samply using β€˜which’ command
is_port_available πŸ”’
Check if a port is available by attempting to bind to it
parse_args_string πŸ”’
Parse a string of arguments into a vector of strings
run_benchmark_workflow πŸ”’
Execute the complete benchmark workflow for both branches
run_comparison πŸ”’
Main comparison workflow execution
run_compilation_phase πŸ”’
Run compilation phase for both baseline and feature binaries
run_warmup_phase πŸ”’
Run warmup phase to warm up caches before benchmarking
start_samply_servers πŸ”’
Start samply servers for viewing profiles
validate_rpc_chain_id πŸ”’
Validate that the RPC endpoint chain ID matches the specified chain