mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-01 17:32:52 -05:00
While a tool call is running, its loading spinner sits next to the shimmering status text, and the browser then recalculates the layout of the entire page 60 times a second for as long as the chat waits. That shows up as constant CPU use and slows down other tabs. The spinner animated a part inside its SVG icon, which the browser can only redraw through a fresh layout once anything else on the page is animating; it now rotates the whole icon, which looks the same and stays off the layout path. Measured with Chrome's performance counters over 10 seconds of an idle chat holding a long answer and one running tool call: | | Layouts | Layout time | |---|---|---| | Before | 600 | ~300 ms | | After | 0 | 0 ms |