Honey Potion keeps benchmarks in the benchmarks folder. As it stands, we have a few examples from BPFabric and IOVisor. Some of those are already implemented into Honey Potion, namely HelloWorld, CountSysCalls, ForceKill, TrafficCount and DropUDP. You could imagine the benchmarks folder as an eventual "Target".
Currently we are seeking for more benchmarks that have a real-world usage and that are simple. As an example, CountSysCalls Counts system calls (and prints), but doesn't do anything else with it, as it's objective is solely one functionality of what could be a useful full program.
These benchmarks should follow the same convention as the others:
/bench_name/
|_ Makefile
|_ README.md
|_ prog.bpf.c
|_ prog.c
|_ prog.h (Optional)
If you have ideas for benchmarks, but aren't sure if it's worth implementing or adding, feel free to comment on this issue!
Honey Potion keeps benchmarks in the
benchmarksfolder. As it stands, we have a few examples from BPFabric and IOVisor. Some of those are already implemented into Honey Potion, namelyHelloWorld,CountSysCalls,ForceKill,TrafficCountandDropUDP. You could imagine thebenchmarksfolder as an eventual "Target".Currently we are seeking for more benchmarks that have a real-world usage and that are simple. As an example,
CountSysCallsCounts system calls (and prints), but doesn't do anything else with it, as it's objective is solely one functionality of what could be a useful full program.These benchmarks should follow the same convention as the others:
If you have ideas for benchmarks, but aren't sure if it's worth implementing or adding, feel free to comment on this issue!