Skip to content

Latest commit

 

History

63 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wtc-measureFPS

A small class for measuring the FPS at which a page is running. Useful for throttling animations and heavy calculations on potatoes.

npm i wtc-measure-fps
import getFPSMeasure from "wtc-measure-fps";

let fpsMeasure = getFPSMeasure();

if (fpsMeasure.average60 < 5) {
    // stop animation
}

About

A small class for measuring the FPS at which a page is running. Useful for throttling animations and heavy calculations on potatoes.

Resources

Stars

0 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages