Cubyz icon indicating copy to clipboard operation
Cubyz copied to clipboard

Add an average of x frames into the frame time graph.

Open IntegratedQuantum opened this issue 1 year ago • 6 comments

x=12 might be good, since it has many factors.

IntegratedQuantum avatar Jun 03 '24 17:06 IntegratedQuantum

Should it be an option, or just replace the current behavior? Should it update on every 12th frame as well to read better? Maybe the refresh rate should be based on time? How do other games implement it?

archbirdplus avatar Jun 06 '24 06:06 archbirdplus

I would prefer if it is a second line in the graph, maybe with a different color. I think it's very important to have both, to be able to see small lag spikes. Te refresh can be a single frame, since there is no changing text in the graph.

IntegratedQuantum avatar Jun 06 '24 06:06 IntegratedQuantum

What do you mean by the last line?

Te refresh can be a single frame, since there is no changing text in the graph.

archbirdplus avatar Jun 06 '24 06:06 archbirdplus

It's a line graph. Screenshot at 2024-06-06 08-42-27 I find it not at all difficult to read at high refresh rates.

IntegratedQuantum avatar Jun 06 '24 06:06 IntegratedQuantum

I took this issue to encompass all benchmarks. Particularly relevant for optimizing specific things, and #445 task perfs. To have a number to jot down and compare. Is this a separate issue or just #445?

The line graph is just impressionistic so its fine to have it update every frame. Here's my graph by the way (idk if you want to support this): Screenshot 2024-06-05 at 23 45 39

archbirdplus avatar Jun 06 '24 06:06 archbirdplus

No, this is a seperate issue, to make it easier to compare frametime, when there is a lot of jitter in the graph.

IntegratedQuantum avatar Jun 06 '24 06:06 IntegratedQuantum

I am no longer convinced that this really is any useful.

IntegratedQuantum avatar Nov 24 '24 20:11 IntegratedQuantum