Quick Start
Not sure which tool fits? Which Tool Do I Need answers that in a minute.
Download Inspect for your platform from Download, verify its archive checksum and extract it. The examples below use ./bitspeed-inspect; on Windows use bitspeed-inspect.exe.
./bitspeed-inspect --version
./bitspeed-inspect record --samples=3 --timeout=10s https://example.org/ > run.json
./bitspeed-inspect explain run.json
./bitspeed-inspect explain --format=json run.json
A failed request can still produce useful partial JSON. record exits nonzero when samples fail or the batch is cancelled. Explaining a valid failed recording can succeed. Review stderr and the saved outcome before treating a recording as complete.
To compare a change, collect a second recording of the same target with the same request settings. Replace the URL with a target you intend to access.
./bitspeed-inspect record --samples=3 --timeout=10s https://example.org/ > after.json
./bitspeed-inspect compare run.json after.json
./bitspeed-inspect compare --format=json run.json after.json
A verdict may be inconclusive. Changed payloads, failures, missing events, small groups and overlapping observed ranges can limit the conclusion. An equal median does not prove unchanged performance.
For a controlled local exercise, run ./bitspeed-inspect fixture in another terminal. It prints a loopback address. Append /headers, /body, /redirect, /empty, /disconnect or /timeout to try delayed headers, a streamed body and deliberate failures. The repository also contains a reproducible before and after demo with saved recordings. Its fixture timings are demonstrations, not a network benchmark.
Query values and fragments are redacted in saved URLs. Hostnames, paths and location labels can still be private. Review recordings before sharing them. See the Inspect guide for measurement limits. Transfer has its own delivery guide and platform limits.
For Transfer 0.5.0, choose a supported Linux, macOS or Windows archive, verify its checksum and extract it separately. Use a trusted working directory, enough disk space and a stable source during preparation. Create a private token file, then run the receiver in one terminal:
python3 - <<'PYTOKEN'
import os, secrets
fd = os.open('token', os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0o600)
os.write(fd, (secrets.token_hex(32) + '\n').encode())
os.close(fd)
PYTOKEN
./bitspeed-transfer serve --root=receiver --token-file=token --listen=127.0.0.1:8080
In another terminal in that working directory, prepare a quiescent source file. Read manifest.transfer_id from the returned JSON and use that exact value in place of TRANSFER_ID:
./bitspeed-transfer send --prepare-only --source=/path/to/stable-file --spool=sender
./bitspeed-transfer send --spool=sender --reuse=TRANSFER_ID --url=http://127.0.0.1:8080 --token-file=token
./bitspeed-transfer status --url=http://127.0.0.1:8080 --id=TRANSFER_ID --token-file=token
Send prints progress to stderr: how many chunks the receiver already has, then a line per percent sent, then a line before the receiver publishes the file. The JSON result stays on stdout. To resume interrupted work, restart serve with the same receiver root and token, then repeat send with the same spool and ID. Verified chunks are skipped. A completed receipt identifies receiver/files/TRANSFER_ID.data; confirm its full-file digest against the receipt. Send saves receipt.json in the sender session before reporting transferred true. The original source is unnecessary after preparation. Send –upload-only stages chunks and reports transferred false. Send keeps four chunk uploads in flight; add --parallel=1 to send one at a time or up to --parallel=8. To send a folder, give its path as --source, send as above, then run ./bitspeed-transfer unpack --root=receiver --id=TRANSFER_ID --out=received to write it out on the receiver.
The loopback example is local. Off-machine use requires a certificate/key on serve and normal certificate trust on the client; there is no insecure mode. Read the authenticated receiver guide before deployment. Three-copy receiver reservations and the sender snapshot need extra disk space. No automatic cleanup runs. With the receiver stopped, ./bitspeed-transfer clean --root=receiver removes the chunks of completed transfers and keeps everything else; see the Transfer guide. Follow the offline retention procedure before removing anything by hand. On Windows, run the same commands with bitspeed-transfer.exe from PowerShell, keep the token file and root under your profile, and see the Transfer guide for the Windows requirements.