Closed halr9000 closed 11 months ago
can you test diff without extensions? it seems that something hasn't been updated you should always test bare bones, many plugins can cause delays and when a new gradio version introduce some adjustments need to be made. There is no a standard way how extensions are hooked and if uiupdate function is used for init without setinterval / clearinterval init may happen more than once
stable-diffusion-webui-images-browser hasn't been updated for six months use infinite image browser
can you test diff without extensions?
great idea, will report back
stable-diffusion-webui-images-browser hasn't been updated for six months use infinite image browser
hey now, I'm not that dense lol. I see you can't tell from the report, but I'm running this fork https://github.com/AlUlkesh/stable-diffusion-webui-images-browser which is actually well-maintained (ref). I tried infinite for a while and it is cool, but bugs me in some of the ways it works so I reverted back.
Trying something slightly different, I like the performance insights tab in dev tools a bit better as it's getting more to the point in a way I understand. Ok, looking at LCP (largest contentful paint, which is a way they determine programmatically when the page is probably ready/did the most work):
Description | Time |
---|---|
With extensions | 13.47 s |
Without extensions | 3.06 s (!) |
Now...to figure out why. Sharing the profiles below, would love if you can give me some tips for how to determine which of the extensions might be at fault, other than one-by-one tediously doing before/after tests. (Which I'll do if I get annoyed enough, but would rather be smarter about it.)
Profile-20230612T052138-with-extensions.json.gz
Without extensions: Profile-20230612T053406-without.json.gz
I will have a look into it but probably is this one stable-diffusion-webui-images-browser as an alternative you can install the infinite image browser extension
Disabled the image browser plugin and there's still a big delay. I'll keep researching to see if I can isolate which extension is the trigger. But if this happens to be helpful:
See right column:
Is there an existing issue for this?
What happened?
Seeing about 7.53 seconds of nothing as per this trace. I don't have time to compare to prev builds but it is noticeably longer. I loaded up sd-ui (auto1111) for comparison and it came right up.
I am no good at interpreting these traces but you can load this one up and perhaps its helpful. Trace-20230602T220129.zip
Steps to reproduce the problem
Can repro on 3 diff platforms/devices.
What should have happened?
Entire page should load in 3-5 s as previous. It's taking closer to 13 sec total.
Commit where the problem happens
9931e861dfb128735c4a928a7beb5b5c0af30593
What Python version are you running on ?
Python 3.10.x
What platforms do you use to access the UI ?
Windows, MacOS, Android
What device are you running WebUI on?
No response
What browsers do you use to access the UI ?
No response
Command Line Arguments
List of extensions
a1111-mini-paint a1111-sd-webui-lycoris a1111-sd-webui-tagcomplete model_preset_manager multidiffusion-upscaler-for-automatic1111 sd-dynamic-prompts sd-extension-system-info sd-webui-ar sd-webui-controlnet sd-webui-enable-checker sd-webui-regional-prompter sd-webui-stablesr Stable-Diffusion-Webui-Civitai-Helper stable-diffusion-webui-images-browser stable-diffusion-webui-randomize
Console logs
Additional information
No response