IceCreamYou/MainLoop.js

why such a big dip every few seconds in fps?

simon-kyger opened this issue · 1 comments

Hello

I tried running your demo version of this loop on a 144hz monitor and occasionally am getting 100+ fps even if the slider is set to 60.

Am I misunderstanding what this will do for you or is this a bug?

This is roughly what I see happening:

image

When the slider is set to max, the demo intentionally does not cap the FPS:

https://github.com/IceCreamYou/MainLoop.js/blob/gh-pages/demo/index.html#L253