Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examine Profile-guided optimization (PGO) #3834

Open
8 of 10 tasks
FilipAndersson245 opened this issue Jun 2, 2024 · 1 comment
Open
8 of 10 tasks

Examine Profile-guided optimization (PGO) #3834

FilipAndersson245 opened this issue Jun 2, 2024 · 1 comment

Comments

@FilipAndersson245
Copy link

Checklist

  • I have read through the manual page (man fzf)
  • 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

  • Linux
  • macOS
  • Windows
  • Etc.

Shell

  • bash
  • zsh
  • 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.

@junegunn
Copy link
Owner

junegunn commented Jun 3, 2024

Thanks, I will take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants