Most of the time, bpf-loader work as a library to load eBPF program. It will not affect eBPF program after the program has been loaded and attached.
TODO: add more benchmark results
benchmark for loading with exporter
Take opensnoop from bcc/libbpf-tools as an example. starting with BCC, you will need about 0.8s to start the exporter and attach to the probe. With out implement, you only need about
50-70ms which is significantly faster.
The memory usage and CPU usage is also low. see eunomia-exporter for more details.