Fetching from the wire…
Public story · 2026-08-30 · source-backed
Call z.compile() per schema or import "zod/compile" for global. Across a 55-schema benchmark the median is 2.4x, scaling with complexity: around 9x for a large array of objects and for a 20-key object, ~4.5x for a nested object, nothing for a bare z.string(). Schemas with async refinements or transforms are handed back unchanged instead of throwing. (Zod) The substantive r/programming objection (46 upvotes) is that shipping a 7KB compiler to the client to avoid a build step is the wrong tradeoff for projects that already have a build step, which is why it's opt-in.
Each link below shares sources, entities, or timing with this story.
Shared topic
Overlapping topics (back, benchmark, call, median).
Shared entity: Call / Earlier coverage
Both cover Call; earlier Call coverage from 2026-07-29.
Both cover Call; earlier Call coverage from 2026-05-24.
Shared topic / Tension
Overlapping topics (already, compiler); pushes against this story (but).
Overlapping topics (benchmark, call); pushes against this story (against).
Overlapping topics (call, schema); pushes against this story (against).
Overlapping topics (call, schema); pushes against this story (against).
Overlapping topics (around, benchmark); pushes against this story (but).