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

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