summaryrefslogtreecommitdiffstats
path: root/src/options_no_pprof.go
AgeCommit message (Collapse)Author
2024-05-07Refactor the code so that fzf can be used as a library (#3769)Junegunn Choi
2024-04-13Enable profiling options when 'pprof' tag is set (#2813)Charlie Vieth
This commit enables cpu, mem, block, and mutex profling of the FZF executable. To support flushing the profiles at program exit it adds util.AtExit to register "at exit" functions and mandates that util.Exit is used instead of os.Exit to stop the program. Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>