Skip to main content
PerformanceMeasure - node__perf_hooks.d.ts - Node documentation
class PerformanceMeasure

Usage in Deno

```typescript import { PerformanceMeasure } from "node:node__perf_hooks.d.ts"; ```
Exposes measures created via the `Performance.measure()` method. The constructor of this class is not exposed to users directly.

Properties

readonly
entryType: "measure"
variable PerformanceMeasure
`PerformanceMeasure` is a global reference for `import { PerformanceMeasure } from 'node:perf_hooks'`

Type

globalThis extends { onmessage: any; PerformanceMeasure: infer T; } ? T : _PerformanceMeasure

See

  • https://nodejs.org/docs/latest-v22.x/api/globals.html#performancemeasure