latency

command
v0.3.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

latency — TCP round-trip latency, written with the Debuglet Go SDK.

Opens one TCP connection per round trip to -addr, sends -probe, waits for the first reply bytes and reports the elapsed time. The target must answer with at least one byte; a line-oriented echo service is enough.

Build and run:

make wasm SAMPLE_DIR=examples/debuglets/go/latency
dbl run --wasm examples/debuglets/go/latency/debuglet.wasm \
  --executor EXECUTOR_ID --allow 127.0.0.1 --wait -- -addr 127.0.0.1:8080 -count 3

The destination must be in the job's --allow list; a destination outside it ends the job without debuglet output past the connect line.

Directories

Path Synopsis
latency measures nonce-matched UDP echoes.
latency measures nonce-matched UDP echoes.

Jump to

Keyboard shortcuts

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