Use window.performance.now if available, otherwise fallback to Date.now polyfill