Changing pixelRatio based on fps , good or bad idea?

Constantly shifting pixel ratio can make the image feel unstable. Even if people don’t know what’s happening technically, they can feel the sharpness changing and it almost looks like the app is blinking or struggling.

Unless the drops are really extreme, I’d rather keep the resolution stable and optimize elsewhere. A steady slightly lower quality usually feels better than something that keeps going sharp and soft over and over.

Consistency matters more than squeezing every last frame out of it.

I magaged to do this by measuring refresh rate by runnning a empty req anim frame while the model/assets were loading

then use that refresh rate as fps goal

worked well on devices with static refresh rate like a 90hz phone, 75hz monitor, 240hz gaming laptop

but broke on devices with dynamic refresh rate (eg samsung s24 runs at 120hz when user touches and 60hz when there is no user interaction)

So now i just detect if fps is below some threhsold and then just disable postprocessing or reduce dpr