The Performance tool found in https://playground.babylonjs.com/#938RNX#29 is nice but it lacks absolute fps calculation, which i need the most. Can anyone help me calulate the absolute fps
You can get it with:
1000.0 / sceneInstrumentation.frameTimeCounter.lastSecAverage
1 Like
but it’s an average i want match it with the performance viewer numbers
wait i think there is a delay when updating the values under “frame steps duration” tab. i think it updates once per second, i should add a delay in the registerafterrender function to make the numbers readable. also i will use
1000.0 / sceneInstrumentation.frameTimeCounter.current.toFixed(0);
to get the real number but not sure if i’m right
Here is how it is done in the Inspector
1 Like
thank you for this i will look into it