Skip to content

Commit

Permalink
document pgo
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasf committed Nov 2, 2024
1 parent 7b5037d commit 5c494d0
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions research/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,21 @@ min_deviation,max_deviation,default_volatility,tau,first_advantage,rating_period
The most important part is the `avg_deviance` column, which is indicates
the predictive power of the rating system with the given parameters
(lower is better).

PGO
---

Profile-guided optimization can be used to create a faster `./replay_encounters`
binary.

```sh
# Install dependencies
rustup component add llvm-tools-preview
cargo install cargo-pgo

# Check dependencies (bolt not needed)
cargo pgo info

# Build with PGO
./pgo.sh
```

0 comments on commit 5c494d0

Please sign in to comment.