reference window.performance.now rather than global performance