Open BasixKOR opened 2 years ago
Thanks for the tip @BasixKOR!
We have benchmarks for @marcj/marshal
(which is from the same author as Deepkit).
The link to @marcj/marshal
repo seems to redirect to Deepkit now too.
Wondering if it is now part of the project or is it a separate project?
@marcj could you please add your thoughts. Thanks!
Marshal was the foundation of Deepkit, so the repo was renamed. Its functionality with the same JIT technique is now in deepkit/type, but instead of being based on classes with TypeScript decorators, it's now based on runtime TypeScript types. The refactor is relatively new, so I expect a slight decrease in performance.
Sounds like we probably want to keep both @marcj/marshal
and deepkit for now?
@BasixKOR would you be able to contribute a PR for this?
I'm definitely interested, but I wasn't sure where should I put @deepkit/type-compiler
for benchmarking (more specifically whether does it impact other benchmarks)
@hoeck is the Chief Classifier in this repo, maybe he can pitch in with his thoughts? 😁
As a part of the Deepkit framework they provide a runtime type implementation documented here: https://deepkit.io/documentation/type