News for hackers. Stuff that matters.
Re:A lightweight TypeScript library for assertion-based runt... by nayajunimesh on Wednesday August 27, 2025 @05:09PM (#45045316)
Hey, I did some benchmarks if you're interested - benchmarks results are in the README.md.

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 (An unofficial benchmark from another user comparing Valibot against Zod)

Re:A lightweight TypeScript library for assertion-based runt... by gr4vityWall on Thursday August 28, 2025 @08:08AM (#45051167)
Thanks, 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?