UNPKG

@c4312/matcha

Version:

A caffeine driven, simple command line for benchmarking

22 lines 491 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * A reporter that writes nothing but simply * collects benchmarks that can be read later. */ class GatherReporter { constructor() { this.results = []; } onStartCycle() { // no-op } onFinishCycle(benchmark) { this.results.push(benchmark); } onComplete() { // no-op } } exports.GatherReporter = GatherReporter; //# sourceMappingURL=gather.js.map