@thi.ng/bench
Version:
Benchmarking & profiling utilities w/ various statistics & formatters (CSV, JSON, Markdown etc.)
12 lines • 406 B
TypeScript
import type { BenchmarkOpts, BenchmarkResult } from "./api.js";
export declare const DEFAULT_OPTS: BenchmarkOpts;
export declare const benchmark: (fn: () => void, opts?: Partial<BenchmarkOpts>) => BenchmarkResult;
/**
* Only outputs non-empty strings to console.
*
* @param str
*
* @internal
*/
export declare const outputString: (str: string) => false | void;
//# sourceMappingURL=benchmark.d.ts.map