Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] add filter for "requires pre-compilation"? #1275

Open
acao opened this issue Jul 30, 2024 · 2 comments
Open

[Enhancement] add filter for "requires pre-compilation"? #1275

acao opened this issue Jul 30, 2024 · 2 comments

Comments

@acao
Copy link

acao commented Jul 30, 2024

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!

@DZakh
Copy link
Contributor

DZakh commented Sep 14, 2024

The fastest is https://github.com/DZakh/rescript-schema

@hoeck
Copy link
Collaborator

hoeck commented Sep 14, 2024

@acao we already had the idea to add a tag system to provide additional information for each library: #1126

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants