Joanne Koong <joannekoong@xxxxxx> writes: > Add benchmark to measure the overhead of the bpf_for_each call > for a specified number of iterations. > > Testing this on qemu on my dev machine on 1 thread, the data is > as follows: Absolute numbers from some random dev machine are not terribly useful; others have no way of replicating your tests. A more meaningful benchmark would need a baseline to compare to; in this case I guess that would be a regular loop? Do you have any numbers comparing the callback to just looping? -Toke