-
Notifications
You must be signed in to change notification settings - Fork 287
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
evalv3: severe performance regression #3307
Comments
@gotwarlost thanks very much again for going to the effort of reducing the problem here, and for joining the dots to the original cause ( |
Interesting regression. Upon analysis, this evaluation does not result in a high number of core operation. A very low one indeed, actually. Some profiling is needed here. |
I must be holding something wrong but I don't see the perf improve when running the latest code from master.
|
Neither do I. Hence re-opening this issue, @mpvl. |
Yep, it was fixed briefly, but it turns out the fix was far too fragile. A better fix is in progress. Apologies. |
What version of CUE are you using (
cue version
)?Does this issue reproduce with the latest stable release?
Yes, but only with the new evaluator.
What did you do?
What did you expect to see?
Evaluation returning sub-second like the old evaluator.
What did you see instead?
Evaluation takes 16s for the files above. Adding more
[k,v]
fields can make this arbitrarily slow and not return.To be clear, on our large package
cue def --inline-imports .
(which is the command I started with) never returns.Even
cue eval
seems to have the same problem.The text was updated successfully, but these errors were encountered: