8000 feat: Add flag for prepared events by simar7 · Pull Request #984 · aquasecurity/tracee · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: Add flag for prepared events #984

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

Merged
merged 6 commits into from
Sep 7, 2021

Conversation

simar7
Copy link
Member
@simar7 simar7 commented Sep 2, 2021

Adds a new flag --rego-enable-parsed-events which enables parsed events.

benchmark                                                              iter         time/iter    bytes alloc             allocs
---------                                                              ----         ---------    -----------             ------
BenchmarkEngineWithCodeInjectionSignature/rego-8                        100    12760.62 μs/op   5807573 B/op   123602 allocs/op
BenchmarkEngineWithCodeInjectionSignature/rego_+_prepared_events-8      100     8942.85 μs/op   6026101 B/op   112120 allocs/op
BenchmarkEngineWithCodeInjectionSignature/golang-8                      100      991.93 μs/op    441537 B/op     3004 allocs/op
BenchmarkEngineWithCodeInjectionSignature/golang_+_prepared_events-8    100      986.84 μs/op    445371 B/op     3011 allocs/op
BenchmarkEngineWithCodeInjectionSignature/wasm-8                        100    34173.33 μs/op   6380418 B/op   116519 allocs/op
BenchmarkEngineWithCodeInjectionSignature/wasm_+_prepared_events-8      100    32303.88 μs/op   6374508 B/op   116451 allocs/op

Signed-off-by: Simar simar@linux.com

@simar7 simar7 force-pushed the add-prepared-events branch from aed0686 to 14caa52 Compare September 3, 2021 00:10
@simar7 simar7 marked this pull request as ready for review September 3, 2021 00:11
@simar7 simar7 requested review from danielpacak and itaysk September 3, 2021 00:11
@simar7 simar7 self-assigned this Sep 3, 2021
Signed-off-by: Simar <simar@linux.com>
Signed-off-by: Simar <simar@linux.com>
@simar7 simar7 force-pushed the add-prepared-events branch from b85faee to 7b1146e Compare September 7, 2021 22:06
Signed-off-by: Simar <simar@linux.com>
@simar7 simar7 requested a review from danielpacak September 7, 2021 22:16
Copy link
Contributor
@danielpacak danielpacak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One last comment before we merge this one 🚀

Signed-off-by: Simar <simar@linux.com>
@simar7 simar7 merged commit b475949 into aquasecurity:main Sep 7, 2021
@simar7 simar7 deleted the add-prepared-events branch September 7, 2021 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0