Refresh rate detector to estimate the maximum performance
ianballantyne opened this issue · comments
As the browser calls requestAnimationFrame at the refresh rate of the monitor it is not possible to reliably submit data any faster. Detecting the refresh rate by running requestAnimationFrame in an empty loop should help give an indicator what the maximum frame rate could be.