Closed OnkelTem closed 5 years ago
Hello @OnkelTem ,
For some reason Github did not send me an e-mail, I'm sorry I missed your issues. Schema validation is indeed pretty slow. Hence it can be skipped at runtime (you have a flag for that).
Going further, I'm sure MetaYaml would benefit from an architecture refactor. Sadly I'm short on time right now. Meanwhile, if you see any "quick win", feel free to post those on issues and that would be great 👍
I cannot say precisely why but MetaYaml is slow drastically. I know it's rather vague, but here is a sample output of an application which uses MetaYaml:
The app builds some dynamic YAMLs and validates them. Total run time is ~10s. Schemas validation takes ~95%.
Any chances it can be optimized?