-
Notifications
You must be signed in to change notification settings - Fork 376
OPA: Allow prepare query optimisation via partial evaluation #3277
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
base: master
Are you sure you want to change the base?
Conversation
0cee1c3 to
d4dcf59
Compare
d4dcf59 to
a691b2e
Compare
Signed-off-by: Pushpalanka Jayawardhana <pushpalanka.jayawardhana@zalando.de>
58ec5ef to
8f8cd77
Compare
…th data. Signed-off-by: Pushpalanka Jayawardhana <pushpalanka.jayawardhana@zalando.de>
8f8cd77 to
02588ce
Compare
|
Benchmark results on commit 02588ce Observation: Carried out with With pre-evaluation-memprofile pre-eval-true-mem5.prof -cpuprofile pre-eval-true5.prof With pre-evaluation flag false-memprofile pre-eval-false-mem5.prof -cpuprofile pre-eval-false5.prof MemoryCPUProfiles attached. May be a test using a much larger data source via a bundle would provide more insights. Note: Also there may be outliers that consumed more resources when warming up, p99.9 values of the performance metrics needs to be considered for a closer view. |
17ee50e to
40ad541
Compare
4cfb402 to
d9321d5
Compare




This adds a command line flag that enables an optimisation of OPA policies before they are evaluated in the respective filters. This preparation optimises the policies for cpu at the expense of using more memory and uses a core OPA feature.
Missing: