diff options
| author | Feng Zhou <zhoufeng.zf@bytedance.com> | 2022-06-10 10:33:08 +0800 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2022-06-11 14:25:35 -0700 |
| commit | 89eda98428ce10f8df110d60aa934aa5c5170686 (patch) | |
| tree | 8974d99ea9ec8751d0ff50f257b5e5206e740208 /include/linux/workqueue_api.h | |
| parent | 54a9c3a42d92d2b0d4e0f64214ebbbfcf7fbfda8 (diff) | |
selftest/bpf/benchs: Add bpf_map benchmark
Add benchmark for hash_map to reproduce the worst case
that non-stop update when map's free is zero.
Just like this:
./run_bench_bpf_hashmap_full_update.sh
Setting up benchmark 'bpf-hashmap-ful-update'...
Benchmark 'bpf-hashmap-ful-update' started.
1:hash_map_full_perf 555830 events per sec
...
Signed-off-by: Feng Zhou <zhoufeng.zf@bytedance.com>
Link: https://lore.kernel.org/r/20220610023308.93798-3-zhoufeng.zf@bytedance.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions
