Page 1 of 1

✔️ NEW FEATURE: Frame Time Graph

Posted: 2023-Nov-07, 21:53
by Krishty
For performance analysis, a time graph can be opened via View > Debug > Frame Time Graph.

It displays the time budget of the last 240 frames, divided into logic (red) and rendering (blue). The graph grows top-down and the screen height denotes our minimal target framerate of 1/30 seconds, i.e. if a spike hits the bottom of the screen, that’s stuttering to the user.

We should aim to keep this graph small (high frame rate) and free of spikes (no stuttering).

Re: ✔️ NEW FEATURE: Frame Time Graph

Posted: 2023-Nov-08, 15:18
by bored
I'm not seeing this feature. Maybe the code hasn't been uploaded yet? I've just done a fresh 'git clone' and it seems to be dated about 7pm on the 6th Nov.

Re: ✔️ NEW FEATURE: Frame Time Graph

Posted: 2023-Nov-08, 20:07
by Krishty
mikew wrote: 2023-Nov-08, 15:18I'm not seeing this feature. Maybe the code hasn't been uploaded yet? I've just done a fresh 'git clone' and it seems to be dated about 7pm on the 6th Nov.
That’s very odd. In Visual Studio, go to Git > View Branch History. Do you see these commits? The 7th should be the relevant one.

image.png
image.png (17.86 KiB) Viewed 3795 times

Re: ✔️ NEW FEATURE: Frame Time Graph

Posted: 2023-Nov-08, 21:53
by bored
Totally my fault. It's working wonderfully.