Skip to content

Instantly share code, notes, and snippets.

@aurkaxi
Last active September 12, 2023 23:10
Show Gist options
  • Save aurkaxi/8235f92b0fc45bd1d88d7645512958cc to your computer and use it in GitHub Desktop.
Save aurkaxi/8235f92b0fc45bd1d88d7645512958cc to your computer and use it in GitHub Desktop.
Benchmark of different terminal fetch tool or system information packages

Sorted by total time taken from low to high.

tool user system cpu total
pfetch-rs 0.01s 0.01s 93% 0.013s
macchina 0.00s 0.01s 75% 0.018s
pfetch 0.03s 0.03s 103% 0.055s
freshfetch 0.05s 0.23s 97% 0.285s
neofetch 0.35s 0.27s 102% 0.610s

neofecth alternative written in rust for more customization

github: https://github.com/K4rakara/freshfetch

time freshfetch

  
                     -`                   aurka@mikado
                    .o+`
                   `ooo/                  OS: Arch Linux x86_64
                  `+oooo:                 Host: VivoBook_ASUSLaptop M1603QA_M1603QA
                 `+oooooo:                Kernel: Linux 6.5.2-arch1-1
                 -+oooooo+:               Uptime: 46 minutes
               `/:-:++oooo+:              Packages: 1282 (pacman)
              `/++++/+++++++:             Shell: zsh 5.9
             `/++++++++++++++:            Resolution: 1920x1200 @ 60Hz
            `/+++ooooooooooooo/`          WM: awesome
           ./ooosssso++osssssso+`         CPU: AMD Ryzen 5 5600H with Radeon Graphics (12) @ 4.28GHz
          .oossssso-````/ossssss+`        GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series
         -osssssso.      :ssssssso.       Board: ASUSTeK COMPUTER INC. M1603QA
        :osssssss/        osssso+++.      Memory: 1625MB / 7516MB
       /ossssssss/        +ssssooo/-
     `/ossssso+/:-        -:/+osssso+-                            
    `+sso+:-`                 `.-/+oso:                           
   `++:.                           `-/+/
   .`                                 `/
  

0.05s user 0.23s system 97% cpu 0.285s total

Another fetch tool written in rust.

github: https://github.com/Macchina-CLI/macchina

time macchina
                                                                                                        
        a8888b.           Host        -  aurka@mikado                                                   
       d888888b.          Machine     -  ASUSTeK COMPUTER INC. Vivobook VivoBook_ASUSLaptop M1603QA_M160
       8P"YP"Y88          Kernel      -  6.5.2-arch1-1                                                  
       8|o||o|88          Distro      -  Arch Linux                                                     
       8'    .88          DE          -  Awesome                                                        
       8`._.' Y8.         Packages    -  1282 (pacman)                                                  
      d/      `8b.        Terminal    -  kitty                                                          
     dP        Y8b.       Shell       -  zsh                                                            
    d8:       ::88b.      Uptime      -  46m                                                            
   d8"         'Y88b      CPU         -  AMD Ryzen 5 5600H with Radeon Graphics (16)                    
  :8P           :888      Resolution  -  1920x1200                                                      
   8a.         _a88P      Brightness  -  50%                                                            
 ._/"Yaa     .| 88P|      CPU Load    -  8%                                                             
 \    YP"    `|     `.    Memory      -  1.7 GB/7.5 GB                                                  
 /     \.___.d|    .'                                                                                   
 `--..__)     `._.'                                                                                     

0.00s user 0.01s system 75% cpu 0.018s total

this is the law

github: https://github.com/dylanaraps/neofetch

time neofetch
                   -`                    aurka@mikado 
                  .o+`                   ------------ 
                 `ooo/                   OS: Arch Linux x86_64 
                `+oooo:                  Host: VivoBook_ASUSLaptop M1603QA_M1603QA 1.0 
               `+oooooo:                 Kernel: 6.5.2-arch1-1 
               -+oooooo+:                Uptime: 49 mins 
             `/:-:++oooo+:               Packages: 1283 (pacman) 
            `/++++/+++++++:              Shell: zsh 5.9 
           `/++++++++++++++:             Resolution: 1920x1200 
          `/+++ooooooooooooo/`           WM: awesome 
         ./ooosssso++osssssso+`          Theme: Adwaita [GTK2], Catppuccin-Mocha-Standard-Mauve-dark [G 
        .oossssso-````/ossssss+`         Icons: Adwaita [GTK2], Flat-Remix-Grey-Dark [GTK3] 
       -osssssso.      :ssssssso.        Terminal: kitty 
      :osssssss/        osssso+++.       CPU: AMD Ryzen 5 5600H with Radeon Graphics (12) @ 4.280GHz 
     /ossssssss/        +ssssooo/-       GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series 
   `/ossssso+/:-        -:/+osssso+-     Memory: 1637MiB / 7340MiB 
  `+sso+:-`                 `.-/+oso:
 `++:.                           `-/+/                           
 .`                                 `/                           


0.35s user 0.27s system 102% cpu 0.610s total

Pfetch but written in rust.

Github: https://github.com/Gobidev/pfetch-rs

time pfetch
       /\         aurka@mikado 
      /  \        os     Arch Linux
     /\   \       host   VivoBook_ASUSLaptop M1603QA_M1603QA 1.0
    /      \      kernel 6.5.2-arch1-1
   /   ,,   \     uptime 45m
  /   |  |  -\    pkgs   1282
 /_-''    ''-_\   memory 1776M / 7340M

0.01s user 0.01s system 93% cpu 0.013s total

Minimalist fetch with highest starts after neofetch.

Github: https://github.com/dylanaraps/pfetch

time pfetch
       /\         aurka@mikado
      /  \        os     Arch Linux
     /\   \       host   VivoBook_ASUSLaptop M1603QA_M1603QA 1.0
    /      \      kernel 6.5.2-arch1-1
   /   ,,   \     uptime 47m
  /   |  |  -\    pkgs   1282
 /_-''    ''-_\   memory 1633M / 7340M

0.03s user 0.03s system 103% cpu 0.055s total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment