unjs / unenv

🕊️ Convert javaScript code to be runtime agnostic
MIT License
348 stars 18 forks source link

Mock `performance.now` #137

Closed leo91000 closed 3 weeks ago

leo91000 commented 10 months ago

Describe the feature

In edge environnement, the performance.now() method is not available.

Adding performance.now() to unenv could improve support for edge runtime.

Additional information

pi0 commented 3 weeks ago

This is implemented in nightly channel now and will be available with v2 👍🏼