Replies: 1 comment 2 replies
-
Performance can be quite varied based on how you write your CUE. There are small test cases which are known to have overly long runtimes. Performance has improved, but there is more to do. You can filter the issues by the In the meantime, there are things that can be done to improve performance. I have found reducing choices for the evaluator (like conjunctions and disjunctions) and "unrolling" various constructs can make large differences, depending on the CUE. Do you have a link to the code you can share? It can be a lot easier to point these out potential changes if so. |
Beta Was this translation helpful? Give feedback.
-
I'm currently loading around 350~ CUE files that on disk are a few kb each (1.5mb total). They're organised into packages and then those packages are included by a root cue file.
The structure looks like this:
However it takes 15-20s to run
cue export
and uses a fair amount of CPU/RAM:I have no idea of what to expect of CUE's performance when loading many small files, is this normal? Or could I be doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions