3 ms·
It would be nice to provide some benchmarks comparing it to Zod, arktype, etc. Comparing it across different runtimes (Node.js, Bun, web browsers, etc.) would b
by gr4vityWall 1y ago
It would be nice to provide some benchmarks comparing it to Zod, arktype, etc.
Comparing it across different runtimes (Node.js, Bun, web browsers, etc.) would be great, too.
- nayajunimesh 1y agoHey, I did some benchmarks if you're interested - benchmarks results are in the README.md. https://github.com/nimeshnayaju/zod https://github.com/nimeshnayaju/zod (Fork of Zod's repo which already included benchmarks comparing Zod 4 against Zod 3, so I simply integrated my validation library) https://github.com/nimeshnayaju/valibot-benchmarks https://github.com/nimeshnayaju/valibot-benchmarks (An unofficial benchmark from another user comparing Valibot against Zod)
- gr4vityWall 1y agoThanks, I appreciate that you added them. :) They show a lot of potential and promising results. Any guess why Valley is slower for parsing objects with primitive values?