Skip to content

nvdnkpr/fpsmeter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple JavaScript library for sexy, fast, and themable FPS meter. It can measure:

  • frames per second
  • number of milliseconds between frames
  • number of milliseconds it takes to render one frame

FPSMeter rendering is optimized and chained to requestAnimationFrame (with a polyfill for older browsers), so it should be as smooth and as fast as possible. It also supports multiple instances on one page, has show/hide methods that also pause the meter rendering, and color heatmaps that make themes even more pretty!

Dependencies

None.

Compatibility

Works in IE7+ and all modern browsers.

FPSMeter upholds the Semantic Versioning Specification.

Installation

You can install with Bower:

bower install fpsmeter

Or manually download the latest stable release:

Documentation

  • Calling - how to call FPSMeter, plus usage examples
  • Options - all available options
  • Properties - accessible FPSMeter object properties
  • Methods - all available methods, and how to use them
  • Theming - how to theme FPSMeter

Contributing

Please, read the Contributing Guidelines for this project.

About

Sexy, fast, and themable FPS meter.

Resources

Stars

Watchers

Forks

Packages

No packages published