Comfy-Org / Comfy-Org/ComfyUI_frontend
Change workflow performance
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 699
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 490
Description
Swapping ComfyUI tabs to large (e.g. 500 node) workflows has noticeable lag.
High impact: Zod, DOM Widgets, measureText (expandToFit).
1. Zod should probably not re-validate a workflow it has already validated - if the workflow gets corrupted by changing tabs... there are bigger problems.
2. DOM Widgets could be hidden instead of destroyed and recreated. Would require support for multiple open workflows.
3. measureText probably isn't worthwhile addressing yet,
┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-3900-Change-workflow-performance-1f46d73d36508125a2bafe30a4a17c9c) by [Unito](https://www.unito.io)
Contributor guide
Assessment
This issue has not been assessed yet.