caseychu / spotify-backup

A Python script that exports all of your Spotify playlists.
MIT License
847 stars 123 forks source link

Very slow loading #55

Open hsandt opened 10 months ago

hsandt commented 10 months ago

Not a bug but rather an optimisation issue: I noticed that the program was taking a lot of time to run, with Loading user info taking 2' and Loading liked albums and songs more than 4 minutes (I had to stop it).

In contrast, https://github.com/watsonbox/exportify loading was very fast and exporting under a minute. I used the web version (https://watsonbox.github.io/exportify/) but the GitHub page says it's running the script locally, so in the end I don't know if it's comparable or not.

The spotify-backup program is not using a lot of CPU so I suspect it just do things sequentially rather than in parallel, maybe it's where it's losing performance?

Note: I have 103 playlists + the special Likes csv