mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2493] Refactor branch is just generally ungodly slow #1236
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#1236
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 @WhatsUpJerks on GitHub (Jun 6, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2493
Summary
This one is going to be hard to troubleshoot... but basically clicking around through the UI and using the tool normally is just slow as hell. Like clicking on a conversation to load it takes 5-10 seconds, sometimes longer.
Sending a message results in a 20-30 second delay before the LLM is even invoked.
After a message is received in conversation mode, the "generating" button just sits there while the LLM is completely idle and the message has been displayed while logs scroll through on the backend about storage list/get. Same goes for regenerating a message.
Expected behavior
Reasonable responsiveness.
Actual behavior
Slow.
Steps to reproduce
Environment
Logs, screenshots, or video
I'll just confirm the obvious: I am not resource-limited in any way on my PC -- plenty of RAM/CPU available and idle. No excessive disk IO. Everything is nice and quiet.
an example of some of the timings i'm seeing. these aren't timestamped so they can't show the period that elapsed BETWEEN some of the events, but you get the idea.
llm_stream 0fd512b6-3df1-4e46-b682-ac82e5f86f77 started
invoke storage_list started
invoke storage_list ok in 18ms
llm_stream 0fd512b6-3df1-4e46-b682-ac82e5f86f77 ok in 10652ms
invoke storage_list started
invoke storage_list ok in 0ms
invoke chat_message_add_swipe started
invoke storage_list started
invoke storage_list ok in 0ms
invoke storage_get started
invoke storage_get ok in 5624ms
invoke storage_list started
invoke storage_list ok in 0ms
invoke storage_get started
invoke storage_get ok in 1ms
invoke storage_list started
invoke storage_list ok in 42ms
invoke storage_list started
invoke storage_list ok in 42ms
invoke chat_message_add_swipe ok in 16295ms
Additional context
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@Promansis commented on GitHub (Jun 6, 2026):
Yeah, we're aware of this one. Can you check some things for me please?
Thanks!
@WhatsUpJerks commented on GitHub (Jun 6, 2026):
Awesome, I figured it as a known issue but I wanted to raise it just in case.
It seems like once a conversation is initially loaded reloading it is pretty fast, but sometimes it craters and goes back to a real slow load (caching, i'm assuming)
@Promansis commented on GitHub (Jun 6, 2026):
Ah, that might be the issue. With the refactor, try launching with 'pnpm dev tauri'
It's still not optimised 100% yet, working on it. But it's not 16 seconds bad haha.
@WhatsUpJerks commented on GitHub (Jun 6, 2026):
I've tried the desktop app, I just don't like it. I don't want to be a dick and I'm sure you're working on improving performance across the board but if the answer is going to be "the web app is going to be ungodly slow sorry" then don't bother investing engineering effort in it and just drop it entirely. If that's an interim solution while you all get down to across the board optimization, then I withdraw my dickish comment in advance.
@SpicyMarinara commented on GitHub (Jun 6, 2026):
No need to be a dick about our work that, mind you, is done completely for free. The reason we're swapping to being application-based is that we want to release a proper mobile app. Don't like it, don't use it, plenty of other great browser-based frontends are out there.
@WhatsUpJerks commented on GitHub (Jun 6, 2026):
@SpicyMarinara Just want to clarify because I wasn't received clearly: I love the project and appreciate the tremendous amount of work that's going into it on behalf of the community by you and the other contributors. I was being a little snarky and meant no offense. And this isn't after-the-fact backpedaling. My apologies if there was offense taken.