unenv
unenv copied to clipboard
feat(node, cloudflare): fill in api surface for `node:perf_hooks`
- added missing APIs
- created a hybrid polyfill for cloudflare
- updated injectable config for globalThis.performance
Reference: #
@pi0 I believe this PR is good to go. PTAL
@pi0 I'll get back to this one within a few days. I still care, just busy with other things.
No rush, thanks for the update @IgorMinar
Dear @IgorMinar i have rebased your work and moved the injections directly to cloudflare preset to move forward. please feel free to amend if any change needed.