moltar / typescript-runtime-type-benchmarks

📊 Benchmark Comparison of Packages with Runtime Validation and TypeScript Support
https://moltar.github.io/typescript-runtime-type-benchmarks/
624 stars 59 forks source link

Packages matrix #824

Open moltar opened 2 years ago

moltar commented 2 years ago

Create a table / matrix for each package and features it supports.

hoeck commented 2 years ago

Could generate that table as part of the benchmark runs and also add it it as filter checkboxes to the interactive graph.

Any ideas on which features are relevant? I'd like to see "uses eval / new Function", "strict validation mode", "safe validation mode", "parsing / transforming".

moltar commented 2 years ago

Yeah, that list is pretty much what I was thinking. Maps well to your solution with splitting the suites.

I am also interested in "JSON Schema support", but this is not really a big deal, if it doesn't fit in the model described above.

hoeck commented 2 years ago

Yeah, that list is pretty much what I was thinking. Maps well to your solution with splitting the suites.

I am also interested in "JSON Schema support", but this is not really a big deal, if it doesn't fit in the model described above.

Yes that definitely fits in, should that be two checkboxes, "Creates JSON Schema from types" and "Creates types from JSON Schema"?

In addition I'd like to add the number of dependencies (:thinking: that could be even scripted using the npm api via libnpm), maybe the time of its last release and typescript version too.