diff --git a/Performance.md b/Performance.md index aae7ecc..7a364d2 100644 --- a/Performance.md +++ b/Performance.md @@ -41,6 +41,8 @@ ## Comparison +#### GNU libc + ncursesw vanilla + Stripped binary (or script) size & memory usage of `nnn` and some other popular FMs (which existed before `nnn`) while viewing a directory with 13.5K files (0 directories), sorted by size/du:
@@ -51,7 +53,9 @@ Stripped binary (or script) size & memory usage of `nnn` and some other popular 110K 15740 4348 2460 S 0.1 nnn -t d-Results with a more aggressive custom static compilation and upx compression: +#### GNU libc + ncursesw + upx custom + +Results with aggressive make options, static binary and upx compression:
$ 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 strip @@ -62,8 +66,9 @@ $ top 582K 2428 2240 4 S 0.0 nnn-static -cdDEnQrux -t d /usr/bin // 1.5K files-Results with `netbsd-curses` and `musl libc` (1950 files): +#### musc libc + netbsd-curses vanilla +Results with 1950 files:
$ musl-gcc -O3 -DNORL -I../netbsd-curses/libcurses -o nnn-shared src/nnn.c -Wl,-Bsymbolic-functions -L/opt/netbsd-curses -lcurses -lterminfo