performance.now() polyfill that works with browserify.
First:
npm install nowify
Then:
var nowify = require('nowify'); var start = nowify(); setTimeout(function() { var end = nowify(); alert(end - start); }, 10);
And that's it!
npm i nowify
4
0.1.0
none
github.com
4 years ago
test in your browser