@dapplion/benchmark
Version:
Ensures that new code does not introduce performance regressions with CI. Tracks:
15 lines • 524 B
TypeScript
import { BenchmarkResult, BenchmarkOpts } from "../types";
/**t
* Map of results by root suie.
* Before running mocha, you must register the root suite here
*/
export declare const resultsByRootSuite: WeakMap<Mocha.Suite, Map<string, BenchmarkResult>>;
/**
* Global opts from CLI
*/
export declare const optsByRootSuite: WeakMap<Mocha.Suite, BenchmarkOpts>;
/**
* Map to persist options set in describe blocks
*/
export declare const optsMap: Map<Mocha.Suite, BenchmarkOpts>;
//# sourceMappingURL=globalState.d.ts.map