Skip to content

Add Profiling Instructions#119

Merged
AlemSnyder merged 2 commits into
mainfrom
Profiling
May 5, 2026
Merged

Add Profiling Instructions#119
AlemSnyder merged 2 commits into
mainfrom
Profiling

Conversation

@AlemSnyder

Copy link
Copy Markdown
Owner

Add profiling instructions to make a flame graph.

Comment thread README.md
gprof doesn't work with multi-threading. For that we can use perf.

```sh
perf record -ag ./FunGame Start # or any other commands

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's also gprofng, but honestly perf is great

https://www.redhat.com/en/blog/perf-vs-gprofng

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll look into that when I need to start profiling again.

@AlemSnyder AlemSnyder merged commit 0feac9c into main May 5, 2026
4 checks passed
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.

2 participants