frontend
frontend copied to clipboard
Config flow slows down when adding more than a few integrations in 1 session
Checklist
- [X] I have updated to the latest available Home Assistant version.
- [X] I have cleared the cache of my browser.
- [X] I have tried a different browser to see if it is related to my browser.
Describe the issue you are experiencing
when creating a lot of config flow entries, I notice the flow gets slower and slower. After a succes!, and click 'add integration' it can take up to 15 seconds... I guess its not easily noticed because we tend not to do that very often. Today I had to enter over 35 of them, so that started to be a nuisance....
Not sure if this would be a core bug (maybe memory leak) or frontend issue only? Or both ofc.
Started noticing this and, when I didnt yet know the integration selector would come up in the end, I did refresh the view a few times, and yes, then it was swift again for 2 or 3 times.
After that, I realized the new selector popup simply took more time to show, so I waited.
Thing is, its hard to replicate now, because I'm done creating the integrations
Should not be the device HA is running on: mini pc, with large amounts of storage....3% used 424 Gb Free (on S2 NVME with data disk written to that), also memory in abundance 8GB/128GB, 6 399,3 MiB Free mem, 17.7% used
Describe the behavior you expected
swift operation , even when adding more than a few integrations
Steps to reproduce the issue
- click Add integration
- wait for Success report
- go to 1, and repeat a lot ...
What version of Home Assistant Core has the issue?
2022.8.3
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue with?
Safari Desktop Mac
Which operating system are you using to run this browser?
macOS 12.5
State of relevant entities
No response
Problem-relevant frontend configuration
No response
Javascript errors shown in your browser console/inspector
No response
Additional information
This is happening for a Powercalc config with many entries (100+). In the end it worked out and all entries are successfully added to the config.
The experience was really below par though, and nothing one expects from a fast machine like that.