write_benchmark_results

Function write_benchmark_results 

Source
pub(crate) fn write_benchmark_results(
    output_dir: &Path,
    gas_results: &[TotalGasRow],
    combined_results: Vec<CombinedResult>,
) -> Result<()>
Expand description

Write benchmark results to CSV files.

Writes two files to the output directory:

  • combined_latency.csv: Per-block latency results
  • total_gas.csv: Per-block gas usage over time