✔️ NEW FEATURE: Frame Time Graph

Eggheads talking about bytes and stuff.
Post Reply
User avatar
Krishty
Site Admin
Posts: 2776
Joined: 2022-Jan-09, 00:59

✔️ NEW FEATURE: Frame Time Graph

Post 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).
bored
Data Genius
Posts: 929
Joined: 2022-Jan-09, 20:21

Re: ✔️ NEW FEATURE: Frame Time Graph

Post 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.
User avatar
Krishty
Site Admin
Posts: 2776
Joined: 2022-Jan-09, 00:59

Re: ✔️ NEW FEATURE: Frame Time Graph

Post 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 3790 times
bored
Data Genius
Posts: 929
Joined: 2022-Jan-09, 20:21

Re: ✔️ NEW FEATURE: Frame Time Graph

Post by bored »

Totally my fault. It's working wonderfully.
Post Reply