Skip to content
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

bpf: Remove Input interface and simply use bytes as the input. #9532

Merged
merged 0 commits into from
Oct 25, 2023

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Oct 14, 2023

bpf: Remove Input interface and simply use bytes as the input.

This removes the interface indirection from BPF evaluation, which is
a very hot path (runs for every application syscall for seccomp'd containers)
and simplifies the code in general.

            │   initial   │         hey_look_no_interfaces         │
            │   sec/op    │   sec/op     vs base                   │
Interpreter   26.31n ± 0%   21.12n ± 0%  -19.73% (p=0.000 n=21+20)

@copybara-service copybara-service bot added the exported Issue was exported automatically label Oct 14, 2023
@copybara-service copybara-service bot force-pushed the test/cl573364098 branch 9 times, most recently from 29147ea to d7f85f3 Compare October 24, 2023 23:01
@copybara-service copybara-service bot closed this Oct 25, 2023
@copybara-service copybara-service bot merged commit d497367 into master Oct 25, 2023
@copybara-service copybara-service bot deleted the test/cl573364098 branch October 25, 2023 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exported Issue was exported automatically
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants