⚡[Performance] High Resource Usage and Slow UI: Optimize Electron or Consider Migrating to Tauri 🚀 #3088
Labels
No labels
awaiting-reply
breaking changes
bug
cannot-reproduce
dependencies
documentation
duplicate
electron-issue
enhancement
fix-available
good first issue
help wanted
invalid
javascript
need more information
need rebase
official-youtube-music-issue
plugin request
question
release
security
stale
Status: blocked
typo
wontfix
ytmd-issue
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: YTMD/youtube-music#3088
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?
Preflight Checklist
🚨 The current Electron-based implementation of the YouTube Music app has significant performance issues that are impacting user experience. Specifically:
Problem Description
(This might be a duplicate of an existing issue—so sorry in advance if that's the case! 🙏 Also, sorry if I sound like a clown; I’m not a developer or coder, just a normal user who loves this repo!)
🖥️ High RAM and CPU Usage:
The app consumes an excessive amount of system resources, making it unusable on lower-end machines and causing slowdowns on higher-end systems. It feels like a "resource monster" that eats up RAM and CPU, even during idle states. 😤
🌐 Poor Network Management:
Network performance has always been suboptimal, but it has worsened over time. The app struggles to load content efficiently, leading to delays in streaming and buffering issues. 🐢
🐌 Slow UI Loading:
The UI takes a considerable amount of time to load elements, even on fast internet connections. This creates a sluggish and unresponsive user experience. 😩
Proposed Solution
Lightweight Improvements:
Switch to Tauri (if feasible):
Given the ongoing performance issues, it might be worth considering a migration to Tauri. Tauri is a modern framework that builds lightweight, fast, and secure desktop applications. It uses significantly less RAM and CPU compared to Electron, which could resolve many of the current performance bottlenecks.
Benefits of Tauri:
Additional Context:
Users are increasingly frustrated with the app's performance, especially when compared to the web version of YouTube Music. The app should feel like a native experience, not a resource-heavy browser tab.
I understand that switching to Tauri would require significant effort, but even lightweight optimizations in the current Electron setup would go a long way in improving the user experience.
Call to Action:
This is a critical issue that needs immediate attention. Whether through optimizations or a framework switch, improving performance will make the app more enjoyable for all users. Let’s work together to make this happen! 💪
(Feel free to reach out if you need more details or assistance!)
This follows the same design theme as your example, with emojis, clear headings, and a structured format. Let me know if you'd like further tweaks! 😊
this feels like AI slop
Nah nah i jut told Ai to add emoji cause adding emoji with pc is hard
Everything I typed , I just tweaked with Ai : D [ TO LOOK GOOD ]
Tauri pls
@sterno900
Switching to tauri has no benefit except for binary size.
see https://github.com/Elanis/web-to-desktop-framework-comparison
Also, who wants rewriting all that code?
For whatever it's worth, I did try rewriting this app in Tauri many months ago, but had a lot of issues.
Tauri is not designed for loading remote websites, Tauri works best when loading a local website.
There is no reliable and easy way to inject code after a website has loaded, Tauri expects you to already have control over the website.