Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox Profiler increases framerate #33

Open
tecnd opened this issue Aug 26, 2022 · 0 comments
Open

Firefox Profiler increases framerate #33

tecnd opened this issue Aug 26, 2022 · 0 comments

Comments

@tecnd
Copy link

tecnd commented Aug 26, 2022

TL;DR: RenPyWeb performs poorly in Firefox, but turning on profiling restores the missing performance, somehow.

So I'm not sure what's happening, or how it makes any sense, or if it's even an issue with RenPyWeb at all, but this seems like the most appropriate place to put it. I'm building for web in RenPy 7.5.2, and it works perfectly in Chrome. Solid 50+ fps basically all the time. However, Firefox can only manage ~20 fps at the best of times. Still playable for a VN, but you can see the text scrolling is pretty choppy. I chalk it up to just browser things and make a note for people to use Chrome. Out of idle curiosity, I open up the Performance tab in the developer tools and start recording to see if I can spot anything strange. The moment I click record, the framerate jumps up to 50. I stop the recording, and it drops back down to 20. I tested this on two different devices on two different VNs, and saw the same behavior.
Both machines are running Windows 11, Firefox 104.0, one has Intel integrated graphics and the other has a GTX 1080 Ti. RenPy is set to performance mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant