Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profile the game loop #236

Open
mlange-42 opened this issue Mar 17, 2024 · 2 comments
Open

Profile the game loop #236

mlange-42 opened this issue Mar 17, 2024 · 2 comments
Labels
good first issue Good for newcomers infrastructure CI, tests, publishing, ...

Comments

@mlange-42
Copy link
Owner

Not that there are any perfoemance issues... However, it would be interesting to check where the game spends the most time, i.e. to save a bit of energy.

@mlange-42 mlange-42 added good first issue Good for newcomers infrastructure CI, tests, publishing, ... labels Mar 17, 2024
@Ecostack
Copy link
Contributor

How would you go about profiling? Would be pprof enough in that case?

@mlange-42
Copy link
Owner Author

Yes, that's what I was intending. For examples, see the Arche profiling stuff. Particularly the main files nested under https://github.com/mlange-42/arche/tree/main/benchmark/profile.

I usually use the graph visualization. Flame graph might also be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers infrastructure CI, tests, publishing, ...
Projects
None yet
Development

No branches or pull requests

2 participants