Twitch-VOD-Manager/src
xRangerDE 7e7be1d103 perf: remove 3 high-volume console.log calls in download / update paths
Three console.log calls in main.ts were flooding stdout during normal
operation:

1) `console.log("Starting download:", cmd, args)` — redundant with
   the appendDebugLog("download-part-start", ...) one line below.
   Duplicate logging; pure noise.

2) `console.log("Streamlink:", line)` — fired for every line of
   streamlink stdout, which is 10-100 lines/sec during an active
   download. Hundreds of thousands of lines per multi-hour recording.
   Progress + state parsing already happens on the same line; the
   raw output was never consumed.

3) `console.log("Download progress: X%")` in the autoUpdater
   handler — fires ~10x/sec during an in-flight update download.
   The renderer banner is the user-visible feedback; this was
   developer-only and never necessary in prod.

Removed all three. The remaining four console.log calls (login
flow, update-available, update-downloaded, no-updates-available)
are once-per-event and fine to keep.

Practical benefit: stdout becomes useful for actual diagnostics
again. Performance gain is marginal in absolute terms but the
buffered noise on a long-running session was real.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 05:09:29 +02:00
..
index.html a11y: update-banner progress bar role=progressbar + aria-valuenow 2026-05-11 04:36:42 +02:00
main.ts perf: remove 3 high-volume console.log calls in download / update paths 2026-05-11 05:09:29 +02:00
preload.ts perf: trim live-status batch IPC payload + skip empty broadcasts 2026-05-11 02:33:09 +02:00
renderer-archive.ts cleanup: archive search results — extract 10 inline styles into row classes 2026-05-11 04:45:38 +02:00
renderer-globals.d.ts perf: trim live-status batch IPC payload + skip empty broadcasts 2026-05-11 02:33:09 +02:00
renderer-locale-de.ts a11y: update-banner progress bar role=progressbar + aria-valuenow 2026-05-11 04:36:42 +02:00
renderer-locale-en.ts a11y: update-banner progress bar role=progressbar + aria-valuenow 2026-05-11 04:36:42 +02:00
renderer-profile.ts a11y: streamer-profile header — avatar wrap + live card keyboard-activatable 2026-05-11 03:41:21 +02:00
renderer-queue.ts a11y: queue progress bar — role=progressbar + aria-valuenow 2026-05-11 04:27:13 +02:00
renderer-settings.ts cleanup: unify template-lint visual + drop 3 hardcoded color literals 2026-05-11 03:04:30 +02:00
renderer-shared.ts fix: persist expanded details across re-renders, guard drag-drop init against duplicates 2026-03-21 15:03:20 +01:00
renderer-stats.ts cleanup: stats size-bucket histogram — extract inline styles 2026-05-11 05:04:07 +02:00
renderer-streamers.ts a11y: VOD cards keyboard-activatable — opens VOD on Twitch via Enter/Space 2026-05-11 03:37:14 +02:00
renderer-texts.ts a11y: update-banner progress bar role=progressbar + aria-valuenow 2026-05-11 04:36:42 +02:00
renderer-updates.ts a11y: update-banner progress bar role=progressbar + aria-valuenow 2026-05-11 04:36:42 +02:00
renderer-vod-hover.ts perf: bound the renderer-side VOD storyboard cache (FIFO 100) 2026-05-11 04:08:42 +02:00
renderer.ts a11y: app toast notifications become a live region for screen readers 2026-05-11 04:40:32 +02:00
styles.css cleanup: stats size-bucket histogram — extract inline styles 2026-05-11 05:04:07 +02:00
tools.ts refactor: extract tool discovery functions to src/tools.ts 2026-03-20 10:00:51 +01:00
types.ts feat: live recording health indicator (green/amber dot per item) 2026-05-10 22:04:53 +02:00
update-version-utils.ts chore: migrate repository to Codeberg, bump version to 4.2.0, update update logic 2026-03-01 20:23:21 +01:00