Www.browserfps

requestAnimationFrame(measureFPS);

– Run the code snippet above on any page with animations or scrolling to see how your browser handles the load. www.browserfps

let lastTimestamp = 0; let frameCount = 0; function measureFPS(now) frameCount++; if (now - lastTimestamp >= 1000) let fps = frameCount; console.log( FPS: $fps ); frameCount = 0; lastTimestamp = now; let frameCount = 0