Comfy-Org / Comfy-Org/ComfyUI_frontend

[Desktop] Application Mode: Interacting with History and Templates causes significant and intermittent increases in generation time

Open
#15,130 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2k
Forks
704
Avg merge
1d 8h
Merged PRs (30d)
512

Description

In Application Mode, I observed that opening or interacting with History and Templates may sometimes increase image generation time.

I tested this several times. The slowdown is reproducible in some cases, but not consistently every time.

This appears to be an intermittent performance issue that may be related to background processing triggered by History or Templates.

ComfyUI Desktop v1.0.38
ComfyUI v0.31.1 Stable
Windows
Same workflow
Same prompt
Same generation settings
Only interacting with 'History' and 'Templates' during generation
Generation time fluctuates greatly between 24 and 69 seconds

Image

Contributor guide

Open the contributing guide

Research direction

Start in Application Mode and reproduce generation while opening or interacting with History and Templates, comparing the same workflow, prompt, and settings. Profile the intermittent 24–69 second variation and identify the background work associated with those interactions; done means generation time no longer increases during them.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.