Closed WhatsCosmicCrackin closed 2 years ago
I've noticed that the "Without Ok Zoomer" comparison omits the Fabric API; Could you try comparing Fabric with Fabric API and Fabric with Fabric API and Ok Zoomer? Because if my suspicions are correct, it isn't an Ok Zoomer issue, but a Fabric API one, and if it's indeed FAPI, I'd be pretty concerned about it
Issue #57 confirmed that this isn't a FAPI issue, I'll investigate this issue
Hmm, I did some comparisons between Ok Zoomer and no Ok Zoomer; On an instance containing only Fabric API and LazyDFU, I managed to reproduce this slight hit My main suspect is LibZoomer and its set iterations that is causing those slight slowdowns; Thankfully, on an already-intensive scenarios and with optimization mods (such as an another MC instance but with Canvas), the maximum that it has done is to make the stable FPS be slightly wobbly but otherwise, the FPS rate remained the same
Despite that, a mod that is feature-packed should not mean it should affect the FPS at all, and so, I'm working towards making those set iterations not affect performance at all. I already managed to get some extra FPS from switching to FastUtils! But yeah, I don't intend to stop there
Here are the screenshots so far:
And with a change that reduces those iterations when they're not necessary, I managed to reduce the tiny lag introduced by LibZoomer back to 0! Therefore, the next Ok Zoomer update will finally fix this issue
Fixed on LibZoomer 0.4.1, which is now used by Ok Zoomer 5.0.0-beta.6
With "ok zoomer" installed I'm getting an average of 65 fps. without I get 76 fps. the test was performed over 2 min of looking at heavy terrain standing still with a command to look at the same block every time, with no other plugins installed only "fabric-api-0.44.0+1.18" and "ok zoomer-5.0.0-beta.3+1.17.1". I know it's only a 11 fps difference but it's significant, especially because the mod isn't even in use