Clarified documentation

This commit is contained in:
KennyG 2026-03-30 09:26:10 -04:00
parent 0a807de861
commit 6c8efe2a50

View file

@ -122,10 +122,10 @@ export class DownloadsService {
private scheduleUpdatedRefresh() { private scheduleUpdatedRefresh() {
// Coalesce high-frequency download progress events into a capped refresh rate. // Coalesce high-frequency download progress events into a capped refresh rate.
// requestAnimationFrame (~60fps) is smooth but expensive on large queues. // requestAnimationFrame (~60fps) is smooth but expensive remotely and on large queues.
// We trade a little smoothness for much lower CPU: // We trade a little smoothness for much lower CPU:
// - foreground: ~8fps // - foreground: ~4fps
// - background: ~1fps // - background: 1/30 seconds
if (this.updateRefreshScheduled) { if (this.updateRefreshScheduled) {
return; return;
} }