UNPKG

@c4312/matcha

Version:

A caffeine driven, simple command line for benchmarking

12 lines (11 loc) 411 B
/// <reference types="node" /> import { Benchmark, IReporter, IReporterFactory } from '.'; export declare const jsonSummaryFactory: IReporterFactory; export declare class JsonSummaryReporter implements IReporter { private readonly out; private readonly results; constructor(out: NodeJS.WriteStream); onStartCycle(): void; onFinishCycle(newResult: Benchmark): void; onComplete(): void; }