fzf
fzf copied to clipboard
Examine Profile-guided optimization (PGO)
Checklist
- [X] I have read through the manual page (
man fzf) - [X] I have searched through the existing issues
- [ ] For bug reports, I have checked if the bug is reproducible in the latest version of fzf
Output of fzf --version
0.52.1 (6432f00)
OS
- [X] Linux
- [X] macOS
- [X] Windows
- [ ] Etc.
Shell
- [X] bash
- [X] zsh
- [X] fish
Problem / Steps to reproduce
Profile-guided optimization (PGO), also known as feedback-directed optimization (FDO), is a compiler optimization technique that feeds information (a profile) from representative runs of the application back into to the compiler for the next build of the application, which uses that information to make more informed optimization decisions. For example, the compiler may decide to more aggressively inline functions which the profile indicates are called frequently.
https://go.dev/doc/pgo
Enabling PGO usually result in somewhere between 2-14% better performance, I think it would be interesting to enable this for fzf.
Thanks, I will take a look.