Skip to main content
PerformanceEntry.prototype.entryType - perf_hooks - Node documentation
property PerformanceEntry.prototype.entryType

Usage in Deno

import { PerformanceEntry } from "node:perf_hooks";

The type of the performance entry. It may be one of:

  • 'node' (Node.js only)
  • 'mark' (available on the Web)
  • 'measure' (available on the Web)
  • 'gc' (Node.js only)
  • 'function' (Node.js only)
  • 'http2' (Node.js only)
  • 'http' (Node.js only)

Type