Skip to content

Incorrect version for PerformanceMark and PerformanceMeasure of perf_hooks module #55792

New issue

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

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

Already on GitHub? # to your account

Open
skyclouds2001 opened this issue Nov 8, 2024 · 0 comments
Labels
doc Issues and PRs related to the documentations.

Comments

@skyclouds2001
Copy link
Contributor

skyclouds2001 commented Nov 8, 2024

Affected URL(s)

https://nodejs.org/docs/latest/api/perf_hooks.html

Description of the problem

The doc says PerformanceMark and PerformanceMeasure are added in v18.2.0, v16.17.0; this is not true (the version is added in docs changes happens in #44483)

PerformanceMark is implemented and can be accessed via perf_hooks module in #37136, in v16.0.0

PerformanceMeasure is also implemented in #37136, in v16.0.0; bu can be accessed via perf_hooks module in #39297, in v16.7.0


manually test in local node runtime:

image

image


see also mdn/browser-compat-data#25008

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
doc Issues and PRs related to the documentations.
Projects
None yet
Development

No branches or pull requests

1 participant