Z
Zod2mo ago
Steve

Steve - How much overhead does Zod have? How pe...

How much overhead does Zod have? How performant is it actually?
2 Replies
Scott Trinh
Scott Trinh2mo ago
relative to not checking at all? depends on the schema type but it absolutely is not free
Scott Trinh
Scott Trinh2mo ago
You can run the benchmarks (and design your own hypotheticals) (see https://github.com/colinhacks/zod/blob/3032e240a0c227692bb96eedf240ed493c53f54c/package.json#L96)
GitHub
zod/package.json at 3032e240a0c227692bb96eedf240ed493c53f54c · coli...
TypeScript-first schema validation with static type inference - colinhacks/zod
Want results from more Discord servers?
Add your server