Comfy-Org / Comfy-Org/ComfyUI_frontend

[Feature Request]: Simple animation mode to reduce screen redraws

Open
#4,013 6 comments 0 reactions 0 assignees View on GitHub
area:ui enhancement
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

Currently, some things like the queue side panel have animations that cause redraws which will consume GPU resources on systems where the screen rendering GPU is also the inference GPU. The queue side panel causes a roughly 11% performance decrease, most likely because of the spinner that displays during inference. Many elements of the UI also have animations on hover that could be avoided to reduce their performance impact. This happens regardless of whether hardware acceleration is used or not and may not be completely avoidable. Using a browser profiler can show the difference in draw calls.

### Proposed workflow

An option in the settings menu to disable certain animations that may reduce performance. I would say disable or tone down anything that's on hover that isn't strictly necessary for UI feedback or that takes more than one frame to complete, as well as things like spinners.

### Additional information

_No response_

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-4013-Feature-Request-Simple-animation-mode-to-reduce-screen-redraws-2016d73d36508126a382de36969fd932) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.