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

Usage in Deno

```typescript import { PerformanceMark } from "node:node__perf_hooks.d.ts"; ```
Exposes marks created via the `Performance.mark()` method.

Properties

readonly
duration: 0
readonly
entryType: "mark"
variable PerformanceMark
`PerformanceMark` is a global reference for `import { PerformanceMark } from 'node:perf_hooks'`

Type

globalThis extends { onmessage: any; PerformanceMark: infer T; } ? T : _PerformanceMark

See

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