Skip to content

Instantly share code, notes, and snippets.

@xaviervia
Created January 12, 2017 10:01
Show Gist options
  • Save xaviervia/c17859ce49807f2cf8abfd14e2a699d5 to your computer and use it in GitHub Desktop.
Save xaviervia/c17859ce49807f2cf8abfd14e2a699d5 to your computer and use it in GitHub Desktop.
Plain collect FPS
import collectFPS from 'collect-fps'
window.onload = () => collectFPS(60, (_, x) => console.log(x))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment