Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/tstl/benchmark/internal/TimeWatch.ts>TimeWatch.measure

TypeScript-STL (Standard Template Library, migrated from C++)
Go to Latest
function TimeWatch.measure
import { TimeWatch } from "https://deno.land/x/tstl@v2.4.11/benchmark/internal/TimeWatch.ts";
const { measure } = TimeWatch;

Parameters

proc: () => void

Returns

number