src.nth.io/

summaryrefslogtreecommitdiff
path: root/sdkconfig.defaults
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2026-06-15 09:44:19 -0500
committerLuke Hoersten <[email protected]>2026-06-15 09:44:19 -0500
commite85b67b902e678b5c2517b656c1ca95435cf6aec (patch)
tree99a593398d92ad8347366b50e7ef236356b2f7a1 /sdkconfig.defaults
parent0ff5d03b760d726f6151cd5f3f23ef1a1039d319 (diff)
scrypted: per-fetch latency breakdown + p50/p95 windowed log
Replaces the single-sample "fetch #N: Xms" log with an aggregated window every 10 fetches showing where the wall-clock budget actually goes: fetch "kitchen" #10 (jpeg=147KB) wall p50=52ms p95=78ms | emit→post p50=0ms p95=14ms | req p50=51ms p95=76ms | body-read p50=0ms | inflight d0=4 d1=5 d2=1 | stale-drops=0 Buckets: - emit→post: ffmpeg pushed JPEG to stdout → fetch() actually called. Nonzero = inFlight queue was full, frame waited. - req: fetch() → Response headers (body upload + firmware ttfb + decode start + status line). - body-read: Response → drained. Should be ~0 (empty body responses). - wall: total of above three (matches the old single-sample number but with p95 visible). Plus inflight depth histogram (d0/d1/d2 = how many other POSTs were in flight when this frame queued) — d0 dominating means pipelining isn't doing anything; d1/d2 mass means real overlap. stale-drops counts X-Frame-Drop responses so we can see how often the firmware rejected an out-of-order pipelined frame.
Diffstat (limited to 'sdkconfig.defaults')
0 files changed, 0 insertions, 0 deletions