Functions

f
perfLog(
label: string,
...details: unknown[]
): void

Writes a timestamped perf trace line to stderr when --trace-perf is active.

Usage

import * as mod from "lib/utils/perf-logger.ts";