MCPcopy
hub / github.com/colinhacks/zod / safeparse.ts

File safeparse.ts

packages/bench/safeparse.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import * as z from "zod/v4";
2import { metabench } from "./metabench.js";
3
4const schema = z.object({

Callers

nothing calls this directly

Calls 7

metabenchFunction · 0.85
stringMethod · 0.80
booleanMethod · 0.80
numberMethod · 0.80
freezeMethod · 0.80
safeParseMethod · 0.65
runMethod · 0.65

Tested by

no test coverage detected