FPS is greatly reduced
wsxiya opened this issue · 2 comments
The use of the 1.19.2forge version will lead to a significant decrease in FPS. When I didn’t add this mod, the FPS can break through to 1000+. After installing this mod, the FPS can’t even break through 300. Of course, I didn’t turn on vertical synchronization, but there is no problem in the fabric version. It will not cause a significant decrease in FPS, the game version is 1.19.2, the forge version is 43.2.14, and the OpiiFine version is _I2,
Thank you for reporting this issue. I agree that the FPS decrease after installing the 1.19.2 forge version is unusual and warrants further investigation. I will thoroughly analyze the situation upon my return from vacation and provide a solution. Your patience is appreciated.
-Ewy
I've ran a performance profiler (Spark) to find the cause of the issue, here's the profile: https://spark.lucko.me/kbeizbpOug
The main cause of performance issues is this method call:
Updating the window title every frame is very slow, though this probably varies depending on what OS is being used.
My recommendation would be to update the FPS display at a (configurable?) interval instead of every frame.