feat(perf): cover pipeline throughput (cpm) in performance probe (#945)

* feat(perf): cover pipeline throughput (cpm) in performance probe

Mirror the analysis pipeline's tpm for covers. A new coverPerfStore samples the
backfill `done` progress from cover:library-progress events and derives a rolling
one-minute covers-per-minute rate. Surfaced as a live diag in perfLiveStore, a
pinnable "Cover backfill" throughput card in the Monitor tab, and a cpm row in
the Cover pipeline overlay block.

* docs(changelog): note cover pipeline cpm metric (PR #945)

Add CHANGELOG entry and credits line for the cover-pipeline covers-per-minute
throughput metric in the Performance Probe.
This commit is contained in:
cucadmuh
2026-06-02 11:05:28 +03:00
committed by GitHub
parent 42aec6720c
commit c6df05e576
11 changed files with 279 additions and 4 deletions
@@ -221,6 +221,21 @@ export default function SidebarPerfProbeMonitorTab() {
)}
</PerfProbeMetricSection>
)}
{live.cover && (
<PerfProbeMetricSection title="Cover backfill" defaultOpen={false}>
<PerfProbeMetricCard
label="Throughput"
value={live.cover.cachedPerMinute.toFixed(1)}
unit="cpm"
detail={live.cover.total > 0
? `${live.cover.done.toLocaleString()} / ${live.cover.total.toLocaleString()} cached`
: 'covers cached per minute'}
pinned={livePinned('cover:cpm')}
onTogglePin={toggleLive('cover:cpm')}
/>
</PerfProbeMetricSection>
)}
</div>
);
}