Lines Matching +full:2 +full:- +full:9
2 # SPDX-License-Identifier: GPL-2.0
4 RUN_BENCH="sudo ./bench -w3 -d10 -a"
23 echo "$*" | sed -E "s/.*hits\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+M\/s).*/\1/"
28 echo "$*" | sed -E "s/.*drops\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+M\/s).*/\1/"
33 echo "$*" | sed -E "s/.*Percentage\s=\s+([0-9]+\.[0-9]+).*/\1/"
38 echo -n "throughput: "
39 echo -n "$*" | sed -E "s/.*throughput\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+\sM\sops\/s).*/\1/"
40 echo -n -e ", latency: "
41 echo "$*" | sed -E "s/.*latency\s+([0-9]+\.[0-9]+\sns\/op).*/\1/"
46 echo -n "hits throughput: "
47 echo -n "$*" | sed -E "s/.* hits throughput\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+\sM\sops\/s).*/\1/"
48 echo -n -e ", hits latency: "
49 echo -n "$*" | sed -E "s/.* hits latency\s+([0-9]+\.[0-9]+\sns\/op).*/\1/"
50 echo -n ", important_hits throughput: "
51 …echo "$*" | sed -E "s/.*important_hits throughput\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+\sM\sops\/s).*…
56 echo "$*" | sed -E "s/.*total operations\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+M\/s).*/\1/"
62 summary=$(echo $2 | tail -n1)
63 printf "%-20s %s (drops %s)\n" "$bench" "$(hits $summary)" "$(drops $summary)"
69 summary=$(echo $2 | tail -n1)
70 printf "%-20s %s%%\n" "$bench" "$(percentage $summary)"
76 summary=$(echo $2 | tail -n1)
77 printf "%-20s %s\n" "$bench" "$(ops $summary)"
83 summary=$(echo $2 | tail -n1)
84 printf "%-20s %s\n" "$bench" "$(local_storage $summary)"
90 summary=$(echo $2 | tail -n1)
91 printf "%-20s %s\n" "$bench" "$(total $summary)"