uiapimeasure

command
v1.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2026 License: MIT Imports: 23 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command uiapimeasure measures the UI API v0 terminal stream for scripts/ui-api-measure.sh: frames and bytes per second for a set of busy terminals, capture-pane commands per second (from a log the script's tmux wrapper writes), Sidecar and tmux CPU, and keystroke-to-echo latency on one more terminal. It prints one JSON summary per run.

Each terminal is its own WebSocket, as each <sidecar-terminal> on a page is. Busy terminals are view-only. The echo terminal takes control at the pane's current geometry (so nothing is resized), types one byte at a time into a pane running `cat`, and times each byte from the input request to the first frame that shows it.

Run it by naming the package explicitly:

go run ./internal/tools/uiapimeasure -url ws://127.0.0.1:PORT/api/v0/terminal -bearer TOKEN -busy S1,S2 -window 15s

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL