tiny-world
tiny-world copied to clipboard
Profile the game loop
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.
How would you go about profiling? Would be pprof enough in that case?
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.