What is an issue?
When the application starts, the Max FPS value shown in the frame counter window displays an abnormally high number on the very first frame. As seen in the attached image, the average (Avg) FPS is measured at 257.8, but the Max FPS is recorded momentarily at a much higher value of 311.3 (240fps is max).
Expected Causes
- On the first frame, the delta time calculation may be unstable or result in a very small value due to the absence of a previous frame's data, causing a momentary spike in the FPS reading.
- It's possible that necessary resources are already loaded before the main rendering loop begins, making the workload for the first frame exceptionally light and leading to a temporarily high frame rate.
Expected Solutions