{% extends "base.html" %} {# Info tooltip macro #} {% macro info_tooltip(text, position='right') %}
{% endmacro %} {% block content %}

Compare Jobs

Select two completed jobs to compare their diagnostic outputs side-by-side.

{% if error %}
{{ error }}
{% endif %} {% if jobs|length < 2 %}

Not Enough Jobs

You need at least 2 completed jobs to compare. Currently have {{ jobs|length }}.

Run a Collection
{% else %}

The baseline for comparison

The job to compare against baseline

Cannot compare a job with itself. Please select two different jobs.

What Gets Compared {{ info_tooltip("Comparison includes automatic regression detection. 🔴 Critical and 🟡 Warning issues are flagged based on best-practice thresholds. Only hosts present in both jobs are compared.") }}

Global Status {{ info_tooltip("Shows delta for key metrics: Threads_running, Slow_queries, row locks, temp tables. Red = increase (potential regression), Green = decrease (improvement).") }}

Numeric counters like threads, locks, temp tables

Processlist {{ info_tooltip("Compares query counts, long-running queries (>10s), unique users. Good for spotting stuck queries or connection storms.") }}

Summary stats: total queries, long-running, users

Config Vars {{ info_tooltip("Side-by-side config comparison. Changed values highlighted in yellow. Useful after config changes or when comparing prod vs staging.") }}

Changed configuration values highlighted

InnoDB Status {{ info_tooltip("Unified diff of raw INNODB STATUS output. Shows + (added) and - (removed) lines. Best for spotting deadlock/lock changes, transaction patterns.") }}

Side-by-side text diff of raw output

{% endif %}
{% endblock %}