backdesk

backdesk Benchmarks: Method, Hardware, Latency and Host Isolation Run

One host isolation run was measured on one machine: 100 mixed operations against a test form, with a sentinel counting input events that the OS flags as injected. It found 0 injected keyboard events, 0 injected mouse events and no change to the host foreground window. No competitor comparison was run.

The same run in visible desktop mode (2026-12-01, apps on the user's desktop): 100 operations, 0 injected keyboard events, 0 injected mouse events, no host foreground change, p50 256 ms, p95 2257 ms (UI Automation set_text p50 2254 ms). Raw results are written to artifacts/bench/isolation-run-visible.json, which is not committed.

Machine

ItemValue
OSWindows 11 Home 26H2, build 10.0.26300.9974 (Insider-channel build), x64
CPU and memoryAMD Ryzen 7 5800X (8 cores), 32 GB RAM
Displaytwo 1920x1080 monitors at 96 DPI, both at non-negative coordinates
Toolchain.NET SDK 10.0.303; self-contained single-file win-x64 exe

Method

Results: Host Isolation

CounterResult
Operations100
Injected keyboard events seen by the sentinel0
Injected mouse events seen by the sentinel0
Messages to the sentinel window0
Host windows whose minimized state changed0
Host foreground changedno
Injected events counted after each operation type0 for all seven

Results: Latency (Milliseconds)

OperationSamplesp50p95
all operations100222.52206.8
observe1518.277.8
click15194.5223.4
type_text14269.9295.8
key14222.5237.2
scroll14193.7212.5
drag14250.3303.6
set_text142204.02217.1

set_text goes through UI Automation and takes about 2.2 s each time. That is what drives the overall p95. With 14 or 15 samples per operation, the p95 sits near the largest sample and is not a stable estimate. Treat these as one measurement, not a guarantee.

Idle Use

A daemon with one open session and one app, no viewer, over 60 seconds: 78 ms of CPU (0.13% of one core), 39.5 MB working set, 11 threads. The daemon captures nothing unless a client asks.

A Leak the Detector Found

During development the detector found a real leak: UI Automation SetValue called from a thread on your own desktop injected 2 keyboard events per call into the host. backdesk now runs UI Automation set_text and invoke on a thread joined to the agent desktop, and the later count was 0. This is why the detector exists. See recovery for other tested behavior.

Other Results on the Same Machine

Not Measured

Limitations, examples, compare.