benchmark
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.
$ ps -aux | grep eunomia
root 171562 0.0 0.0 15176 4576 pts/6 S+ 01:08 0:00 sudo ./eunomia-exporter
root 171605 0.1 0.0 350540 7740 pts/6 Sl+ 01:08 0:00 ./eunomia-exporter
The memory usage and CPU usage is also low.