-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
short_name: beherith | ||
github: Beherith | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
layout: default | ||
title: Profiling with Tracy | ||
parent: Guides | ||
permalink: guides/profiling-with-tracy | ||
author: beherith | ||
--- | ||
|
||
# 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. Find the exact engine version folder you are currently using (for example, for BAR that would be `BAR/data/engine`) | ||
|
||
4. A. Rename the old `spring.exe` to `spring_vanilla.exe`, and extract `spring.exe` from the archive to this engine folder. | ||
|
||
5. A. Start the game as you would otherwise via the launcher. | ||
|
||
6. Launch `Tracy.exe`, and hit connect. If it throws an instrumentation error, connect again. | ||
|
||
 | ||
|
||
8. Analyze profile. |