Comments (5)
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.
from uwufetch.
(on the slowest system I own, it takes as long as 20 seconds).
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.
from uwufetch.
But is that with ASCII art or with viu images?
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.
from uwufetch.
After testing, I saw that pkgman
function is the slowest one.
After commenting line 645, this is the result.
Both compiled with cc
.
EDIT:
Running the same test a few times, and including fastfetch
in the results.
Without pkgman
function, uwufetch
is twice as fast as the latest one but still not as fast as fastfetch
.
from uwufetch.
That's a nice result, but on my laptop commenting the same line, I get almost no difference and I don't know why
from uwufetch.
Related Issues (20)
- no arm/android support HOT 1
- More UwU in Hardware / Manufactuwu HOT 1
- [BUG]
- [BUG] CPU Model is seen as kilobytes HOT 7
- [BUG] Some information was wrong HOT 6
- [BUG] Buffer overflow on NixOS HOT 3
- [FEATURE-REQUEST Fastuwufetch when? HOT 4
- [BUG] buffer overflow due to $SHELL
- [BUG] Doesn't show GPUWU without root perms HOT 5
- Syntax error and Exec format error when ran HOT 4
- [OS-REQUEST] Red Hat Enterprise Linux HOT 2
- [BUG] UWUFETCH_VERSION string not set in Github generated archives HOT 4
- [FEATURE-REQUEST] Call package manager from PATH instead of hard-coding paths HOT 1
- [BUG] Arbitrary code execution via code injection HOT 1
- uwufetch doesn't show the image in kitty terminal and how can i use icat in wuwfetch instead HOT 3
- [BUG] Uwufetch does not move the cursor to the end of the output in the tty. HOT 1
- [BUG] Installing uwufetch on FreeBSD breaks system package manager HOT 8
- [BUG]Doesnt work on iOS HOT 1
- [BUG] uwufetch doesn't show right resolution HOT 1
- Archiving this project
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uwufetch.