Provide performance utils with window.performance.now when available

[#46121501]