CICD-452 · Tokens-per-second benchmarking
Encyclopedia · GPU and inference infrastructure · All snippets
Previous · CICD-451 · Next · CICD-453
1. Where it fits
- Placement CI benchmark report step.
- Prerequisites dedicated GPU lab, approved images and model revision, fixed benchmark profile.
- Platforms local-linux, github-actions, gitea-actions.
2. Copy the snippet
bash
jq -e '{output_tps:.output_throughput,successful_requests:.completed} | select(.output_tps > 0 and .successful_requests > 0)' ttft.json3. How it works
The report reads output throughput and completed requests. Compare wall-clock output tokens per second at equivalent request rates and completion counts.
4. Verify the result
Report output tokens per wall-clock second separately from request rate and total input-plus-output throughput.
Validation version-dependent (Bash parse). Status definitions.