[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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

RefreshRate config option will not always perform at the intended speed #64

Open
Kermalis opened this issue Dec 8, 2019 · 0 comments
Open
Labels

Comments

@Kermalis
Copy link
Owner
Kermalis commented Dec 8, 2019

The timer that's used will only accept int milliseconds, so for example, with RefreshRate=60, we must wait 16.66~ milliseconds per frame, and the timer cannot do that, so it'll refresh every 16 milliseconds which results in 62.5 frames per second.
Other common values and their current outputs:

  • 30: Must wait 33.33~ ms, waits 33 ms, outputs 30.3030~ fps
  • 75: Must wait 13.33~ ms, waits 13 ms, outputs 76.923076923076~ fps
  • 144: Must wait 6.944~ ms, waits 6 ms, outputs 166.66~ fps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant