From 53ea8fb2a7769efc04fdf9be3114af7cd1998138 Mon Sep 17 00:00:00 2001 From: "minke.yu" Date: Fri, 9 Oct 2026 17:02:23 +0800 Subject: [PATCH] =?UTF-8?q?report:=20=E5=A2=9E=E5=8A=A0=20input=20tps=20?= =?UTF-8?q?=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/b300-ds41/bench_suite_v2.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/deploy/b300-ds41/bench_suite_v2.sh b/deploy/b300-ds41/bench_suite_v2.sh index fc1cab3017..5b5d703cb6 100644 --- a/deploy/b300-ds41/bench_suite_v2.sh +++ b/deploy/b300-ds41/bench_suite_v2.sh @@ -176,13 +176,14 @@ EOF cmd_report() { local log=${1:?log required} awk ' - /START:/ { name=$4; sub(/:$/, "", name); tps=""; tpot=""; ttft=""; acc="" } + /START:/ { name=$4; sub(/:$/, "", name); tps=""; itps=""; tpot=""; ttft=""; acc="" } + /Input token throughput/ { itps=$NF } /Output token throughput/ { tps=$NF } /Mean TPOT/ { tpot=$NF } /Mean TTFT/ { ttft=$NF } /[Aa]ccept/ { acc=$0; gsub(/^ +/, "", acc) } /END\(exit/ { - line=sprintf("%-22s out_tps=%-10s tpot_ms=%-8s ttft_ms=%-8s", name, tps, tpot, ttft) + line=sprintf("%-22s in_tps=%-10s out_tps=%-10s tpot_ms=%-8s ttft_ms=%-8s", name, itps, tps, tpot, ttft) if (tps != "" && tpot != "" && tpot+0 > 0) line=line sprintf(" eff_concurrency=%.1f", tps * tpot / 1000) print line