4 ms·
OP, you could potentially leverage an existing benchmark suite: https://naruaway.github.io/valibot-benchmarks/ https://naruaway.github.io/valibot-benchmarks/
by CharlesW 1y ago
OP, you could potentially leverage an existing benchmark suite: https://naruaway.github.io/valibot-benchmarks/ https://naruaway.github.io/valibot-benchmarks/
- nayajunimesh 1y agoHey, thanks for the link! I was able to add the library to the benchmark quite easily. Here's the fork if you're interested: https://github.com/nimeshnayaju/valibot-benchmarks https://github.com/nimeshnayaju/valibot-benchmarks I have included the results I obtained from running the benchmark in the README.md. I'd love for you to also take a look at the changed code to see if I may have missed something with the integration. Curious to hear your feedback too!
- CharlesW 1y agoNicely done, and thanks for following up!
- nayajunimesh 1y agoThank you, this is quite helpful. Will take a detailed look very soon!
- typeofhuman 1y agoHow do you know you're tool is more performant?
- 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 suggested in another comment comparing Valibot against Zod)