extremely fast, simple and lightweight fetch program
Written in rust, fast and simple fetch program for UNIX based systems, configurable through config.rs at compile time. Made for learning purposes.
I created it to be as fast and low resource as possible, results can be seen in comparison part.
/etc/os-release
- rust compiler
- Nerd Fonts
(AVG for 3 runs)
Fetch program | Maximum resident ram | Execution time | Minor page faults | Involuntary context switches |
---|---|---|---|---|
rsfetch | 2220kb | 0s | 186 | 2 |
neofetch | 7103kb | 0.12s | 36095 | 24 |
fastfetch | 10568kb | 0s | 740 | 12 |
afetch | 3868kb | 0.02s | 518 | 6 |
pfetch | 2304kb | 0.01s | 1339 | 6 |
screenfetch | 48283kb | 0.3s | 37708 | 64 |
- Gentoo
- Arch
- Artix
- Manjaro
- Ubuntu
- Debian
- Mint
- Fedora
- Void
- elementary OS
- Devuan
- Alpine Linux
- Rocky Linux
git clone https://github.com/polluktus/rsfetch.git
cd rsfetch
vim src/config.rs
sudo cargo install --path .
sudo strip /usr/local/bin/rsfetch
or more manual way
git clone https://github.com/polluktus/rsfetch.git
cd rsfetch
vim src/config.rs
cargo build --release
(optional but recommended) strip target/release/rsfetch
sudo cp -v target/release/rsfetch /usr/local/bin