Skip to content

Any benchmark of using ebpf map hash / array type from golang? is it fast? #624

Answered by lmb
hiqsociety asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, there should be some basic benchmarks mixed in with the tests. Feel free to take a look.

The library doesn't use cgo for syscalls, so it's probably going to be as fast as it will get. For simple map types like arrays syscall overhead will dominate the total time.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@hiqsociety
Comment options

@lmb
Comment options

Answer selected by florianl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants