Jaume Sanchez
Jaume Sanchez
If I understand correctly, you should be using .frame(), like 'FPS' in the examples. That method accumulates (+1) each call, and calculates the correct value over 1000ms (https://github.com/spite/rstats/blob/master/src/rStats.js#L228). It does...
Here's a chrome extension WIP to inject a performance monitor based on rStats: https://github.com/spite/rstats-extension, if you want to try it on different pages and see how different events affect the...
It feels like it's a behaviour too deep into Blink/Gecko/etc to be adequately polyfilled. Frame timing as values exposed by the rendering engine, that's great. Everything else are guesses which...