Updated Performance (markdown)

Mischievous Meerkat 2020-12-10 22:31:22 +05:30
parent 911157df28
commit 99c4c51c7c

@ -54,11 +54,11 @@ Stripped binary (or script) size & memory usage of `nnn` and some other popular
Results with a more aggressive custom static compilation and upx compression: Results with a more aggressive custom static compilation and upx compression:
<pre> <pre>
$ 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 $ make 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 $ upx nnn-static
$top $top
<b> BINSZ</b> VIRT <b> RES</b> SHR S %MEM COMMAND <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> 3136 <b> 3052</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 <b> 579K</b> 2428 <b> 2240</b> 4 S 0.0 nnn-static -cdDEnQrux -t d /usr/bin // 1.5K files
</pre> </pre>