Repository navigation
Quick finding #266
whynot2024
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi! I wanted to report a performance issue I ran into with the Comfyroll nodes.
My ComfyUI output folder had around 24,000 files. With Comfyroll enabled, ComfyUI startup and model refresh (R) were taking several minutes.
After adding timing around /object_info, these nodes stood out:
CR XY From Folder ~99.8s
CR XY Save Grid Image ~101s
CR Output Flow Frames ~101s
After clearing the output folder, ComfyUI startup and refresh became fast again immediately.
It looks like these nodes are scanning the output directory during INPUT_TYPES() / object info generation, so very large output folders can cause a major slowdown.
It may be worth caching the folder contents, avoiding a full scan inside INPUT_TYPES(), or only scanning when the user explicitly requests a refresh.
Happy to provide more logs or test a fix if useful. Thanks for maintaining Comfyroll!
All reactions