search for standard sites pub-search.waow.tech
search zig blog atproto
0

Configure Feed

Select the types of activity you want to include in your feed.

scripts(latency): widen summary columns, refresh percentile-reset note

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

+6 -6
+6 -6
scripts/latency
··· 20 20 scripts/latency --plain # no ANSI (pipe/paste friendly) 21 21 scripts/latency --backend http://... # point elsewhere 22 22 23 - Note: lifetime /stats percentiles persist across restarts and still carry 24 - the 2026-06-10 outage tail (p99 in MINUTES); the hourly series is the 25 - honest view of now. 23 + Note: lifetime /stats percentiles persist across restarts (reset 24 + 2026-06-12 when the endpoint registry grew); the hourly series is the 25 + view of "now", the summary is the long arc. 26 26 """ 27 27 28 28 import argparse ··· 129 129 def ms(v: float) -> str: 130 130 return f"{v:,.0f}ms" 131 131 132 - print(f"{'endpoint':<18}{'count':>8}{'p50':>10}{'p95':>12}{'p99':>14}{'max':>14}") 132 + print(f"{'endpoint':<26}{'count':>8}{'p50':>10}{'p95':>12}{'p99':>14}{'max':>14}") 133 133 for n in names: 134 134 t = timing[n] 135 - print(f"{n:<18}{t['count']:>8}{ms(t['p50_ms']):>10}{ms(t['p95_ms']):>12}{ms(t['p99_ms']):>14}{ms(t['max_ms']):>14}") 136 - print("\n(lifetime, persisted across restarts — includes 2026-06-10 outage tail)") 135 + print(f"{n:<26}{t['count']:>8}{ms(t['p50_ms']):>10}{ms(t['p95_ms']):>12}{ms(t['p99_ms']):>14}{ms(t['max_ms']):>14}") 136 + print("\n(lifetime since 2026-06-12 — percentile history reset when the endpoint registry grew)") 137 137 138 138 plt.clear_figure() 139 139 plt.theme("pro")