get_benchmark_cell_content

Function get_benchmark_cell_content 

Source
fn get_benchmark_cell_content(
    version_data: &HashMap<String, HashMap<String, HyperfineResult>>,
    version: &str,
    repo_name: &str,
) -> String
Expand description

Get the content for a single benchmark table cell

Returns the formatted duration or “N/A” if no data is available. The nested if-let statements handle the following cases:

  1. Check if version data exists
  2. Check if repository data exists for this version