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

Usage in Deno

import { PerformanceEntry } from "node:perf_hooks";

The total number of milliseconds elapsed for this entry. This value will not be meaningful for all Performance Entry types.

Type

number