06-08-2024, 11:32 AM
Hi All
Has anyone built ops around benchmarking the darkplaces or Xonotic codebase?
I stumbled on Optimizing my game so it runs on a potato where a Godot game dev details things he did to get his fps up from 15 to over 100 fps...
Was thinking that I should just plain profile the code, and maybe take a bash at it, maybe one of those tips (like randomizing the times at which bots do their path calculation - if its not done already) - maybe there's still some scope for improvement?
Does anyone have any tips / are there any existing profiling scripts or documentation, specifically aimed at programming?
I noticed that darkplaces has a "make profile" option, but that's as much as I could find, without diving into doing it myself... (nothing on any related issue trackers)
(I'm not talking compilation flags like here https://forums.xonotic.org/showthread.php?tid=3178)
Has anyone built ops around benchmarking the darkplaces or Xonotic codebase?
I stumbled on Optimizing my game so it runs on a potato where a Godot game dev details things he did to get his fps up from 15 to over 100 fps...
Was thinking that I should just plain profile the code, and maybe take a bash at it, maybe one of those tips (like randomizing the times at which bots do their path calculation - if its not done already) - maybe there's still some scope for improvement?
Does anyone have any tips / are there any existing profiling scripts or documentation, specifically aimed at programming?
I noticed that darkplaces has a "make profile" option, but that's as much as I could find, without diving into doing it myself... (nothing on any related issue trackers)
(I'm not talking compilation flags like here https://forums.xonotic.org/showthread.php?tid=3178)