mirror of
https://github.com/Psychotoxical/psysonic.git
synced 2026-07-22 15:25:46 +00:00
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:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user