-
Notifications
You must be signed in to change notification settings - Fork 48
Speed #118
Comments
I know, it's even worse on slower PCs (on the slowest system I own, it takes as long as 20 seconds). It definitely needs optimization, I'm not an expert in optimizing programs, but I think that it could be useful to use multiple threads for getting info. |
But is that with ASCII art or with viu images? It would be possible to make parts of this program multi threaded, but the main reason why this is slower than paleofetch or fastfetch and can't be insanely optimized as I see it is that it supports so many different systems, not just GNU/Linux on Xorg. |
Also there are too many if statements (96 to be precise) and I am pretty sure that this also affects performance. |
That's a nice result, but on my laptop commenting the same line, I get almost no difference and I don't know why |
…-oliviero#140) This commit adds the option to read a pregenerated cache, to improve speed on low spec systems. The cache system is not fully working (apple users do not get pkg info and upti me is not updated) and to use it the `$UWUFETCH_CACHE_ENABLED` must be set to `TRUE`, `true` or just `1`
paleofetch and fastfetch are way faster than uwufetch.
The command:
DATE1=$(date +%s%N) ; uwufetch > /dev/null ; DATE2=$(date +%s%N) ; echo "$(expr $(expr $DATE2 - $DATE1) / 1000000)ms"
The text was updated successfully, but these errors were encountered: