Apply KRM functions in batches #5673
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
Eschewed features
What would you like to have added?
Following the suggestion in #5173 we have implemented our own resource transformers. While this generally works we have run into a performance issue where for a big enough target each transformer takes maybe a second or two to process. Now this alone wouldn't be that bad but each additional transformer impacts the runtime linearly. This leads to cases where the time spent applying the transformers is the majority of the whole build.
Why is this needed?
Piping the complete input/output for each KRM function separately is inefficient and makes builds very slow for big enough targets.
Can you accomplish the motivating task without this feature, and if so, how?
One possible workaround is to have all transformations inside a single transformer file. However, this makes the transformers hard to use as you have to treat them with special care.
What other solutions have you considered?
A workaround has been described above.
Anything else we should know?
No response
Feature ownership
The text was updated successfully, but these errors were encountered: