Updated Performance (markdown)

Mischievous Meerkat 2020-12-10 22:28:10 +05:30
parent 86bf6b4213
commit e08e10c464
1 changed files with 12 additions and 1 deletions

@ -48,7 +48,18 @@ Stripped binary (or script) size & memory usage of `nnn` and some other popular
<b> 650K</b> 139720 <b>91220</b> 8460 S 1.1 ranger
<b> 1M</b> 50496 <b>15328</b> 4076 S 0.2 vifm
<b> 1M</b> 72152 <b>12468</b> 7336 S 0.2 mc
<b> 94K</b> 15740 <b> 4348</b> 2460 S 0.1 nnn -S
<b> 94K</b> 15740 <b> 4348</b> 2460 S 0.1 nnn -t d
</pre>
Results with a more aggressive custom static compilation and upx compression:
<pre>
$ sudo make CFLAGS=-march=corei7 O_NORL=1 O_NOMOUSE=1 O_NOLOC=1 O_NOBATCH=1 O_NOSSN=1 O_NOFIFO=1 O_QSORT=1 O_NOUG=1 static
$ upx nnn-static
$top
<b> BINSZ</b> VIRT <b> RES</b> SHR S %MEM COMMAND
<b> 579K</b> 3144 <b> 3080</b> 4 S 0.0 nnn-static -cdDEnQrux -t d ~/images // 11K files
<b> 579K</b> 2428 <b> 2240</b> 4 S 0.0 nnn-static -cdDEnQrux -t d /usr/bin // 1.5K files
</pre>
## nnn vs. ls