Skip to main content

run_benchmark

Function run_benchmark 

Source
pub fn run_benchmark(
    graph_path: &Path,
    corpus_words: Option<usize>,
) -> Result<BenchmarkResult, BenchmarkError>
Expand description

Run the benchmark suite on the graph at graph_path.

ยงArguments

  • graph_path - Path to the graph JSON file.
  • corpus_words - Optional word count of the original corpus for compression ratio.