Skip to content

Build an instrumented binary with cargo pgo

Jim Fasarakis-Hilliard edited this page Jun 13, 2023 · 2 revisions

NOTE TO SELF: Simple set of steps to build with instrumentation information -> pgo -> win. Most of the steps will be calls to cargo pgo, main issue is seeing if running the tests with --pgo will work just fine.

Dependencies

Steps

Build with instrumentation

Run tests, these guide the optimization

Running tests for instrumentation:

cargo run --release --features ssl,jit -- -m test --pgo

NOTE TO SELF: This runs most of the tests but discards usual information that we might care on a normal run (i.e output etc).

Win

NOTE TO SELF: Maybe a small benchmark to see if this has an effect?

Clone this wiki locally
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy