JSFiddle - React, Tailwind, and code Playground
by kodisha
HTML
<script src="http://bajcic.com/lib/stats.min.js"></script>
JavaScript
var stats = new Stats();
stats.setMode(0); // 0: fps, 1: ms
setInterval( function () {
stats.begin();
// your code goes here
stats.end();
}, 1000 / 60 );