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

Enable: Profile-Guided Optimization (PGO) #268

Merged
merged 1 commit into from
Mar 16, 2024
Merged

Enable: Profile-Guided Optimization (PGO) #268

merged 1 commit into from
Mar 16, 2024

Conversation

hatoo
Copy link
Owner

@hatoo hatoo commented Jul 15, 2023

resolve #264

  • Added a script build with pgo in justfile
  • try BOLT later
  • TODO: add to CI

Current state

for server In pgo/server

v0.6.1

oha -z 10s --no-tui -c 900  http://localhost:8888/

Requests/sec: 606825.6121

LTO+PGO+(etc)

just # to build
./target/x86_64-unknown-linux-gnu/release/oha -z 10s --no-tui -c 900  http://localhost:8888

Requests/sec: 684939.1770

It looks noticeably fater

@hatoo hatoo marked this pull request as ready for review March 16, 2024 06:10
@hatoo
Copy link
Owner Author

hatoo commented Mar 16, 2024

I will try BOLT when it is stabilized more.
And add to CI in other PR.

@hatoo hatoo merged commit 1bf080a into master Mar 16, 2024
22 checks passed
@hatoo hatoo deleted the pgo branch March 21, 2024 07:16
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

Successfully merging this pull request may close these issues.

Profile-Guided Optimization (PGO) improvements
1 participant