diff --git a/Performance.md b/Performance.md index 91330e3..f0e6a80 100644 --- a/Performance.md +++ b/Performance.md @@ -48,7 +48,18 @@ Stripped binary (or script) size & memory usage of `nnn` and some other popular 650K 139720 91220 8460 S 1.1 ranger 1M 50496 15328 4076 S 0.2 vifm 1M 72152 12468 7336 S 0.2 mc - 94K 15740 4348 2460 S 0.1 nnn -S + 94K 15740 4348 2460 S 0.1 nnn -t d + + +Results with a more aggressive custom static compilation and upx compression: + +
+$ 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 + BINSZ VIRT RES SHR S %MEM COMMAND + 579K 3144 3080 4 S 0.0 nnn-static -cdDEnQrux -t d ~/images // 11K files + 579K 2428 2240 4 S 0.0 nnn-static -cdDEnQrux -t d /usr/bin // 1.5K files## nnn vs. ls