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

Use separate YAML types from internal types for KB templates #759

Open
gordon-klotho opened this issue Oct 19, 2023 · 0 comments
Open

Use separate YAML types from internal types for KB templates #759

gordon-klotho opened this issue Oct 19, 2023 · 0 comments
Labels
performance Performance (runtime, memory, etc) improvements

Comments

@gordon-klotho
Copy link
Contributor

This would allow us to:

  • Parse templates only once (~28% of our runtime is in Parse+Execute of templates - not all of that would get reclaimed, but a decent amount)
  • Clearer on YAML-side what fields are relevant in different context (in particular, things like OperationalRule which is shared in ResourceTemplate and EdgeTemplate but support slightly different fields).
@gordon-klotho gordon-klotho added the performance Performance (runtime, memory, etc) improvements label Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance (runtime, memory, etc) improvements
Projects
None yet
Development

No branches or pull requests

1 participant