nnn

mirror of https://github.com/jarun/nnn
Log | Files | Refs | README | LICENSE

commit 39017eaa102ac9090769a2686d53e1036ed9fc43
parent 2c57e0403329e920dd81d07c4f1a7f0ededda04e
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Sun,  1 Feb 2026 18:49:24 +0530

Add a hook to run and exit for performance profiling

Diffstat:
Msrc/nnn.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -7478,6 +7478,9 @@ begin: statusbar(path); } + /* Uncomment for disk usage calculation performance profiling e.g. to run 'time nnn -T d /' and exit */ + // return EXIT_SUCCESS; + nochange: /* Exit if parent has exited */ if (getppid() == 1)