roastcoffea.aggregation.efficiency

Efficiency metrics calculation.

Calculates core efficiency, speedup factors, and per-core event rates from workflow and worker metrics.

Functions

calculate_efficiency_metrics(...)

Calculate efficiency metrics from workflow and worker data.

roastcoffea.aggregation.efficiency.calculate_efficiency_metrics(workflow_metrics, worker_metrics)[source]

Calculate efficiency metrics from workflow and worker data.

Parameters:
  • workflow_metrics (dict) – Workflow metrics from aggregate_workflow_metrics()

  • worker_metrics (dict) – Worker metrics from parse_tracking_data()

Returns:

Efficiency metrics

Return type:

dict