Polyfill window.performance.now()