Skip to main content
Console.timeEnd - node__console.d.ts - Node documentation
method Console.timeEnd

Usage in Deno

```typescript import { type Console } from "node:node__console.d.ts"; ```
Console.timeEnd(label?: string): void
Stops a timer that was previously started by calling time and prints the result to `stdout`: ```js console.time('bunch-of-stuff'); // Do a bunch of stuff. console.timeEnd('bunch-of-stuff'); // Prints: bunch-of-stuff: 225.438ms ```

Parameters

optional
label: string = 'default'

Return Type

void