sfm

simple file manager
git clone git://git.afify.dev/sfm
Log | Files | Refs | README | LICENSE

commit b6063fd0a91a0ee976a09c79cbeb097ba26bfd21
parent 9104d4d90aa27ff1c10c39424578ee6207266aef
Author: afify <hassan@afify.dev>
Date:   Sat, 13 Mar 2021 13:40:56 +0300

[doc] add perf stat result & code-inspector badge

Diffstat:
MREADME.md | 16++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -4,12 +4,28 @@ [![Language grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/afify/sfm.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/afify/sfm/context:cpp) [![Build status](https://ci.appveyor.com/api/projects/status/goq88ahjyvtjrui2?svg=true)](https://ci.appveyor.com/project/afify/sfm) +[![code-inspector](https://www.code-inspector.com/project/19656/score/svg)](https://frontend.code-inspector.com/public/project/19656/sfm/dashboard) +[![code-inspector](https://www.code-inspector.com/project/19656/status/svg)](https://frontend.code-inspector.com/public/project/19656/sfm/dashboard) Description ------------ sfm is a simple file manager for unix-like systems based on [termbox](https://github.com/nsf/termbox). dual pane, bottom statusbar, bookmarks, open files by extention, vim-like key bindings as default configuration. cwd is left pane dir. No dependencies, static linking, c99. +Performance +------------ +```sh +$ perf stat -r 100 $filemanager +``` +| filemanager | cycles | instructions | +|:------------|:--------------|:--------------| +| `sfm` | `1,137,335` | `1,789,463` | +| `noice` | `5,380,103` | `9,214,250` | +| `nnn` | `5,664,917` | `9,790,040` | +| `lf` | `18,874,802` | `33,281,073` | +| `vifm` | `38,792,656` | `93,301,255` | +| `ranger` | `536,225,530` | `956,977,175` | + * Inspired by [vifm](https://vifm.info/) and [noice](https://git.2f30.org/noice/). * Follows the suckless [philosophy](https://suckless.org/philosophy/) and [code style](https://suckless.org/coding_style/).