RecordableHistogram.recordDelta - 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.

Examples

Return Type

void