Closed NoozAbooz closed 2 years ago
On my wsl system uwufetch works just like any other distro, so I can't reproduce the issue. Maybe the slowness is caused by some command that uwufetch runs while getting info. Could you try to run every command in pkgman()? So if one of this commands is the problem you can report it.
apt was the only one that worked, and it only took a few seconds to execute
I'm sorry, I don't really know why it is slow on your system. You could try to find the issue with gdb (if you know how to use it) or just use the cache (set UWUFETCH_CACHE_ENABLED=1).
The slowness goes away when I run it with UWUFETCH_CACHE_ENABLED=1 uwufetch
.
A side effect of this is that it won't read any args I put into it. eg, if I do uwufetch --help
, it just shows me the regular uwufetch stuff with my stats and the OS art.
That's because when that env variable is enabled, uwufetch reads and prints the cache without parsing the arguments
I'm currently on WSL2 Debian, my PC doesn't have fabulous specs but the RAM and CPU usage was pretty low while I was running uwufetch. According to
time
, it took 2 minutes from running the command to getting a output!