Skip to main content
RecordableHistogram.recordDelta - perf_hooks - Node documentation
method RecordableHistogram.recordDelta

Usage in Deno

import { type RecordableHistogram } from "node:perf_hooks";
RecordableHistogram.recordDelta(): void

Calculates the amount of time (in nanoseconds) that has passed since the previous call to recordDelta() and records that amount in the histogram.

Return Type

void