mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3187] [Issue]: Chromium browsers freeze or lag during pending reply generation #1710
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#1710
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @calmcacil on GitHub (Jul 3, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3187
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Generating a reply can make Chromium-based browsers lag or freeze while Marinara is waiting for the model response. This happens in Edge and Brave. A quick Firefox test did not reproduce it.
Expected behavior
Reply generation should not make video/audio playback, other tabs, or the browser become unresponsive while waiting for a remote provider response.
Actual behavior
After clicking Send, Chromium-based browsers can become sluggish or unresponsive during the silent "waiting for reply" period before any assistant text appears.
This happens with both streaming enabled and streaming disabled, so it does not appear to be caused only by streamed token rendering or markdown rendering.
The provider is remote/self-hosted and is not running on the same client machine as the browser.
Browser task manager does not show obvious excessive CPU usage. With
localStorage.mariPerfVerbose = "1", there may be a few long-task logs shortly after sending, but then logging goes quiet while video playback/browser responsiveness is still affected.Steps to reproduce
Environment
Logs, screenshots, or video
With
localStorage.mariPerfVerbose = "1", only a few long-task entries may appear shortly after clicking Send. After that, logging goes quiet even though video playback/browser responsiveness is still affected.Example observed log:
No repeated
SLOWrender warnings were observed during the main freeze/lag period.Additional context
This appears to be client-side and Chromium-specific. It happens before any assistant text appears, while the animated waiting indicator is active, and it happens with streaming enabled or disabled. Quick replies may only show minor or barely noticeable lag, but slow upstream provider responses make the issue much easier to reproduce because the app stays in the pending generation state longer.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Jul 4, 2026):
Confirming, I use Firefox and have never experienced the bug, so it must be related to other browsers.
@SpicyMarinara commented on GitHub (Jul 4, 2026):
Addressed in draft PR #3200.