Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] window.performance.now is not provided #679

Open
adrien-n opened this issue Jul 3, 2018 · 2 comments
Open

[FEATURE REQUEST] window.performance.now is not provided #679

adrien-n opened this issue Jul 3, 2018 · 2 comments

Comments

@adrien-n
Copy link
Contributor

adrien-n commented Jul 3, 2018

It would be nice to provide bindings to window.performance.now ( https://developer.mozilla.org/en-US/docs/Web/API/Performance/now ).

The precision has been reduced because of the concerns raised by spectre-class attacks and isn't much better than Date's but the API is really much nicer to work with.

Thanks.

@hhugo
Copy link
Member

hhugo commented Jul 9, 2018

Alternatively, you can use Sys.time () directly.

@hhugo
Copy link
Member

hhugo commented Jul 9, 2018

It returns seconds instead of milliseconds

@hhugo hhugo changed the title window.performance.now is not provided [FEATURE REQUEST] window.performance.now is not provided Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants