Console.profileEnd - Node documentation
method Console.profileEnd

Usage in Deno

import { type Console } from "node:console";
Console.profileEnd(label?: string): void

This method does not display anything unless used in the inspector. Stops the current JavaScript CPU profiling session if one has been started and prints the report to the Profiles panel of the inspector. See profile for an example.

If this method is called without a label, the most recently started profile is stopped.

Parameters

optional
label: string

Return Type

void