demo: add tps suite
8a001b9344f19642e59b11d69496d22a4ceb6650
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
- Parent 1: 65af5ebe5507
bugabingas pi extensions
8a001b9344f19642e59b11d69496d22a4ceb6650
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
+47 / −6 text lines · 1 binary (striped old/new sizes in 64-byte units, not churn) · lines and sizes scale separately
new file mode 100644+22 / −0 text lines
title = "Tokens per second"extensions = [ "footer", "tps",]targets = [ "tps",]cols = 100rows = 28cwd = "."steps = [ ("wait", 5000), ("prompt", "Count from one to twelve, one item per line, then finish with: tokens streamed.", 18000), ("wait", 4000), ("prompt", "Reply with exactly eight short words about streaming token speed.", 14000), ("wait", 6000),]+25 / −6 text lines
Loaded through root [pi-ext](../../README.md).Loaded through root [pi-ext](../../README.md) package.None.- `session_start`: shows ` —/s` immediately.- `message_update`: live estimate from streamed chars / 4.- `agent_end`: final ` N.N/s` from assistant output tokens / elapsed seconds.- `session_start`: shows ` —/s`.- `agent_start`: starts timing; shows ` 0.0/s`.- `message_update`: estimates live TPS from streamed delta chars / 4.- Live updates are throttled to every 250 ms.- `agent_end`: shows final ` N.N/s` from assistant output tokens / elapsed seconds.- No assistant output token usage → returns to ` —/s`.new file mode 100644Binary size (old → new): 0 → 148520 bytes.