Skip to content

Unbreak microbench, add os.now() #93

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

Merged
merged 1 commit into from
Nov 19, 2023
Merged

Conversation

bnoordhuis
Copy link
Contributor

The removal of the high-precision but non-standard clock source in commit 5af98ca broke microbench because Date.now() is not granular enough for the benchmark runner to make forward progress.

This commit adds a new method to the os module that returns time with microsecond precision.

The removal of the high-precision but non-standard clock source in
commit 5af98ca broke microbench because Date.now() is not granular
enough for the benchmark runner to make forward progress.

This commit adds a new method to the os module that returns time
with microsecond precision.
@bnoordhuis bnoordhuis merged commit e49da8e into quickjs-ng:master Nov 19, 2023
@bnoordhuis bnoordhuis deleted the os-now branch November 19, 2023 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants