mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[GH-ISSUE #217] what things can i do to make the start time of spotify-player more fast #113
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#113
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 @RioAngele on GitHub (Jul 6, 2023).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/217
when i start this software,i need a lot of time to wait for it.
Is my
app.tomlhaving some problems?i use arch linux
how to make fast to start up
@RioAngele commented on GitHub (Jul 6, 2023):
when i start spotify-tui ,i didn't need time to wait.
but when i start spotify-player, i need about 2~3s to wait
@aome510 commented on GitHub (Jul 7, 2023):
Can you provide an applicable log so that I can figure out the slow parts?
It's not recommended to set
app_refresh_duration_in_msto0as it will throttle your CPU (re-rendering the UI every 0ms).@RioAngele commented on GitHub (Jul 7, 2023):
Thank you,i will modify it.
this is the log in
~/.cache/spotify-player/@aome510 commented on GitHub (Jul 7, 2023):
Thanks for the log. Interestingly, it took a decent amount of time for you to create a new session from cached credentials (from line 3 to 4 in the log). Yours is about
2.8s, for reference, mine is about1.1s:Do you have VPN tunred on or slow internet connection by any chances?
That said, if you want the UI to show up instantly, I can try to update the startup code to do that. Shouldn't be too difficult as UI thread doesn't need access to Spotify session.
@aome510 commented on GitHub (Jul 7, 2023):
Quite busy lately, so will get back to this later this month.
@RioAngele commented on GitHub (Jul 7, 2023):
Yes,you are right
I use VPN to connect.
make the UI show up instantly is a good thing for me
i will never wait the connect done
Thank you!