JavaScript Library To Check And Display Frames Per Second – fps

Category: Javascript | October 11, 2016
Authorbornbit
Last UpdateOctober 11, 2016
LicenseMIT
Tags
Views775 views
JavaScript Library To Check And Display Frames Per Second – fps

The fps.js JavaScript library lets you display the live update frames per second to measure your webpage’s responsiveness.

How to use it:

Load the minified version of the FPS library in the document.

<script src="dist/fps.min.js"></script>

Create a new FPS object and specify the target element you want to check.

var fps = new FPS("#container");

Display the current FPS on the webpage.

fps.start();

You Might Be Interested In:


Leave a Reply