Skip to content
Beherith edited this page Jul 29, 2023 · 5 revisions

How to profile the engine using tracy

Preparation steps:

  1. Download Tracy, unzip it anywhere: https://github.com/wolfpld/tracy/releases/tag/v0.9.1

  2. Get the exact engine version we are currently using from https://engine-builds.beyondallreason.dev/index.html

  3. Unzip the engine to BAR/data/engine

  4. Get the BAR Debug Launcher exe file from here: https://github.com/beyond-all-reason/bar_debug_launcher/tree/main . Install it to BAR/data/engine

  5. In the BAR Debug launcher, select the tracy engine build you unzipped in step 2, and select "Spring-launcher with rapid://byar-chobby:test"

  6. Hit Start in the BAR Debug launcher

  7. Launch Tracy.exe, and hit connect. If it throws an instrumentation error, connect again.