sp614x / optifine

1.81k stars 416 forks source link

[Shaders] Ability to record FPS #1199

Open DethRaid opened 6 years ago

DethRaid commented 6 years ago

I would love a way to record FPS. Perhaps you press a key, it starts recording, then you press another key and it stops. Then you'd get a file that is like "average fps: 30 min: 10 max: 60 standard deviation: 5"

Even better if it records frame times as well

Maybe a standardized scene that presents the worst case for certain effects like volumetric fog, underwater rendering, SSR, and other things that shaders commonly do

sp614x commented 6 years ago

Should this be for the FPS values shown on screen (they are 1sec average) or for the raw frame times? With shaders the FPS is usually very stable as the limiting factor is the GPU and it is mostly under constant load.