3 ms·
Zod is the default validator for https://github.com/gajus/slonik https://github.com/gajus/slonik. Zod alone accounts for a significant portion of the CPU time.
by gajus 1y ago
Zod is the default validator for https://github.com/gajus/slonik https://github.com/gajus/slonik.
Zod alone accounts for a significant portion of the CPU time.
- BoorishBears 1y ago> In the context of the network overhead, validation accounts for a tiny amount of the total execution time. > Just to give an idea, in our sample of data, it takes sub 0.1ms to validate 1 row, ~3ms to validate 1,000 and ~25ms to validate 100,000 rows.