typescript-runtime-type-benchmarks
typescript-runtime-type-benchmarks copied to clipboard
[Enhancement] add filter for "requires pre-compilation"?
This is a wonderful resource, it would be cool to see which of these libraries and modes of usage require preliminary compilation before runtime usage - for example, via a codegen step and/or a compiler or bundler plugin. Every time I have checked on these benchmarks, this is ultimately what I want to know - which is the fastest that doesnt require pre-compilation, and I imagine I'm not the only one. From what I can tell, that would mean ajv would be fastest (because it's working from static JSON) and @badrap/valita as 2nd as per the latest stats as a dynamic runtime parser.
I would happy to create a PR and look up this information if you're interested!
The fastest is https://github.com/DZakh/rescript-schema
@acao we already had the idea to add a tag system to provide additional information for each library: #1126