Skip to content

Reduce terminal progress fps to 10#5551

Merged
MichaelEischer merged 1 commit into
masterfrom
slower-terminal-output
Oct 12, 2025
Merged

Reduce terminal progress fps to 10#5551
MichaelEischer merged 1 commit into
masterfrom
slower-terminal-output

Conversation

@MichaelEischer

Copy link
Copy Markdown
Member

What does this PR change? What problem does it solve?

Progress bars were updated with 60fps which can cause high CPU or GPU usage
for some terminal emulators. Reduce it to 10fps to conserve energy.
In addition, this lower frequency seem to be necessary to allow selecting
anything in the terminal with certain terminal emulators.

Was the change previously discussed in an issue or on the forum?

Sort of fixes #5383

Checklist

  • [ ] I have added tests for all code changes.
  • [ ] I have added documentation for relevant changes (in the manual).
  • There's a new file in changelog/unreleased/ that describes the changes for our users (see template).
  • I'm done! This pull request is ready for review.

@greatroar

Copy link
Copy Markdown
Contributor

+1. I've had RESTIC_PROGRESS_FPS set to 15 for years.

@MichaelEischer MichaelEischer left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@MichaelEischer MichaelEischer merged commit 718b97f into master Oct 12, 2025
22 of 24 checks passed
@MichaelEischer MichaelEischer deleted the slower-terminal-output branch October 12, 2025 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Restic updates screen way too often causing huge GPU and energy usage for no reason

2 participants