-
Notifications
You must be signed in to change notification settings - Fork 218
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
Runtime cost calculation #494
Conversation
@cici37 Add any newly introduce go files to to the bazel files to appease cel-go-builder. |
042fa98
to
fcfb47d
Compare
Looks like I don't have permission to check cel-go-builder job detail. Is there any verification/script which I could use for checking? |
This looks good to me. As future work I'd like to start reducing the number of decorators we will need, but I see that as an optimization. @TristonianJones would you be willing to do a review pass? |
3245af6
to
0819e6f
Compare
6b564e4
to
002182a
Compare
/gcbrun |
/gcbrun |
1 similar comment
/gcbrun |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost there
/gcprun |
/gcbrun |
|
||
const ( | ||
// ContextCancelled indicates that the operation was cancelled in response to a Golang context cancellation. | ||
ContextCancelled CancellationCause = iota |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is currently not used. Please do a follow up to plumb through the error or remove it from this context.
} | ||
|
||
// TODO: Replace all usages of ExhaustiveEval with ExhaustiveEvalWrapper |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can remove this TODO since it's been replaced.
Introduce runtime cost calculation into CEL.
The work is part of this issue
The current PR includes:
Todo in following PR: