Measures the (tree shaken) size of a schema and validation defined with each library.
This will have a direct correlation with download time.
| Library | Version | Downloads (/wk) | Uncompressed | Gzipped | Time | ||
|---|---|---|---|---|---|---|---|
@railway-ts/pipelines | 0.1.29 | 81 | 4.03 KB | 1.52 KB | 2 ms | ||
typia | 12.0.2 | 287.74K | 7.71 KB | 1.65 KB | 2 ms | ||
superstruct | 2.0.2 | 4.47M | 4.79 KB | 1.9 KB | 3 ms | ||
valibot | 1.3.1 | 9.22M | 6.18 KB | 1.91 KB | 3 ms | ||
decoders | 2.9.3 | 41.68K | 7.98 KB | 3.08 KB | 4 ms | ||
io-ts | 2.2.22 | 2.94M | 12.23 KB | 3.51 KB | 5 ms | ||
runtypes | 7.0.4 | 311.5K | 15.22 KB | 4.68 KB | 6 ms | ||
zod/mini | 4.3.6 | 162.73M | 15.11 KB | 4.9 KB | 7 ms | ||
sury | 11.0.0-alpha.4 | 183.21K | 21.53 KB | 8.07 KB | 11 ms | ||
sury (compile) | 11.0.0-alpha.4 | 183.21K | 21.98 KB | 8.24 KB | 11 ms | ||
typebox (schema) | 1.1.34 | 3.24M | 42.94 KB | 12.53 KB | 17 ms | ||
zod/v3 | 4.3.6 | 162.73M | 55.6 KB | 12.63 KB | 17 ms | ||
yup | 1.7.1 | 10.79M | 41.13 KB | 12.78 KB | 17 ms | ||
zod/v3 (default) | 4.3.6 | 162.73M | 58.53 KB | 13.72 KB | 19 ms | ||
zod | 4.3.6 | 162.73M | 61.42 KB | 16.57 KB | 23 ms | ||
typebox (schema + compile) | 1.1.34 | 3.24M | 58.91 KB | 17.03 KB | 23 ms | ||
@sapphire/shapeshift | 4.0.0 | 795.28K | 74.67 KB | 17.63 KB | 24 ms | ||
effect@beta | 4.0.0-beta.57 | 12.77M | 56.67 KB | 18.38 KB | 25 ms | ||
typebox (namespace) | 1.1.34 | 3.24M | 91.47 KB | 25.34 KB | 35 ms | ||
ata-validator | 0.12.1 | 740 | 122.05 KB | 27.22 KB | 37 ms | ||
typebox | 1.1.34 | 3.24M | 118.53 KB | 31.07 KB | 42 ms | ||
typebox (namespace + compile) | 1.1.34 | 3.24M | 112.55 KB | 31.1 KB | 42 ms | ||
typebox (compile) | 1.1.34 | 3.24M | 139.02 KB | 36.62 KB | 50 ms | ||
ajv | 8.20.0 | 291.13M | 135.21 KB | 38 KB | 52 ms | ||
arktype | 2.2.0 | 824.7K | 149.01 KB | 44.58 KB | 61 ms | ||
joi | 18.1.2 | 19.33M | 170.14 KB | 52.79 KB | 72 ms | ||
effect | 3.21.2 | 12.77M | 183.51 KB | 55.48 KB | 76 ms | ||
zod (default) | 4.3.6 | 162.73M | 255.76 KB | 58.05 KB | 79 ms |