Skip to main content

generate_binary_benchmarks

Function generate_binary_benchmarks 

Source
pub fn generate_binary_benchmarks<F>(
    binary_path: &PathBuf,
    command: BenchmarkingCliCommand,
    update_args: F,
    excluded_args: &[&str],
) -> Result<(), Error>
where F: Fn(Vec<String>) -> Vec<String>,
Expand description

Generates binary benchmarks using frame-benchmarking-cli.

ยงArguments

  • binary_path - Path to the binary of FRAME Omni Bencher.
  • command - Command to run for benchmarking.
  • update_args - Function to update the arguments before running the benchmark.
  • excluded_args - Arguments to exclude from the benchmarking command.