MCPcopy
hub / github.com/colinhacks/zod / BenchWithDataParams

Interface BenchWithDataParams

packages/bench/metabench.ts:29–34  ·  packages/bench/metabench.ts::BenchWithDataParams

Source from the content-addressed store, hash-verified

27}
28
29interface BenchWithDataParams<D> {
30 name: string;
31 data: () => D;
32 batch?: number | null;
33 benchmarks?: Benchmarks<D>;
34}
35
36export function benchWithData<D>(params: BenchWithDataParams<D> & ThisType<{ data: D }>): Metabench<D> {
37 const bench = metabench(params.name);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected