镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Incorrect version for PerformanceMark and PerformanceMeasure of perf_hooks module #55792

Description

@skyclouds2001

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

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to Node.js documentation.staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions