UNPKG

@codspeed/tinybench-plugin

Version:

tinybench compatibility layer for CodSpeed

12 lines (9 loc) 416 B
import { SetupInstrumentsRequestBody, SetupInstrumentsResponse } from '@codspeed/core'; import { Bench } from 'tinybench'; declare function withCodSpeed(bench: Bench): Bench; /** * Dynamically setup the CodSpeed instruments. */ declare function setupInstruments(body: SetupInstrumentsRequestBody): Promise<SetupInstrumentsResponse>; export { setupInstruments, withCodSpeed }; //# sourceMappingURL=index.d.ts.map