Skip to content

Refactor gen_metrics_html.py

Hua Yan requested to merge hyan/update-py-script into main

What does this MR do?

This MR refactor gen_metrics_html.py to address the repetition problem (see the detailed comment here).

Specifically, it

  1. extracts the repeated HTML code into a separate function.
  2. fixes a bug where only the first record was processed, but it should have calculated the average across multiple records.

What are the relevant issue numbers?

Add performance benchmarks to scanner service a... (gitlab-org/gitlab#478056 - closed) • Hua Yan • 17.4 • At risk

Does this MR meet the acceptance criteria?

Merge request reports

Loading