mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
feat(reth-bench-compare): add persistence-based flow optimization for reth-bench (#20869)
Co-authored-by: Alexey Shekhirin <github@shekhirin.com>
This commit is contained in:
@@ -45,6 +45,16 @@ pub struct BenchmarkArgs {
|
||||
)]
|
||||
pub engine_rpc_url: String,
|
||||
|
||||
/// The `WebSocket` RPC URL to use for persistence subscriptions.
|
||||
///
|
||||
/// If not provided, will attempt to derive from engine-rpc-url by:
|
||||
/// - Converting http/https to ws/wss
|
||||
/// - Using port 8546 (standard RPC `WebSocket` port)
|
||||
///
|
||||
/// Example: `ws://localhost:8546`
|
||||
#[arg(long, value_name = "WS_RPC_URL", verbatim_doc_comment)]
|
||||
pub ws_rpc_url: Option<String>,
|
||||
|
||||
/// The path to the output directory for granular benchmark results.
|
||||
#[arg(long, short, value_name = "BENCHMARK_OUTPUT", verbatim_doc_comment)]
|
||||
pub output: Option<PathBuf>,
|
||||
|
||||
Reference in New Issue
Block a user