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 | 98 | 4.03 KB | 1.52 KB | 389 μs | ||
@sapphire/shapeshift | 4.0.0 | 812.32K | 74.67 KB | 17.63 KB | 5 ms | ||
ajv | 8.20.0 | 295.35M | 135.21 KB | 38 KB | 10 ms | ||
arktype | 2.2.0 | 833.25K | 149.01 KB | 44.58 KB | 11 ms | ||
ata-validator | 0.12.1 | 748 | 122.05 KB | 27.22 KB | 7 ms | ||
decoders | 2.9.3 | 44.56K | 7.98 KB | 3.08 KB | 788 μs | ||
effect | 3.21.2 | 12.89M | 183.51 KB | 55.48 KB | 14 ms | ||
effect@beta | 4.0.0-beta.59 | 12.89M | 56.67 KB | 18.38 KB | 5 ms | ||
io-ts | 2.2.22 | 3M | 12.23 KB | 3.51 KB | 898 μs | ||
joi | 18.1.2 | 19.41M | 170.14 KB | 52.79 KB | 14 ms | ||
runtypes | 7.0.4 | 306.88K | 15.22 KB | 4.68 KB | 1 ms | ||
superstruct | 2.0.2 | 4.49M | 4.79 KB | 1.9 KB | 486 μs | ||
sury | 11.0.0-alpha.4 | 180.31K | 21.53 KB | 8.07 KB | 2 ms | ||
sury (compile) | 11.0.0-alpha.4 | 180.31K | 21.98 KB | 8.24 KB | 2 ms | ||
typebox | 1.1.34 | 3.74M | 118.53 KB | 31.07 KB | 8 ms | ||
typebox (compile) | 1.1.34 | 3.74M | 139.02 KB | 36.62 KB | 9 ms | ||
typebox (namespace + compile) | 1.1.34 | 3.74M | 112.54 KB | 31.09 KB | 8 ms | ||
typebox (namespace) | 1.1.34 | 3.74M | 91.46 KB | 25.33 KB | 6 ms | ||
typebox (schema + compile) | 1.1.34 | 3.74M | 58.9 KB | 17.02 KB | 4 ms | ||
typebox (schema) | 1.1.34 | 3.74M | 42.93 KB | 12.52 KB | 3 ms | ||
typia | 12.0.2 | 291.57K | 7.71 KB | 1.65 KB | 423 μs | ||
valibot | 1.3.1 | 9.37M | 6.18 KB | 1.91 KB | 488 μs | ||
yup | 1.7.1 | 10.89M | 41.13 KB | 12.78 KB | 3 ms | ||
zod | 4.4.1 | 163.46M | 63.76 KB | 16.99 KB | 4 ms | ||
zod (default) | 4.4.1 | 163.46M | 268.42 KB | 60.8 KB | 16 ms | ||
zod/mini | 4.4.1 | 163.46M | 15.67 KB | 5.04 KB | 1 ms | ||
zod/v3 | 4.4.1 | 163.46M | 55.6 KB | 12.63 KB | 3 ms | ||
zod/v3 (default) | 4.4.1 | 163.46M | 58.53 KB | 13.72 KB | 4 ms |