22 December 2025 • 13 min read

An introduction to LLM inference metrics like TTFT, ITL, and output TPS, and a walkthrough on building a minimal inference benchmarking script from scratch.

Whether you’re interested in reducing the environmental impact of large language models (LLMs), increasing their usefulness, or reducing the cost of serving them, performance engineering of LLM systems is integral. By improving the performance of the system, you can get the same output with a reduced hardware / energy / time budget, or increase the output given a fixed budget. However, to engineer an LLM system for performance, you first need to know how to benchmark the system to measure the performance before and after any modification. In this post, I’ll dive into the key metrics used for bench…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help