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!
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!