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

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

Parameters

label: string
...details: unknown[]

Return Type

void

Usage

import { perfLog } from "lib/utils/perf-logger.ts";