The performance budget, explained
The methodology page is the formal contract: hardware named, network named, every measurement point stated. This page is the same contract, written as a budget an agent can fit inside a single reasoning step, with the variables that move a number up or down.
Every figure on this page is one the project publishes. The budget is what the agent's inner loop pays on every decision, on a real machine, on a real network, against a real desktop.
The hardware, named
The numbers are taken on a real 1920x1080 Windows desktop reached over a LAN. The agent host and the Windows desktop are two physical machines on the same LAN segment, not a single host running a virtual machine. The Windows desktop runs the stock Windows desktop at 1920x1080 with display scaling at 100 percent.
Network topology: the two machines sit on a single LAN segment with no proxy between the agent and the desktop. The connection travels over the protocol the operator chose, typically VNC, RDP or SSH, on the standard port for that protocol. The headline 19 ms figure is the LAN figure.
Protocol on the wire: the picture crosses the network using the VNC core that speaks RFB 3.3 through 3.8, the RDP core with NLA and the usual codecs, or the SSH core with a terminal that survives a drop. The MCP server inside DeskVNCViewer is the layer above. It hands the agent a windowed view of the picture the human operator sees, and sends clicks and keystrokes back over the same connection. The framebuffer never crosses a process boundary, which is why the inner loop stays at the speed the table below shows.
The numbers
Five numbers make up the budget. The unit and the measurement point for each are stated next to the number. The numbers are wall clock on the agent's side, which is the time the call actually costs an agent that is being charged per call by the model that drives it.
| Call | Result | Unit | Measurement point |
|---|---|---|---|
| one observe then act cycle | 19 | milliseconds | screen at scale 0.25, click, screen at damage crop |
| observe then act rate | about 52 | actions per second | reciprocal of the cycle time |
dvv_open and attach |
4 | milliseconds | wall clock from open to first screen ready |
dvv_control acquire |
under 1 | millisecond | wall clock of the acquire RPC |
dvv_screen at scale 0.25 |
25 | milliseconds | end to end, MCP dispatch to bytes returned |
dvv_type at wpm 12000 |
447 | characters per second | wall clock throughput of the type call |
Two notes on the table. The 19 ms cycle and the 25 ms dvv_screen figure share the same scale: 0.25 picture. The 25 ms is the first read; the second read on a quiet desktop is a smaller rectangle that costs less. The figures are warm: a cold dvv_open on a fresh session primes the mirror before the first dvv_screen, and the first one or two calls pay that priming cost.
The change that moves each number is the same shape. Scale moves the picture size, the picture size moves the wire, the wire moves the inner loop. dvv_control acquire does not read pixels. dvv_open and attach is mostly a protocol round trip and a lease handover. dvv_type throughput is bound by how fast the remote layout can accept the keys.
What changes the budget
Eight variables move the budget. Each is named below with the direction of the change.
WAN versus LAN. The 19 ms cycle is the LAN figure. On a WAN the round trip is no longer local: it is bounded by the link, and the picture bytes are bounded by the link's capacity. Whatever the link adds to the round trip, it adds to the cycle. The agent's inner loop is still a loop; it just runs at the rate the link supports.
Scale factor. The picture crosses the wire, and the picture is the load. scale: 0.25 returns a quarter scale picture at about 112 KB; scale: 0.5 returns about 448 KB; full scale returns 1.5 MB. The 25 ms dvv_screen figure is the quarter scale figure. Doubling the scale roughly doubles the screen read. The reflex is to start at scale: 0.25, raise the scale when the read needs small text, and drop back when the read is over.
Screen change rate. The damage crop is the rectangle that has changed since the previous frame. A quiet desktop returns a small rectangle. A desktop that is repainting returns a larger rectangle, and a desktop that is animating full screen returns a rectangle that is the whole picture. The second dvv_screen in the cycle reads that rectangle, so a moving screen makes the cycle slower and a quiet screen keeps the cycle at its published number.
Lease turnover. The 4 ms dvv_open and attach figure is the warm attach. The first dvv_open on a session, and the first dvv_control acquire that follows it, prime the mirror and pay for the prime. A loop that reopens on every decision pays the prime on every decision. A loop that holds the lease pays the prime once.
Generation fence hits. A click computed against a screen that has since resized is refused with GEOMETRY_CHANGED, and the click never lands. The refused click costs roughly the time of one acquire plus one screen read, because the next call is always a fresh dvv_screen against the new generation. The cycle is still a cycle; it is just two cycles instead of one for the same decision.
SCREEN_CHANGED hits. Typing and key calls are refused with SCREEN_CHANGED when something window sized has repainted since the last dvv_screen that returned pixels. The fix is a fresh dvv_screen, then the type or key. Asking for damage rectangles does not clear the fence, and dvv_status does not clear the fence either, because dvv_status reads no pixels. The number of SCREEN_CHANGED hits in a loop is a property of the desktop, not a property of the agent.
dvv_type throughput on a real desktop. The published 447 characters per second is the figure on a real Windows desktop, with the keys accepted as fast as the remote layout can take them. A desktop that is heavily loaded, or a remote window that has lost focus, takes the keys more slowly. The published figure is what the protocol layer is willing to send; the figure a given session hits is what the desktop is willing to receive.
256 KB cap on get with no to. The dvv_files get action has two shapes. With a to argument, the file is written to an absolute path on the server machine and the agent's context never sees the bytes. Without a to argument, the content comes back as base64 inline, and the call refuses above 256 KB rather than truncating. The cap is a deliberate refusal: the right shape for a large file is the to shape.
How to measure the budget on your own machine
Four calls reproduce the budget end to end. The first is the readiness check. The second is the cheapest call in the manifest, confirming the limb is live without reading a pixel. The third is a single screen read with a wall clock printed around it. The fourth is the four-call loop from the installable agent skill, with timing printed on every call. Run the loop a few dozen times, take the median, and the median is your number.
# 1. readiness: what is wired, and the claude mcp add line
dvv doctor
# 2. status: no pixels, no lease, full observation object for the limb
dvv_status {"limbId": "L-build"}
# 3. a single screen read with wall clock around it
time dvv screen L-build --scale 0.25 --out ./dvv-screen.png
# 4. the four-call loop, with timing printed on every call
time dvv_open --hostId build-box-04 --perceive
time dvv_control --limbId L-build --action acquire
time dvv screen --limbId L-build --scale 0.25 --out ./dvv-screen.png
time dvv click --limbId L-build 700 400
time dvv screen --limbId L-build --form damage-crop --out ./dvv-after.pngTwo things to look for. The warm dvv_open on an already open session is the figure that should sit near 4 ms; the first on a fresh session primes the mirror and is slower by a measurable amount. The cycle time across the loop is the budget for your machine. Compare it to the published 19 ms. If your median is close, your environment is close. If your median is far, the variable that moved the number is one of the eight named above, and the section that names them tells you which one to look at first.
Read more
- The DeskVNC repository ships the Rust and Tauri client, the
dvvMCP server, the installable agent skill atskills/deskvnc, and the release binaries for Windows, macOS and Linux. - The methodology page is the formal contract this page is the readable version of.
- The loop page explains the architectural idea behind the inner loop and the generation fence.
- The
skills/deskvnc/SKILL.mdfile is the installable agent skill, with the fulldvvtool set and the four-call loop the agent runs. - The
docs/ARCHITECTURE.mdfile documents the crate layout and how the MCP server sits next to the protocol planes. - The DeskVNC releases page carries the signed macOS build, the signed Windows installer, and the Linux x86_64 tarball.