UNPKG

@c4312/matcha

Version:

A caffeine driven, simple command line for benchmarking

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