fix(perf): support browsers without `window.performance`