run_bench_bpf_loop.sh (335B)
1#!/bin/bash 2# SPDX-License-Identifier: GPL-2.0 3 4source ./benchs/run_common.sh 5 6set -eufo pipefail 7 8for t in 1 4 8 12 16; do 9for i in 10 100 500 1000 5000 10000 50000 100000 500000 1000000; do 10subtitle "nr_loops: $i, nr_threads: $t" 11 summarize_ops "bpf_loop: " \ 12 "$($RUN_BENCH -p $t --nr_loops $i bpf-loop)" 13 printf "\n" 14done 15done