Skip to content

Conversation

@elibarzilay
Copy link
Contributor

@elibarzilay elibarzilay commented Sep 16, 2020

On node, performance is found in require("perf_hooks").

Fixes #40591.

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Sep 16, 2020
@j-oliveras
Copy link
Contributor

Probably #40593 make this obsolete.

@elibarzilay
Copy link
Contributor Author

Probably #40593 make this obsolete.

Indeed it does, the question is to do this specific thing in case #40593 will get merged later.

@typescript-bot typescript-bot added For Backlog Bug PRs that fix a backlog bug and removed For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Sep 30, 2020
On node, `performance` is found in `require("perf_hooks")`.
@elibarzilay elibarzilay merged commit 868638a into microsoft:master Oct 15, 2020
@elibarzilay elibarzilay deleted the nanosec-timestamp branch October 15, 2020 23:02
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Backlog Bug PRs that fix a backlog bug

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

performanceTimestamp should use performance.now on node too

4 participants