13 lines · bash
1#!/bin/bash2# SPDX-License-Identifier: GPL-2.03 4source ./benchs/run_common.sh5 6set -eufo pipefail7 8for s in 1 8 64 512 2048 4095; do9 for b in no-helper helper; do10 summarize ${b}-${s} "$($RUN_BENCH --cmp-str-len=$s strncmp-${b})"11 done12done13