Skip to content

Interpreter and tool measurements

Every cohort here has 30 validated samples, and percentiles are nearest-rank. Tier-wide latency, memory and capacity measurements are in tiers.md.

Interpreter execution

These samples come from one Linux x86_64 development host, through authenticated agent HTTP on loopback. Both sides use CPython 3.12.14 and the same pinned scientific wheels. The baseline launches a fresh Python process with NumPy, pandas and pyplot imported, measured directly at its supervisor without HTTP overhead, which favours the baseline. A fresh process has no kernel to reuse or restart, so those rows have no baseline. CPU and database checks ran on the same host; these are observations, not a capacity claim for a dedicated machine.

Operation Fresh process p50 / p90 ms Persistent kernel p50 / p90 ms
Trivial 1+1 1237.4 / 2428.3 13.1 / 30.7
PNG chart 1943.6 / 2733.0 435.8 / 559.0
First execution after reusing python() Unavailable 16.5 / 32.7
Restart and Jupyter-ready handshake Unavailable 3530.3 / 5345.8

Both p90 budgets hold: trivial execution below 50 ms, a chart below 1 second. The collector executes and validates every sample, with the same TCP_NODELAY setting as the real bootstrap.

The deployment cohort runs in the end-to-end suite, through the real control and edge. Its sandboxes request four default units (one CPU core, 2 GiB); the collector sets these explicitly, so the budgets are not attributed to an unspecified CPU quota. CI uploads every observation as interpreter-measurements and prints p50 and p90 in the job summary.

Operation n p50 ms p90 ms
First run after python() on a warm-template clone 30 5.8 6.2
Trivial 1+1, loopback 30 5.1 5.7
PNG chart, loopback 30 156.4 162.0
Restart and ready handshake, loopback 30 1621.3 1651.6

The first-run timer starts after python() opens the warmed kernel; it does not measure sandbox creation. With a single default unit instead of four, the trivial loopback p90 is 81.6 ms, over the 50 ms budget.

Native tools

The native deployment suite collects warm-template create-to-first-PNG samples for the desktop and the browser through the real control and edge, at four default units (one CPU core, 2 GiB). Browser time includes starting its local deterministic page server and rendering the page. CI uploads the report as native-tools-measurements and prints p50 and p90 in the job summary.

Operation n p50 ms p90 ms
Desktop warm create to first PNG 30 751.7 774.9
Browser warm create to rendered-page PNG 30 1859.6 2000.3

These are end-to-end observations, not local X11 or standalone Chromium timings. No absolute latency budget is set for native images. The same deployment case checks desktop input and noVNC, raw SSH wake and revocation, real Mountpoint and rclone reads and writes, a read-only refusal, browser CDP, chroot denial for ordinary commands, and both SDKs.

Startup by tool

Each timer starts before sandbox creation and ends at the first validated result, through the real control and edge, including routing and kernel startup. Thirty fresh sandboxes per tool:

Operation from sandbox creation n per collected tier Container p50 ms Container p90 ms Process p50 ms Process p90 ms
Python kernel to chart PNG 30 1661.3 1791.5 10903.2 11443.0
JavaScript kernel to chart PNG 30 742.6 796.2 7922.2 8042.6
Browser to rendered-page PNG 30 1721.1 1767.4 8949.9 9028.5
Desktop to screenshot PNG 30 739.6 846.3 8959.8 9056.8
SSH command and lease revocation 30 — — 8970.6 9006.4

PNG timers end after validating the first returned image. Browser timing includes its own HTTP page-server startup. SSH timing includes writing the marker file, creating the lease, running the real OpenSSH command, observing running state and revoking the lease; it ends before sandbox deletion. There is no container SSH cohort. Percentiles use nearest ranks 15 and 27 of each sorted thirty-sample cohort.

Images, templates and the native bundle are cached before timing. Each fresh process supervisor still verifies its bundle’s complete inventory. Both tiers request four default units; containers enforce one CPU core and 2 GiB, while process CPU and memory guarantees are off. The tiers run on separate hosted runners, and the process tier’s cohorts on three runners at once, each cohort whole on one; their report is joined only when the runners’ host facts agree. The process tier runs as an ordinary installed account on x86_64 with host glibc 2.39, Landlock ABI 8 and no engine access, driven through TypeScript, the CLI and both Python SDK modes over the HTTP-only edge.

On the container tier, the interpreter execution budgets hold in the same run: trivial p90 3.8 ms and chart p90 111.9 ms, with the clock points and limits of the deployment cohort above.

run it yourself
$curl -fsSL https://hbx.sh | sh
or ask your agent
Install Hermitbox and set it up for me
agents can read every page: llms.txt · llms-full.txt