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

ComputeDeadline always returns a value less than 16ms (on 60Hz refresh-rate devices) #9584

Closed
rniwa opened this issue Aug 5, 2023 · 3 comments
Labels
interop Implementations are not interoperable with each other

Comments

@rniwa
Copy link

rniwa commented Aug 5, 2023

Despite of the fact computeDeadline algorithm uses 50ms upper limit and only shortens it to the estimated next rendering update when there is a rendering update opportunity, both Firefox & Chrome seem to always behave as though there isa rendering update opportunity, and always returns a time less than 16ms on a foreground tab / window.

@smaug----
Copy link

smaug---- commented Aug 14, 2023

http://mozilla.pettay.fi/moztests/maxidletime.html gives me ~50ms deadlines most of the time, both in Firefox and Chrome, on Linux and Windows. (Didn't have a Mac around)

@annevk annevk added the interop Implementations are not interoperable with each other label Aug 18, 2023
@annevk
Copy link
Member

annevk commented Aug 18, 2023

@rniwa could you perhaps share your test so we can contrast it with the one from Olli?

@rniwa
Copy link
Author

rniwa commented Aug 18, 2023

I have no recollection of this issue. Closing for now.

@rniwa rniwa closed this as completed Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interop Implementations are not interoperable with each other
Development

No branches or pull requests

3 participants